[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-user
Subject:    RE: Threadgroup Loop Count
From:       "Musuvathy, Ashok" <Ashok.Musuvathy () gs ! com>
Date:       2007-11-28 18:47:57
Message-ID: 92DF157A152AFE499293DCDBCF81A10D09CE112E () gsmblnp01es ! firmwide ! corp ! gs ! com
[Download RAW message or body]

Thanks - Counted the lines and passed as property to the threadgroup
controller and that worked fine but I wanted to make the script do this
job.   I'll try the CSV Dataset.

Thanks ever so much for all your quick responses - can't beat this!

Cheers
Ash


-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Wednesday, November 28, 2007 6:41 PM
To: JMeter Users List
Subject: Re: Threadgroup Loop Count

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 <Ashok.Musuvathy@gs.com> 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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic