Skip to main content
Buse Kaya
Software Test Enginner
Asked a question 4 months ago

Hello, I planned to create Test Plan in my JMeter like below Test Plan Thread Group HTTP Request Sampler 1 HTTP Request Sampler 2 HTTP Request Sampler 3 HTTP Request Sampler 4 HTTP Request Sampler 5 HTTP Request Sampler 6 HTTP Request Sampler 7 HTTP Request Sampler 8 If Controller condition ${__groovy(vars.get("JMeterThread.last_sample_ok").equals("false"),)} SMTP Sampler I would like to run the test 24/7. If one (or more) HTTP Request Sampler returns error for what ever reason, then execute the SMTP sampler and send email to me. I want to check the condition for every sampler 1-8. But now if HTTP Request Sampler 4 and HTTP Request Sampler 8 are failed, jmeter only sends email for HTTP Request Sampler 8. If none of the HTTP Request Sampler returns error , i want to send email to me. Please help. Thanks.

Please sign up to enjoy the full benefits of learning and sharing.

Earn QA Coins by participating in the discussion and asking questions.