On 14/10/2009, Ronan Klyne <[email protected]> wrote:
> Marco Pas wrote:
>
> > Do you use a standard HTTP Sampler for that? Great tip by the way!! Thanks
> a
> > lot!
> >
> >
>  I'd use a BSF sampler with no code - it'll do nothing and be very quick to
> run.

A Java Request sampler would be even quicker.

>
> > 2009/10/13 Ronan Klyne <[email protected]>
> >
> >
> >
> > > Marco Pas wrote:
> > >
> > >
> > >
> > > > Hi there, i was wondering if there is a way to stop a specific test
> and
> > > > logging this as an error to the logs?
> > > >
> > > > I can succesfully terminate a test with an if-controller but then the
> > > > tests stops and there is no logging done to a listener.
> > > > Can i somewho dump a message to a listener so i can see in the
> logfiles
> > > > that i aborted the test for a specific reason?
> > > >
> > > >  You can add a sampler with a name of "ERROR: ${error_reason}", and
> the
> > > >
> > > >
> > > variable 'error_reason' will be substituted in. I use this technique to
> > > record various snippets of information in the test logs so that I can
> check
> > > later that I'm looking at the right results set.
> > >
> > > Ronan
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to