Jmeter Load Testing:Send and Receive Email


Email notification, send email and retrieve email is a important part of any company or organisation so if you have your email server and want to know the email performance of email server then we can use the jmeter. Beauty of jmeter is it gives the power in your hand you can measure the performance of send email same as received email performance.So we can define the user according to requirement and can test the performance of email server.So for the configuration email we need SMTP sampler.First of all we make a thread group and SMTP sampler.

threadgroup

After that we add SMTP sampler.

SMTP

Here we define the server name,port,address,username password, message, we can attach the file.Here we using our email address and a normal message.

now we define a listener and can see the result in view result tree.

smtp_result

Now we read the mail from jmeter.

So for that we need a mail reader sampler. here we define the protocol pop3 or IMPS.

mail_reader

we define the server host,server port,username password or any you want to define any security setting. Now we run the script and see the result.

mailreaderresult

completeresult

 

Fell free to ask me any question regarding JMeter.

Thanks.

This entry was posted in JMeter, Scala and tagged , , , , , , , , . Bookmark the permalink.

2 Responses to Jmeter Load Testing:Send and Receive Email

  1. Dharmendra says:

    Manoj,
    It always reads the inbox(or any folder) from the oldest email, can we configure it to read it from the most recent.
    Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s