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

There's a sample you can try.

On 08/01/2008, icet <[EMAIL PROTECTED]> wrote:
>
> Yeah, I though of that. I'd rather a more simple approach, since I'm paving
> the way for non-programmers here to use jmeter as well. Anyway, if you have
> an idea on a BeanShell script, I'm all ears. Never used this in jmeter
> myself. I'd have to get the current sampler label (in my case this should be
> enough) and compare to a string. If you know how to do this, I'd appreciate
> the shortcut ;-P
>
>
> sebb-2-2 wrote:
> >
> > Just had a thought - if you are able to code in Java, you could use a
> > BeanShell Assertion.
> >
> > On 07/01/2008, icet <[EMAIL PROTECTED]> wrote:
> >>
> >> Yeah, that's the problem. I have dozens of those, mixedin with others.
> >> There
> >> is no way to group them without breaking their order :-(
> >>
> >>
> >> sebb-2-2 wrote:
> >> >
> >> > I don't think that's possible.
> >> >
> >> > Just add the assertion as a child of the "start" sampler.
> >> >
> >> > On 07/01/2008, icet <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> How can achieve this outcome? I can use a If controller, but how do I
> >> >> javascript access the sampler label?
> >> >>
> >> >> thanks
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14674427.html
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> 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]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14678936.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14679938.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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