jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Vlahovic <vlahovi...@gmail.com>
Subject Re: BEanshell Preprocessor?
Date Thu, 13 Nov 2014 17:13:41 GMT
Try:

test plan
     thread group
           beanshell sampler (add here your beanshell code)
           transaction controller
                 logic controller-include
                 sampler2...
                 sampler110

or
test plan
     thread group
           Test Action
                 beanshell preprocessor
           transaction controller
                 logic controller-include
                 sampler2...
                 sampler110


On Thu, Nov 13, 2014 at 12:08 PM, Britto C <brittobtech@gmail.com> wrote:

> If your need is to run the samplers 100+ times means, add a loop controller
> and and the sampler as a child inside the controller..
>
> No need for The beanshell preprocessor
>
> On Thursday, November 13, 2014, rxfillpharm <rxfillpharm@yahoo.com.invalid
> >
> wrote:
>
> > Hi,
> > we have code in a beanshell preprocessor  that is run for each sampler
> > (100)+ for each thread.
> > It only needs to be processed once for each thread just before the first
> > element in the thread.
> > My structure is:
> >
> > test plan
> >      beanshell preprocessor
> >      thread group
> >            transaction controller
> >                  logic controller-include
> >                  sampler2...
> >                  sampler110
> >
> > Where should the beanshell preprocessor be placed so that it is run only
> > once per thread (user)?
> > Is it a beanshell preprocessor that's needed or a different element?
> >
> > Thank you.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> <javascript:;>
> > For additional commands, e-mail: user-help@jmeter.apache.org
> > <javascript:;>
> >
> >
>
> --
> Sent from My iPhone
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message