Also have a look at the Mailer Visualiser:

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



On 13/03/07, chris <[EMAIL PROTECTED]> wrote:
download beanshell (does not come with jmeter) from this url:
http://www.beanshell.org/bsh-2.0b4.jar
put this jar-file in your ./lib-directory.

now you can use a beanshell assertion like this:

if (ResponseCode.equals("400") {
   //enter java code here to send email   (use e.g. java mail api)
}

it's that easy :)

cheers,
  chris


"Eliya" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
>
> Hi everyone,
>
> I want to make such a script that runs at scheduled time and send us an
> email or goto some URL if it gets a 400 response from server. Is there any
> way to do that in Jmeter.
>
> Hope you answer this question.
> --
> View this message in context:
> http://www.nabble.com/How-to-catch-response-in-Jmeter-tf3396902.html#a9457688
> 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