JMeter-SMTP sampler

Foreword

Today we learn about how to use JMeter tool to send mail.

One: Download javamail jar package, https://maven.java.net/content/repositories/releases/com/sun/mail/javax.mail/1.6.1/

2: the jar files to copy downloaded file lib jmeter installation path under the folder, and then restart JMeter

Three: Adding a thread group, add an SMTP sampler Thread group and configure

Four: Add a listener - look at the result tree, click Run to view the results

Five: check if you receive a message sent JMeter

Guess you like

Origin www.cnblogs.com/zhangwuxuan/p/12388580.html