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]

Reply via email to