In that case, the Constant Throughput Timer is probably what you want.

See also:

http://jakarta.apache.org/jmeter/usermanual/best-practices.html#beanshell_server

for an example of how to use this to vary the throughput at run-time.

You can add a

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Duration_Assertion

to mark overlong responses as failed.

On 02/06/2009, Tony Lotts <tljme...@gmail.com> wrote:
> This is for validating how many users a single webservice app server can
>  support within a response time requirement, and the rate at which those
>  user's can send transactions.
>
>
>
>  On Mon, Jun 1, 2009 at 9:03 PM, sebb <seb...@gmail.com> wrote:
>
>  > On 01/06/2009, Tony Lotts <tljme...@gmail.com> wrote:
>  > >  I have created a timer which varies the delay based upon whether or not
>  > the
>  > >  response time of the previous transaction is > 2999 milliseconds.
>  >
>  > What are you trying to achieve here?
>  >
>  > >
>  > >  The solution that I have uses a beanshell timer, beanshell
>  > postprocessor,
>  > >  and beanshell assertion.
>  > >
>  > >  The beanshell timer returns the delay property set by the beanshell
>  > >  postprocessor.
>  > >
>  > >  The beanshell postprocessor evaluates the response time, and sets the
>  > delay
>  > >  property.
>  > >
>  > >  The beanshell assertion sets the delay to the assertion failure message.
>  > >
>  > >
>  > >  Does anyone have any ideas for a more elegant solution?
>  > >
>  >
>  > If you want to delay after the sampler, then you can do it in the
>  > BeanShell post-processor.
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>  >
>  >
>

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

Reply via email to