You might be able to pass a variable to a nested loop controller; I've not tried it.
Otherwise, count the lines before starting the test, and pass the count as a property. If you are counting the lines in order to stop the test when the file has been read to EOF, why not use the CSV Dataset Config element and set the "Stop thread on EOF?" option? On 28/11/2007, Musuvathy, Ashok <[EMAIL PROTECTED]> wrote: > I'm trying to set the threadgroup loop count based on the number of > lines in a file that gets passed as an argument (-Jinput_file=xyz.dat). > Tried a beanshell pre-processor for this but I guess it doesn't get > processed before the threadgroup node. > > Could someone suggest a way of achieving this ? > > Rgds > Ash > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

