The variable "JMeterThread.last_sample_ok" is set to "true" or "false"
after all assertions have been processed, so you could put
${__log(${JMeterThread.last_sample_ok},OUT)}
If you want something other than "true" and "false", you will need to
use JavaScript or BeanShell.
S.
On 25/04/06, Ziemerle, Andreas <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to do a simple action with jmeter but I can't find the way it
> works.
> My example looks like:
>
> http-request
> assertion
>
> If the assertion is failed I want to write 'text1' to std -Out
> ${__log(${text1},OUT)}
>
> In the other case I want to write 'text2' to std. out.
>
> Is there any way to do this?
>
> Greetings
> Andreas
>
> ---------------------------------------------------------------------
> 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]