1
votes

For notification mail in jmeter I was following the steps from https://www.blazemeter.com/blog/load-testing-your-email-server-how-send-and-receive-e-mails-jmeter.

But I was not able to get the result after executing the test. Please find the screen shot I have attached to know what all configuration I have done in the SMTP sampler.enter image description here

Please let me know what all I need to add here to make it run successfully.

1
Please share what is the error or the problem you face.Amr ElAdawy
the error is: Thread Name: tearDown Thread Group 1-2 Sample Start: 2017-03-14 11:54:42 IST Load time: 2834 Latency: 0 Size in bytes: 4 Headers size in bytes: 0 Body size in bytes: 4 Sample Count: 1 Error Count: 1 Response code: 500 Response message: AuthenticationFailedException: authentication failed - wrong username / password! javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 support.google.com/mail/?p=BadCredentials j14sm1178407itd.0 - gsmtp Response headers: SampleResult fields: ContentType: DataEncoding: nullUdita

1 Answers

0
votes

Assuming that this is your SMTP Request Sampler configuration:

enter image description here

According to Google SMTP Configuration instructions given you use port 587 you need to tick Use StartTLS radio button.

Alternatively you can change the port to 465 and tick Use SSL button.

I don't think Gmail will accept non-encrypted messages. Please read Load Testing Your Email Server: How to Send and Receive E-mails with JMeter once more and be more attentive as correct configuration is mentioned there:

Blazemeter JMeter Smtp Sampler Gmail correct configuration