Wednesday, April 1, 2020

JMeter Send and Read email : SMTP Sampler




https://javaee.github.io/javamail/

Download javax.mail.jar file and paste into jmeter/lib folder.
Restart JMeter.



Add a Thread group,  Sampler --> SMTP Sampler



 Enter the From , to , Authentication

 Add a listener
Run the test
Now an email will be sent.

---------------------------------------------------------------------------------------------------------

Read Email :

https://developers.google.com/gmail/imap/imap-smtp







 Thread Group --> Sampler --> Mail Reader Sampler


Execute






No comments:

Post a Comment

JMeter Simple Controller

  Simple Controller is just a  container  for user request.