Where have you put the duration assertions in relation to the samplers?

Which version of JMeter are you using?

S
On 6/30/05, Rabi Lahiri <[EMAIL PROTECTED]> wrote:
> Hi,
> I've looked through all the docs I could find and the mail archives
> and couldn't find an answer to this.  I have a subclass of HTTPSampler
> and need to implement timeouts for my requests.  I'm using the sampler
> with the following setup:
> 
> 500 threads
> 1 loop
> parameter "args" is _StringFromFile(args.txt)
> parameter "method" is _StringFromFile(methods.txt)
> 
> My service needs to pass args and method dynamically this way.
> args.txt and methods.txt are 500-line files which constitute the
> requests I need.  This works fine and I can test the results of each
> with response assertions, except that duration assertions don't work
> properly.  The duration assertion appears to be timing the whole set
> of 500 threads instead of each one individually, so as soon as the
> group time hits the assertion value every thread fails.  For example,
> let's say each call takes exactly 200 ms.  If I set the duration
> assertion to 1100ms, the first five responses succeed but all the rest
> fail.  I need to be able to set it up so that I can verify that no
> individual call takes more than, say, 250ms.  Is this possible?  If I
> need to make a code change, can it be done relatively simply?
> 
> thanks,
> Rabi Lahiri
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to