0
votes

How to configure the notification email in Jmeter script?, My Ideas is to implement the notification once test was start and end of the test.

In End of the test Aggregate report will send along with Notification mail, any one have idea about this?

Please check this screen shot which i configure is correct or it need any modification

Smtp sampler was executed but the i cannot get any email notification.please suggest me any modification is need.

1

1 Answers

0
votes

JMeter provides SMTP Sampler which you can use for sending the email notifications.

With regards to sending the report - I would suggest using tearDown Thread Group with 1 user and 1 loop for this. tearDown Thread Group will be executed after all other Thread Groups. Also make sure you have the following line added to user.properties file

jmeter.save.saveservice.autoflush=true

JMeter doesn't store all the results in the real time, it flushes them into .jtl results file periodically in chunks so above setting will allow you to ensure that the results file is complete.

See Load Testing Your Email Server: How to Send and Receive E-mails with JMeter article for more information on configuring JMeter for sending emails.