<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JMeter | Automation Dojos</title>
	<atom:link href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/</link>
	<description>Applied Automation Ops</description>
	<lastBuildDate>Wed, 22 Mar 2023 11:24:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.automationdojos.com/wp-content/uploads/2021/06/Adjo_X_fav_32.png</url>
	<title>JMeter | Automation Dojos</title>
	<link>https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Create FTP Test Plan in JMeter</title>
		<link>https://www.automationdojos.com/creating-ftp-test-plan-in-jmeter/</link>
					<comments>https://www.automationdojos.com/creating-ftp-test-plan-in-jmeter/#respond</comments>
		
		<dc:creator><![CDATA[Tushar Sharma]]></dc:creator>
		<pubDate>Mon, 12 Oct 2020 21:23:00 +0000</pubDate>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[How-To JMeter]]></category>
		<category><![CDATA[JMeter]]></category>
		<category><![CDATA[NFT Automation]]></category>
		<category><![CDATA[Test Automation]]></category>
		<category><![CDATA[how-to-jmeter]]></category>
		<category><![CDATA[jmeter]]></category>
		<category><![CDATA[jmeter-ftp]]></category>
		<category><![CDATA[jmeter-test-plan]]></category>
		<guid isPermaLink="false">https://www.automationdojos.com/?p=22581</guid>

					<description><![CDATA[<p><a href="https://www.automationdojos.com/creating-ftp-test-plan-in-jmeter/">How To Create FTP Test Plan in JMeter</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<p><img width="575" height="345" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-ftp-plan-fimg.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" fetchpriority="high" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-ftp-plan-fimg.png 575w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-ftp-plan-fimg-300x180.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-ftp-plan-fimg-150x90.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-ftp-plan-fimg-200x120.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-ftp-plan-fimg-400x240.png 400w" sizes="(max-width: 575px) 100vw, 575px" /></p>
<p>About File Transfer Protocol File Transfer Protocol is a widely used standard network protocol for FIle sharing between a client and server in the same network. FTP Server functions with a TCP/IP network. All the client connections are established by switching ON an FTP server. We are using FileZilla which is a free open source [&#8230;]</p>
<p>The post <a href="https://www.automationdojos.com/creating-ftp-test-plan-in-jmeter/">How To Create FTP Test Plan in JMeter</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.automationdojos.com/creating-ftp-test-plan-in-jmeter/">How To Create FTP Test Plan in JMeter</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<div role="navigation" aria-label="Table of Contents" class="simpletoc blog-post-toc wp-block-simpletoc-toc"><h2 class="simpletoc-title">Table of Contents</h2>
<ul class="simpletoc-list">
<li><a href="#about-file-transfer-protocol">About File Transfer Protocol</a>

</li>
<li><a href="#a-adding-ftp-request-sampler">(A) Adding FTP Request Sampler</a>


<ul><li>
<a href="#add-thread-group">Add Thread Group</a>

</li>
<li><a href="#add-ftp-request-sampler">Add FTP Request Sampler</a>

</li>
<li><a href="#configure-ftp-request">Configure FTP Request</a>

</li>
</ul>
<li><a href="#b-create-and-run-ftp-get-request">(B) Create and Run FTP GET Request</a>


<ul><li>
<a href="#select-remote-file">Select Remote File</a>

</li>
<li><a href="#obtain-remote-file-url">Obtain Remote File URL</a>

</li>
<li><a href="#update-get-request">Update GET Request</a>

</li>
<li><a href="#add-listeners-for-capturing-result">Add Listeners for Capturing Result</a>

</li>
<li><a href="#run-ftp-request-and-verify-results">Run FTP Request and Verify Results</a>

</li>
</ul>
<li><a href="#c-create-and-run-ftp-post-request">(C) Create and Run FTP POST Request</a>


<ul><li>
<a href="#create-ftp-request-sampler">Create FTP Request Sampler</a>

</li>
<li><a href="#update-post-request-for-local">Update POST Request for Local</a>

</li>
<li><a href="#select-ftp-put-command">Select FTP PUT Command</a>

</li>
<li><a href="#run-ftp-request-and-verify-results">Run FTP Request and Verify Results</a>
</li>
</ul>
</li></ul></div>

<h2 class="wp-block-heading" id="about-file-transfer-protocol">About File Transfer Protocol</h2>


<p>File Transfer Protocol is a widely used standard network protocol for FIle sharing between a client and server in the same network. FTP Server functions with a TCP/IP network. All the client connections are established by switching ON an FTP server.</p>



<p>We are using FileZilla which is a free open source FTP and FTPS server for file sharing. </p>



<p>You can download the FileZilla Client from <a href="https://filezilla-project.org">this link</a>. It is straightforward to configure FileZilla to use a certain FTP server. Let’s see how to test FTP upload and download using Apache JMeter and FileZilla.</p>


<h2 class="wp-block-heading" id="a-adding-ftp-request-sampler">(A) Adding FTP Request Sampler</h2>

<h3 class="wp-block-heading" id="add-thread-group">Add Thread Group</h3>


<p>Go to Jmeter and add a Thread Group to your Test Plan. Right, Click on Test Plan and Click Add&gt;Threads(Users)&gt;Thread Group.</p>



<figure class="wp-block-image size-large is-style-default"><img decoding="async" width="597" height="234" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-1.png" alt="" class="wp-image-22610" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-1.png 597w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-1-300x118.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-1-150x59.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-1-200x78.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-1-400x157.png 400w" sizes="(max-width: 597px) 100vw, 597px" /></figure>


<h3 class="wp-block-heading" id="add-ftp-request-sampler">Add FTP Request Sampler</h3>


<p>Add an FTP Request Sampler. Right-click on the created Thread group and click Add&gt;Sampler&gt;FTP Request.</p>



<figure class="wp-block-image size-large is-style-default"><img decoding="async" width="617" height="577" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-2.png" alt="" class="wp-image-22611" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-2.png 617w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-2-300x281.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-2-150x140.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-2-449x420.png 449w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-2-200x187.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-2-400x374.png 400w" sizes="(max-width: 617px) 100vw, 617px" /></figure>


<h3 class="wp-block-heading" id="configure-ftp-request">Configure FTP Request</h3>


<p>In the opened window, you can use your FTP server username and password. But I am using a publicly available FTP server for this demonstration. You can find the username and password form <a href="https://stackoverflow.com/questions/7968703/is-there-a-public-ftp-server-to-test-upload-and-download/42972050#:~:text=7%20Answers&amp;text=Tele2%20provides%20ftp%3A%2F%2Fspeedtest,any%20password%20(e.g.%20anonymous%20).">this link</a>. Find the server called “ftp.swfwmd.state.fl.us” and “anonymous” as username and an email address as the password. Give your server name for the “Server Name or IP” section and fill “Username” and “Password” with your user name and password for the server. </p>



<p>We have to select “get(RETR)”&nbsp; as we first try to download a file from the server.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="841" height="416" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-3.png" alt="" class="wp-image-22612" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-3.png 841w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-3-300x148.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-3-768x380.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-3-150x74.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-3-696x344.png 696w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-3-324x160.png 324w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-3-200x99.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-3-400x198.png 400w" sizes="auto, (max-width: 841px) 100vw, 841px" /></figure>


<h2 class="wp-block-heading" id="b-create-and-run-ftp-get-request">(B) Create and Run FTP GET Request</h2>

<h3 class="wp-block-heading" id="select-remote-file">Select Remote File</h3>


<p>We have to give the file location address to the “Remote File” section. To get the file location, I used FileZilla. Open FileZilla and fill “Host,” “username,” and “password” with your server address, username, and password provided. </p>



<p>Now you would be able to see the server file locations under the “Remote site” section. I have selected the “README.txt” file in the server to download.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1024" height="454" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-1024x454.png" alt="" class="wp-image-22613" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-1024x454.png 1024w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-300x133.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-768x340.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-150x66.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-696x308.png 696w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-1068x473.png 1068w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-948x420.png 948w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-200x89.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4-400x177.png 400w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-4.png 1194w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>


<h3 class="wp-block-heading" id="obtain-remote-file-url">Obtain Remote File URL</h3>


<p>Select the file’s address that you want to download by Right click &gt;Copy URL(s) to clipboard.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="346" height="317" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-5.png" alt="" class="wp-image-22614" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-5.png 346w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-5-300x275.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-5-150x137.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-5-200x183.png 200w" sizes="auto, (max-width: 346px) 100vw, 346px" /></figure>


<h3 class="wp-block-heading" id="update-get-request">Update GET Request</h3>


<p>Paste it on the Remote File section in JMeter and remove the server address as it has mentioned in the Server name section. Then copy the destination location on your local computer from FileZilla and paste it on the Local File section in JMeter. Give a file name to save your file. I have given the title as ABC.txt.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="557" height="314" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-6.png" alt="" class="wp-image-22615" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-6.png 557w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-6-300x169.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-6-150x85.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-6-200x113.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-6-400x225.png 400w" sizes="auto, (max-width: 557px) 100vw, 557px" /></figure>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="838" height="330" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-7.png" alt="" class="wp-image-22616" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-7.png 838w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-7-300x118.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-7-768x302.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-7-150x59.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-7-696x274.png 696w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-7-200x79.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-7-400x158.png 400w" sizes="auto, (max-width: 838px) 100vw, 838px" /></figure>


<h3 class="wp-block-heading" id="add-listeners-for-capturing-result">Add Listeners for Capturing Result</h3>


<p>Add a “View Results Tree” listener and “View Results in Table” listener to view your test results.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="657" height="614" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-8.png" alt="" class="wp-image-22617" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-8.png 657w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-8-300x280.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-8-150x140.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-8-449x420.png 449w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-8-200x187.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-8-400x374.png 400w" sizes="auto, (max-width: 657px) 100vw, 657px" /></figure>


<h3 class="wp-block-heading" id="run-ftp-request-and-verify-results">Run FTP Request and Verify Results</h3>


<p>Now click “Start” to run your project and observe the results in listeners. If you have successfully run the components, you can see the results below.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="861" height="620" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-9.png" alt="" class="wp-image-22618" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-9.png 861w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-9-300x216.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-9-768x553.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-9-150x108.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-9-696x501.png 696w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-9-583x420.png 583w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-9-200x144.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-9-400x288.png 400w" sizes="auto, (max-width: 861px) 100vw, 861px" /></figure>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1024" height="174" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10-1024x174.png" alt="" class="wp-image-22619" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10-1024x174.png 1024w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10-300x51.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10-768x131.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10-150x26.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10-696x119.png 696w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10-1068x182.png 1068w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10-200x34.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10-400x68.png 400w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-10.png 1374w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>You can also refresh the FileZilla window and check whether the created file appears in the specified directory.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1024" height="463" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-1024x463.png" alt="" class="wp-image-22620" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-1024x463.png 1024w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-300x136.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-768x348.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-150x68.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-696x315.png 696w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-1068x483.png 1068w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-928x420.png 928w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-200x90.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11-400x181.png 400w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-11.png 1189w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>


<h2 class="wp-block-heading" id="c-create-and-run-ftp-post-request">(C) Create and Run FTP POST Request</h2>


<p>For running FTP POST via JMeter, you would essentially run the same above steps except changing some parameters and commands in your request which would be different from GET request. </p>


<h3 class="wp-block-heading" id="create-ftp-request-sampler">Create FTP Request Sampler</h3>


<p>Create an FTP Request Sampler and fill it with the same details as in the previous sampler. Hence you can follow the above steps from 1 To 3 to create FTP Sampler in JMeter and then follow the below steps to configure a POST request instead of GET request. </p>



<p>Alternatively, you can use your existing FTP Post Plan which you prepared using the above steps, and just convert it into a POST test plan by making changes in itself. Both the options are easy peasy!</p>


<h3 class="wp-block-heading" id="update-post-request-for-local">Update POST Request for Local</h3>


<p>I have selected the downloaded file ABC.txt to upload. So the “Local File” location is unchanged. Select a compatible directory in the FTP server to store your data using FileZilla. I have selected a directory in the “/pub/incoming” folder. Verify your results as in the previous section.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="888" height="478" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-12.png" alt="" class="wp-image-22621" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-12.png 888w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-12-300x161.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-12-768x413.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-12-150x81.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-12-696x375.png 696w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-12-780x420.png 780w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-12-200x108.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-12-400x215.png 400w" sizes="auto, (max-width: 888px) 100vw, 888px" /></figure>


<h3 class="wp-block-heading" id="select-ftp-put-command">Select FTP PUT Command</h3>


<p>We have to change the get(RETR) to put(STOR) for posting a file.</p>



<p>Also you can use binary mode over ASCII mode by clicking “Use binary Mode”. You can also view a preview of your file by clicking “Save File in Response?”.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="529" height="62" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-13.png" alt="" class="wp-image-22622" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-13.png 529w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-13-300x35.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-13-150x18.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-13-200x23.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-13-400x47.png 400w" sizes="auto, (max-width: 529px) 100vw, 529px" /></figure>


<h3 class="wp-block-heading" id="run-ftp-request-and-verify-results">Run FTP Request and Verify Results</h3>


<p>Response Data section shows the response data, and it is a better way to check the accuracy of your downloaded file.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="488" height="398" src="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-14.png" alt="" class="wp-image-22623" srcset="https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-14.png 488w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-14-300x245.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-14-150x122.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-14-200x163.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/10/post-jmeter-ftp-plan-14-400x326.png 400w" sizes="auto, (max-width: 488px) 100vw, 488px" /></figure>



<p>We can test the performance of our FTP Servers as in the above instructions. JMeter is one of the best applications for it.</p>
<div class='the_champ_sharing_container the_champ_vertical_sharing the_champ_hide_sharing the_champ_bottom_sharing' style='width:42px;left: -10px;top: 222px;-webkit-box-shadow:none;box-shadow:none;' data-super-socializer-href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/"><div class="the_champ_sharing_ul"><a aria-label="Facebook" class="the_champ_facebook" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22581" title="Facebook" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#0765FE;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#484848" d="M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z"></path></svg></span></a><a aria-label="Twitter" class="the_champ_button_twitter" href="https://twitter.com/intent/tweet?via=@testoxide&text=JMeter&url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22581" title="Twitter" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_twitter" style="background-color:#55acee;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 39 39"><path d="M28 8.557a9.913 9.913 0 0 1-2.828.775 4.93 4.93 0 0 0 2.166-2.725 9.738 9.738 0 0 1-3.13 1.194 4.92 4.92 0 0 0-3.593-1.55 4.924 4.924 0 0 0-4.794 6.049c-4.09-.21-7.72-2.17-10.15-5.15a4.942 4.942 0 0 0-.665 2.477c0 1.71.87 3.214 2.19 4.1a4.968 4.968 0 0 1-2.23-.616v.06c0 2.39 1.7 4.38 3.952 4.83-.414.115-.85.174-1.297.174-.318 0-.626-.03-.928-.086a4.935 4.935 0 0 0 4.6 3.42 9.893 9.893 0 0 1-6.114 2.107c-.398 0-.79-.023-1.175-.068a13.953 13.953 0 0 0 7.55 2.213c9.056 0 14.01-7.507 14.01-14.013 0-.213-.005-.426-.015-.637.96-.695 1.795-1.56 2.455-2.55z" fill="#484848"></path></svg></span></a><a aria-label="Linkedin" class="the_champ_button_linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22581" title="Linkedin" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_linkedin" style="background-color:#0077b5;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z" fill="#484848"></path></svg></span></a><a aria-label="Pinterest" class="the_champ_button_pinterest" href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/" onclick="event.preventDefault();javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="noopener" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_pinterest" style="background-color:#cc2329;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 35 35"><path fill="#484848" d="M16.539 4.5c-6.277 0-9.442 4.5-9.442 8.253 0 2.272.86 4.293 2.705 5.046.303.125.574.005.662-.33.061-.231.205-.816.27-1.06.088-.331.053-.447-.191-.736-.532-.627-.873-1.439-.873-2.591 0-3.338 2.498-6.327 6.505-6.327 3.548 0 5.497 2.168 5.497 5.062 0 3.81-1.686 7.025-4.188 7.025-1.382 0-2.416-1.142-2.085-2.545.397-1.674 1.166-3.48 1.166-4.689 0-1.081-.581-1.983-1.782-1.983-1.413 0-2.548 1.462-2.548 3.419 0 1.247.421 2.091.421 2.091l-1.699 7.199c-.505 2.137-.076 4.755-.039 5.019.021.158.223.196.314.077.13-.17 1.813-2.247 2.384-4.324.162-.587.929-3.631.929-3.631.46.876 1.801 1.646 3.227 1.646 4.247 0 7.128-3.871 7.128-9.053.003-3.918-3.317-7.568-8.361-7.568z"/></svg></span></a><a aria-label="Reddit" class="the_champ_button_reddit" href="https://reddit.com/submit?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22581&title=JMeter" title="Reddit" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_reddit" style="background-color:#ff5700;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="#484848"/></svg></span></a><a aria-label="Whatsapp" class="the_champ_whatsapp" href="https://api.whatsapp.com/send?text=JMeter https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22581" title="Whatsapp" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#55eb4c;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -5 40 40"><path class="the_champ_svg_stroke the_champ_no_fill" stroke="#484848" stroke-width="2" fill="none" d="M 11.579798566743314 24.396926207859085 A 10 10 0 1 0 6.808479557110079 20.73576436351046"></path><path d="M 7 19 l -1 6 l 6 -1" class="the_champ_no_fill the_champ_svg_stroke" stroke="#484848" stroke-width="2" fill="none"></path><path d="M 10 10 q -1 8 8 11 c 5 -1 0 -6 -1 -3 q -4 -3 -5 -5 c 4 -2 -1 -5 -1 -4" fill="#484848"></path></svg></span></a><a class="the_champ_more" title="More" rel="nofollow noopener" style="font-size:24px!important;border:0;box-shadow:none;display:inline-block!important;font-size:16px;padding:0 4px;vertical-align: middle;display:inline;" href="https://www.automationdojos.com/?p=22581" onclick="event.preventDefault()"><span class="the_champ_svg" style="background-color:#ee8e2d;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block!important;opacity:1;float:left;font-size:32px!important;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;display:inline;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box;" onclick="theChampMoreSharingPopup(this, 'https://www.automationdojos.com/?p=22581', 'JMeter', '' )"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-.3 0 32 32" version="1.1" width="100%" height="100%" style="display:block;" xml:space="preserve"><g><path fill="#484848" d="M18 14V8h-4v6H8v4h6v6h4v-6h6v-4h-6z" fill-rule="evenodd"></path></g></svg></span></a></div></div><p>The post <a href="https://www.automationdojos.com/creating-ftp-test-plan-in-jmeter/">How To Create FTP Test Plan in JMeter</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.automationdojos.com/creating-ftp-test-plan-in-jmeter/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Do Database Testing with JMeter</title>
		<link>https://www.automationdojos.com/how-to-do-database-testing-with-jmeter/</link>
					<comments>https://www.automationdojos.com/how-to-do-database-testing-with-jmeter/#respond</comments>
		
		<dc:creator><![CDATA[Tushar Sharma]]></dc:creator>
		<pubDate>Sat, 08 Aug 2020 13:36:00 +0000</pubDate>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[How-To JMeter]]></category>
		<category><![CDATA[JMeter]]></category>
		<category><![CDATA[NFT Automation]]></category>
		<category><![CDATA[Test Automation]]></category>
		<category><![CDATA[db-testing]]></category>
		<category><![CDATA[how-to-jmeter]]></category>
		<category><![CDATA[jmeter]]></category>
		<guid isPermaLink="false">https://www.automationdojos.com/?p=21010</guid>

					<description><![CDATA[<p><a href="https://www.automationdojos.com/how-to-do-database-testing-with-jmeter/">How To Do Database Testing with JMeter</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<p><img width="575" height="345" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test2-2.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test2-2.png 575w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test2-2-300x180.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test2-2-150x90.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test2-2-200x120.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test2-2-400x240.png 400w" sizes="auto, (max-width: 575px) 100vw, 575px" /></p>
<p>Introduction In this &#8216;How-To&#8217;, You will be guided to perform a database load test using JMeter. We will be installing Apache JMeter to perform the test. You can download Apache Jmeter from this link as your first step and keep it ready for further steps to follow where we shall be creating, running and analyzing [&#8230;]</p>
<p>The post <a href="https://www.automationdojos.com/how-to-do-database-testing-with-jmeter/">How To Do Database Testing with JMeter</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.automationdojos.com/how-to-do-database-testing-with-jmeter/">How To Do Database Testing with JMeter</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<h2 class="simpletoc-title">Table of Contents</h2>
<ul class="simpletoc-list">
<li><a href="#introduction">Introduction</a>

</li>
<li><a href="#system-requirement">System Requirement</a>


<ul><li>
<a href="#step-1-launch-jmeter">Step 1: Launch Jmeter.</a>

</li>
<li><a href="#step-2-download-mysql-connector">Step 2: Download MySQL Connector</a>

</li>
<li><a href="#step-3-unzip-and-save-mysql-connector">Step 3: Unzip and save MySQL Connector</a>

</li>
<li><a href="#step-4-now-restart-jmeter">Step 4: Now Restart JMeter</a>

</li>
<li><a href="#step-5-create-jmeter-thread-group">Step 5 : Create JMeter Thread Group</a>

</li>
<li><a href="#step-6-setup-thread-group">Step 6: Setup Thread Group</a>

</li>
<li><a href="#step-7-add-jdbc-config-element-for-jmeter">Step 7 : Add JDBC Config Element for JMeter</a>

</li>
<li><a href="#step-8-setup-database-configuration">Step 8: Setup database configuration</a>

</li>
<li><a href="#step-9-add-jdbc-request-sampler-in-jmeter">Step 9: Add JDBC Request Sampler in JMeter</a>

</li>
<li><a href="#step-10-prepare-sql-query">Step 10: Prepare SQL query</a>

</li>
<li><a href="#step-11-update-jdbc-connection-name">Step 11: Update JDBC connection name</a>

</li>
<li><a href="#step-12-add-results-in-table-listner-to-script">Step 12: Add &#8216;Results in Table&#8217; listner to script</a>

</li>
<li><a href="#step-13-add-view-results-tree-listner">Step 13: Add &#8216;View Results Tree&#8217; Listner</a>

</li>
<li><a href="#step-14-run-your-jmeter-script">Step 14: Run your jmeter script</a>

</li>
<li><a href="#step-15-view-results-table-and-tree">Step 15: View Results Table and Tree</a>
</li>
</ul>
</li></ul>

<h2 class="wp-block-heading" id="introduction">Introduction</h2>


<p>In this &#8216;How-To&#8217;, You will be guided to perform a database load test using JMeter. We will be installing Apache JMeter to perform the test. You can download Apache Jmeter from <a href="https://jmeter.apache.org/download_jmeter.cgi">this link</a> as your first step and keep it ready for further steps to follow where we shall be creating, running and analyzing simple demo-based database test script using JMeter.</p>


<h2 class="wp-block-heading" id="system-requirement">System Requirement</h2>


<p>We would be using the following tools for this exercise:</p>



<div class="su-list" style="margin-left:0px">



<ul class="wp-block-list"><li><i class="sui sui-check-square-o" style="color:#0eab3c"></i> Apache JMeter 5.2.1</li><li><i class="sui sui-check-square-o" style="color:#0eab3c"></i> Mysql-connector-java-8.0.20</li><li><i class="sui sui-check-square-o" style="color:#0eab3c"></i> MySQL Database (local install or cloud provisioned instance from <a href="https://www.db4free.net/">db4free.net</a>)</li><li><i class="sui sui-check-square-o" style="color:#0eab3c"></i> We are running these exercises on local windows OS machine.</li></ul>



<p><ul><span style="font-size: inherit;"></div></span></ul></p>


<h3 class="wp-block-heading" id="step-1-launch-jmeter"><strong>Step 1:</strong> Launch Jmeter.</h3>


<p>You can run JMeter using the “ApacheJMeter.jar” file which is in the “bin” folder. Here is a screenshot of JMeter GUI :</p>



<figure class="wp-block-image size-large is-style-default td-img-style-shadow"><img loading="lazy" decoding="async" width="1024" height="578" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-1024x578.png" alt="" class="wp-image-21030" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-1024x578.png 1024w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-300x169.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-768x434.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-150x85.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-696x393.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-1068x603.png 1068w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-744x420.png 744w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-200x113.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1-400x226.png 400w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-1.png 1077w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>


<h3 class="wp-block-heading" id="step-2-download-mysql-connector"><strong>Step 2:</strong> Download MySQL Connector</h3>


<p>We use the Mysql database to create our testing Database. First, you have to connect the MySQL database with JMeter using&nbsp; MySQL connector. First, <a href="https://dev.mysql.com/downloads/connector/j/">navigate</a> to MySQL Website and download the zip folder as shown in the image below :</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="796" height="616" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-2.png" alt="" class="wp-image-21029" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-2.png 796w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-2-300x232.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-2-768x594.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-2-150x116.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-2-696x539.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-2-543x420.png 543w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-2-200x155.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-2-400x310.png 400w" sizes="auto, (max-width: 796px) 100vw, 796px" /></figure>


<h3 class="wp-block-heading" id="step-3-unzip-and-save-mysql-connector"><strong>Step 3:</strong> Unzip and save MySQL Connector</h3>


<p>Extract the zip folder and Copy “Mysql-connector-java-8.0.20.jar” file (Version may differ) from the folder and paste it into the “lib” folder of JMeter.</p>


<h3 class="wp-block-heading" id="step-4-now-restart-jmeter"><strong>Step 4:</strong> Now Restart JMeter</h3>


<p>Restart the JMeter so that it will work with the library provided by MySQL connector.</p>


<h3 class="wp-block-heading" id="step-5-create-jmeter-thread-group"><strong>Step 5 :</strong> Create JMeter Thread Group</h3>


<p>Right-click on the Test Plan.Click “Add &gt; Threads(Users) &gt; Thread group” .</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="592" height="378" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-3.png" alt="" class="wp-image-21028" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-3.png 592w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-3-300x192.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-3-150x96.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-3-200x128.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-3-400x255.png 400w" sizes="auto, (max-width: 592px) 100vw, 592px" /></figure>


<h3 class="wp-block-heading" id="step-6-setup-thread-group"><strong>Step 6:</strong> Setup Thread Group</h3>


<p>Give a name to your Thread Group and adjust “Thread Properties” as required.</p>


<div class="su-note"  style="border-color:#dcdcdc;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#f6f6f6;border-color:#ffffff;color:#444444;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">
</div></div>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1024" height="579" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-1024x579.png" alt="" class="wp-image-21027" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-1024x579.png 1024w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-300x170.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-768x434.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-150x85.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-696x394.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-1068x604.png 1068w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-743x420.png 743w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-200x113.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4-400x226.png 400w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-4.png 1075w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>


<h3 class="wp-block-heading" id="step-7-add-jdbc-config-element-for-jmeter"><strong>Step 7 :</strong> Add JDBC Config Element for JMeter</h3>


<p>Add JDBC Connection Configuration By following the steps : “ Add&nbsp; &gt; Config Element &gt; JDBC Connection Configuration “</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="790" height="604" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5.png" alt="" class="wp-image-21026" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5.png 790w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5-300x229.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5-768x587.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5-150x115.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5-696x532.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5-549x420.png 549w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5-80x60.png 80w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5-200x153.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-5-400x306.png 400w" sizes="auto, (max-width: 790px) 100vw, 790px" /></figure>


<h3 class="wp-block-heading" id="step-8-setup-database-configuration"><strong>Step 8:</strong> Setup database configuration</h3>


<p>You have to fill the Database Connection Configurations as below. The Database URL&nbsp; will be the location of your created database. I have used <a href="https://www.db4free.net">db4free.net</a> to create the SQL database. Select MySQL driver class for JDBC Driver Class. Enter the username and password of the database in the Username and Password fields. Give the variable name as “testdb” for the created pool field.</p>



<pre class="wp-block-code"><code>The jdbc:mysql://&#091;host1]&#091;:port1]&#091;,&#091;host2]&#091;:port2]]...&#091;/&#091;database]] is the common format for giving your database URL. jdbc:mysql:// “ is an unchanged sequence in JMeter when specifying MySQL database address. The hostname and port name will be emailed after you create the database with db4free.net.</code></pre>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="869" height="621" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6.png" alt="" class="wp-image-21025" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6.png 869w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6-300x214.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6-768x549.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6-150x107.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6-696x497.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6-588x420.png 588w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6-100x70.png 100w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6-200x143.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-6-400x286.png 400w" sizes="auto, (max-width: 869px) 100vw, 869px" /></figure>



<div><a href="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-1024x631.png" class="td-modal-image"><figure class="wp-block-image size-large is-style-default td-img-style-shadow"><img loading="lazy" decoding="async" width="1024" height="631" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-1024x631.png" alt="" class="wp-image-21024" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-1024x631.png 1024w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-300x185.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-768x473.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-150x92.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-696x429.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-1068x658.png 1068w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-682x420.png 682w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-356x220.png 356w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-200x123.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7-400x246.png 400w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-7.png 1161w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></a></div>


<h3 class="wp-block-heading" id="step-9-add-jdbc-request-sampler-in-jmeter"><strong>Step 9:</strong> Add JDBC Request Sampler in JMeter</h3>


<p>To work with data from the database, You need to Add JDBC Request. So add JDBC Request By Clicking&nbsp; Add &gt; Sampler &gt; JDBC Request as in the image below :</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="680" height="418" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-8.png" alt="" class="wp-image-21038" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-8.png 680w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-8-300x184.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-8-150x92.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-8-356x220.png 356w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-8-200x123.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-8-400x246.png 400w" sizes="auto, (max-width: 680px) 100vw, 680px" /></figure>


<h3 class="wp-block-heading" id="step-10-prepare-sql-query"><strong>Step 10:</strong> Prepare SQL query</h3>


<p>You can type and execute the SQL query in the SQL Query section. Select all data from the table by typing the SQL below. <em>Persons is the table name of the database. Select the Query Type as “Select Statement”.</em></p>



<pre class="wp-block-code"><code>Select * from persons;</code></pre>


<h3 class="wp-block-heading" id="step-11-update-jdbc-connection-name"><strong>Step 11:</strong> Update JDBC connection name</h3>


<p>Refer the request to JDBC Connection Configuration and give the same variable name in JDBC Connection Configuration variable name field.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="899" height="240" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-9.png" alt="" class="wp-image-21037" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-9.png 899w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-9-300x80.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-9-768x205.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-9-150x40.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-9-696x186.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-9-200x53.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-9-400x107.png 400w" sizes="auto, (max-width: 899px) 100vw, 899px" /></figure>


<h3 class="wp-block-heading" id="step-12-add-results-in-table-listner-to-script"><strong>Step 12:</strong> Add &#8216;Results in Table&#8217; listner to script</h3>


<p>Add “ View Results in Table”&nbsp; listener. Right-clicking on the database name and click Add &gt; Listener &gt; View Results in Listener.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="695" height="677" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-10.png" alt="" class="wp-image-21036" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-10.png 695w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-10-300x292.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-10-150x146.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-10-431x420.png 431w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-10-200x195.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-10-400x390.png 400w" sizes="auto, (max-width: 695px) 100vw, 695px" /></figure>


<h3 class="wp-block-heading" id="step-13-add-view-results-tree-listner"><strong>Step 13:</strong> Add &#8216;View Results Tree&#8217; Listner</h3>


<p>Add “View Results Tree” listener. Right-clicking on the database name and click Add &gt; Listener &gt; View Results Tree.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="693" height="369" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-11.png" alt="" class="wp-image-21035" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-11.png 693w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-11-300x160.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-11-150x80.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-11-200x106.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-11-400x213.png 400w" sizes="auto, (max-width: 693px) 100vw, 693px" /></figure>


<h3 class="wp-block-heading" id="step-14-run-your-jmeter-script"><strong>Step 14:</strong> Run your jmeter script</h3>


<p>Test your database performance by clicking the Run button on the menu bar.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="776" height="215" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-12.png" alt="" class="wp-image-21034" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-12.png 776w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-12-300x83.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-12-768x213.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-12-150x42.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-12-696x193.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-12-200x55.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-12-400x111.png 400w" sizes="auto, (max-width: 776px) 100vw, 776px" /></figure>


<h3 class="wp-block-heading" id="step-15-view-results-table-and-tree"><strong>Step 15:</strong> View Results Table and Tree</h3>


<p>You can observe your results from “View Results in Table” and “View Results Tree” Listeners</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1012" height="212" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-13.png" alt="" class="wp-image-21033" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-13.png 1012w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-13-300x63.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-13-768x161.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-13-150x31.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-13-696x146.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-13-200x42.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-13-400x84.png 400w" sizes="auto, (max-width: 1012px) 100vw, 1012px" /></figure>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="303" height="372" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-14.png" alt="" class="wp-image-21032" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-14.png 303w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-14-244x300.png 244w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-14-150x184.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-14-300x368.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-14-163x200.png 163w" sizes="auto, (max-width: 303px) 100vw, 303px" /></figure>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="407" height="178" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-15.png" alt="" class="wp-image-21031" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-15.png 407w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-15-300x131.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-15-150x66.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-15-200x87.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-db-test-15-400x175.png 400w" sizes="auto, (max-width: 407px) 100vw, 407px" /></figure>



<p>If the connection is successful, the sampler result will be given as “OK” for the “Response Message”. Check it out with your connection. You can see that the Latency of my connection is pretty high here. This is the way of checking the performance of a database with JMeter and you can get useful insights to optimize your database connection from it.</p>
<div class='the_champ_sharing_container the_champ_vertical_sharing the_champ_hide_sharing the_champ_bottom_sharing' style='width:42px;left: -10px;top: 222px;-webkit-box-shadow:none;box-shadow:none;' data-super-socializer-href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/"><div class="the_champ_sharing_ul"><a aria-label="Facebook" class="the_champ_facebook" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D21010" title="Facebook" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#0765FE;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#484848" d="M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z"></path></svg></span></a><a aria-label="Twitter" class="the_champ_button_twitter" href="https://twitter.com/intent/tweet?via=@testoxide&text=JMeter&url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D21010" title="Twitter" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_twitter" style="background-color:#55acee;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 39 39"><path d="M28 8.557a9.913 9.913 0 0 1-2.828.775 4.93 4.93 0 0 0 2.166-2.725 9.738 9.738 0 0 1-3.13 1.194 4.92 4.92 0 0 0-3.593-1.55 4.924 4.924 0 0 0-4.794 6.049c-4.09-.21-7.72-2.17-10.15-5.15a4.942 4.942 0 0 0-.665 2.477c0 1.71.87 3.214 2.19 4.1a4.968 4.968 0 0 1-2.23-.616v.06c0 2.39 1.7 4.38 3.952 4.83-.414.115-.85.174-1.297.174-.318 0-.626-.03-.928-.086a4.935 4.935 0 0 0 4.6 3.42 9.893 9.893 0 0 1-6.114 2.107c-.398 0-.79-.023-1.175-.068a13.953 13.953 0 0 0 7.55 2.213c9.056 0 14.01-7.507 14.01-14.013 0-.213-.005-.426-.015-.637.96-.695 1.795-1.56 2.455-2.55z" fill="#484848"></path></svg></span></a><a aria-label="Linkedin" class="the_champ_button_linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D21010" title="Linkedin" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_linkedin" style="background-color:#0077b5;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z" fill="#484848"></path></svg></span></a><a aria-label="Pinterest" class="the_champ_button_pinterest" href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/" onclick="event.preventDefault();javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="noopener" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_pinterest" style="background-color:#cc2329;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 35 35"><path fill="#484848" d="M16.539 4.5c-6.277 0-9.442 4.5-9.442 8.253 0 2.272.86 4.293 2.705 5.046.303.125.574.005.662-.33.061-.231.205-.816.27-1.06.088-.331.053-.447-.191-.736-.532-.627-.873-1.439-.873-2.591 0-3.338 2.498-6.327 6.505-6.327 3.548 0 5.497 2.168 5.497 5.062 0 3.81-1.686 7.025-4.188 7.025-1.382 0-2.416-1.142-2.085-2.545.397-1.674 1.166-3.48 1.166-4.689 0-1.081-.581-1.983-1.782-1.983-1.413 0-2.548 1.462-2.548 3.419 0 1.247.421 2.091.421 2.091l-1.699 7.199c-.505 2.137-.076 4.755-.039 5.019.021.158.223.196.314.077.13-.17 1.813-2.247 2.384-4.324.162-.587.929-3.631.929-3.631.46.876 1.801 1.646 3.227 1.646 4.247 0 7.128-3.871 7.128-9.053.003-3.918-3.317-7.568-8.361-7.568z"/></svg></span></a><a aria-label="Reddit" class="the_champ_button_reddit" href="https://reddit.com/submit?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D21010&title=JMeter" title="Reddit" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_reddit" style="background-color:#ff5700;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="#484848"/></svg></span></a><a aria-label="Whatsapp" class="the_champ_whatsapp" href="https://api.whatsapp.com/send?text=JMeter https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D21010" title="Whatsapp" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#55eb4c;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -5 40 40"><path class="the_champ_svg_stroke the_champ_no_fill" stroke="#484848" stroke-width="2" fill="none" d="M 11.579798566743314 24.396926207859085 A 10 10 0 1 0 6.808479557110079 20.73576436351046"></path><path d="M 7 19 l -1 6 l 6 -1" class="the_champ_no_fill the_champ_svg_stroke" stroke="#484848" stroke-width="2" fill="none"></path><path d="M 10 10 q -1 8 8 11 c 5 -1 0 -6 -1 -3 q -4 -3 -5 -5 c 4 -2 -1 -5 -1 -4" fill="#484848"></path></svg></span></a><a class="the_champ_more" title="More" rel="nofollow noopener" style="font-size:24px!important;border:0;box-shadow:none;display:inline-block!important;font-size:16px;padding:0 4px;vertical-align: middle;display:inline;" href="https://www.automationdojos.com/?p=21010" onclick="event.preventDefault()"><span class="the_champ_svg" style="background-color:#ee8e2d;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block!important;opacity:1;float:left;font-size:32px!important;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;display:inline;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box;" onclick="theChampMoreSharingPopup(this, 'https://www.automationdojos.com/?p=21010', 'JMeter', '' )"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-.3 0 32 32" version="1.1" width="100%" height="100%" style="display:block;" xml:space="preserve"><g><path fill="#484848" d="M18 14V8h-4v6H8v4h6v6h4v-6h6v-4h-6z" fill-rule="evenodd"></path></g></svg></span></a></div></div><p>The post <a href="https://www.automationdojos.com/how-to-do-database-testing-with-jmeter/">How To Do Database Testing with JMeter</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.automationdojos.com/how-to-do-database-testing-with-jmeter/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Do API Testing with JMeter</title>
		<link>https://www.automationdojos.com/how-to-api-testing-with-jmeter/</link>
					<comments>https://www.automationdojos.com/how-to-api-testing-with-jmeter/#respond</comments>
		
		<dc:creator><![CDATA[Tushar Sharma]]></dc:creator>
		<pubDate>Sun, 31 May 2020 10:33:00 +0000</pubDate>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[How-To JMeter]]></category>
		<category><![CDATA[JMeter]]></category>
		<category><![CDATA[NFT Automation]]></category>
		<category><![CDATA[Test Automation]]></category>
		<category><![CDATA[api-testing]]></category>
		<category><![CDATA[how-to-jmeter]]></category>
		<guid isPermaLink="false">https://www.automationdojos.com/?p=20985</guid>

					<description><![CDATA[<p><a href="https://www.automationdojos.com/how-to-api-testing-with-jmeter/">How To Do API Testing with JMeter</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<p><img width="575" height="345" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api-test2-2.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api-test2-2.png 575w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api-test2-2-300x180.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api-test2-2-150x90.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api-test2-2-200x120.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api-test2-2-400x240.png 400w" sizes="auto, (max-width: 575px) 100vw, 575px" /></p>
<p>Introduction Application Programming Interface is a very popular term among developers. It is simply a request provider that responds to your request. In other words, it is an intermediate that allows communication between two applications. Google Maps, Twitter, Amazon S3, Weather API are some popular APIs in the industry. The two widely used Web services [&#8230;]</p>
<p>The post <a href="https://www.automationdojos.com/how-to-api-testing-with-jmeter/">How To Do API Testing with JMeter</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.automationdojos.com/how-to-api-testing-with-jmeter/">How To Do API Testing with JMeter</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<h2 class="simpletoc-title">Table of Contents</h2>
<ul class="simpletoc-list">
<li><a href="#introduction">Introduction</a>

</li>
<li><a href="#rest-api">REST API</a>

</li>
<li><a href="#add-http-request-sampler">Add HTTP Request Sampler</a>


<ul><li>
<a href="#step-1-create-a-thread-group">Step 1: Create a Thread Group.</a>

</li>
<li><a href="#step-2-create-an-http-request">Step 2: Create an HTTP Request</a>

</li>
<li><a href="#step-3-navigate-to-openweather-site">Step 3: Navigate to &#8216;OpenWeather&#8217; site</a>

</li>
<li><a href="#step-4-get-the-api-call-details">Step 4: Get the API call details.</a>

</li>
<li><a href="#step-5-fillin-required-fields-and-set-method">Step 5: Fill-in required fields and set &#8216;Method&#8217;.</a>

</li>
<li><a href="#step-6-fillin-the-api-key-parameters">Step 6: Fill-in the API Key parameters.</a>

</li>
</ul>
<li><a href="#run-and-validate">Run and Validate</a>


<ul><li>
<a href="#step-7-add-a-listner-to-view-response">Step 7: Add a listner to view response.</a>

</li>
<li><a href="#step-8-runnbspyour-script">Step 8: Run&nbsp;your script.</a>

</li>
<li><a href="#step-9-view-the-response-data">Step 9: View the response data.</a>

</li>
<li><a href="#step-10-increase-load-for-rerun">Step 10: Increase load for re-run.</a>

</li>
<li><a href="#step11-clear-results-and-rerun-new-load">Step11: Clear results and Re-Run new load.</a>
</li>
</ul>
</li></ul>

<h2 class="wp-block-heading" id="introduction">Introduction</h2>


<p>Application Programming Interface is a very popular term among developers. It is simply a request provider that responds to your request. In other words, it is an intermediate that allows communication between two applications. Google Maps, Twitter, Amazon S3, Weather API are some popular APIs in the industry.</p>



<p>The two widely used Web services are SOAP and API. In this tutorial, you will be learning to use the&nbsp; REST API with Apache JMeter. Also, you will be able to check their performance with your test parameters.</p>


<h2 class="wp-block-heading" id="rest-api">REST API</h2>


<p>Representational State Transfer API is a collection of architectural principles. It has a simple interface that can manipulate and identify the resource easily within the request. We are using <a href="https://openweathermap.org/api">Weather API</a> for this tutorial.</p>



<p>Sign up to Weather API in order to get your API key with <a href="https://home.openweathermap.org/users/sign_up">this link</a>. Your API will be received through email, after the verification of the account. Let’s create a REST API request using JMeter to get the weather data of London, UK with HTTP Request Sampler.</p>


<h2 class="wp-block-heading" id="add-http-request-sampler">Add HTTP Request Sampler</h2>

<h3 class="wp-block-heading" id="step-1-create-a-thread-group">Step 1: Create a Thread Group.</h3>


<p>I have named it as API Testing. Leave the rest of the settings as it is for now.</p>



<figure class="wp-block-image size-large is-style-default td-img-style-shadow"><img loading="lazy" decoding="async" width="1024" height="531" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-1024x531.png" alt="" class="wp-image-20992" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-1024x531.png 1024w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-300x155.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-768x398.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-150x78.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-696x361.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-1068x553.png 1068w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-810x420.png 810w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-200x104.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1-400x207.png 400w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api1.png 1071w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>


<h3 class="wp-block-heading" id="step-2-create-an-http-request">Step 2: Create an HTTP Request</h3>


<p>Create an HTTP Request by following these steps. Right-click on the Thread Group name and click Add &gt; Sampler &gt; HTTP Request.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="585" height="309" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api2.png" alt="" class="wp-image-20991" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api2.png 585w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api2-300x158.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api2-150x79.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api2-200x106.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api2-400x211.png 400w" sizes="auto, (max-width: 585px) 100vw, 585px" /></figure>


<h3 class="wp-block-heading" id="step-3-navigate-to-openweather-site">Step 3: Navigate to &#8216;OpenWeather&#8217; site</h3>


<p>We are using the Current Weather Data API to get current weather data of a certain location. Go to the API page in the Weather API and click “API doc” under the “Current Weather Data” API.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1024" height="441" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-1024x441.png" alt="" class="wp-image-20990" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-1024x441.png 1024w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-300x129.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-768x331.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-150x65.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-696x300.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-1068x460.png 1068w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-975x420.png 975w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-200x86.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3-400x172.png 400w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api3.png 1263w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>


<h3 class="wp-block-heading" id="step-4-get-the-api-call-details">Step 4: Get the API call details.</h3>


<p>Get the API call under the “By City Name” Section. Select the first one with the City Name. You can check your city name by searching in the UI search bar of the website. If the name is spelled correctly it will show the weather details as below.</p>



<pre class="wp-block-code"><code>api.openweathermap.org/data/2.5/weather?q={city name}&amp;appid={your api key}</code></pre>



<p>Let&#8217;s examine each part of the API call.</p>



<pre class="wp-block-code"><code>“api.openweathermap.org”: IP of the web service.
“/data/2.5/weather”: Path of the web service.
“q”: City Name which you like to get the weather data.London in my case.
“appid”: Your API Key.
</code></pre>


<h3 class="wp-block-heading" id="step-5-fillin-required-fields-and-set-method">Step 5: Fill-in required fields and set &#8216;Method&#8217;.</h3>


<p>Complete the required fields in the HTTP Request sampler. Fill the IP and Path with the details above. Select the “Method” as a “Get” Method</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="999" height="265" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api4.png" alt="" class="wp-image-20989" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api4.png 999w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api4-300x80.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api4-768x204.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api4-150x40.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api4-696x185.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api4-200x53.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api4-400x106.png 400w" sizes="auto, (max-width: 999px) 100vw, 999px" /></figure>


<h3 class="wp-block-heading" id="step-6-fillin-the-api-key-parameters">Step 6: Fill-in the API Key parameters.</h3>


<p>Add City Name and API Key as parameters in the Parameter section. Click the Add button to insert the parameters. Name is the parameter name and value is the parameter value. Check the image below to insert it correctly. I have added “London” to my city.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="976" height="358" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api5.png" alt="" class="wp-image-20988" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api5.png 976w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api5-300x110.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api5-768x282.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api5-150x55.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api5-696x255.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api5-200x73.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api5-400x147.png 400w" sizes="auto, (max-width: 976px) 100vw, 976px" /></figure>


<h2 class="wp-block-heading" id="run-and-validate">Run and Validate</h2>

<h3 class="wp-block-heading" id="step-7-add-a-listner-to-view-response">Step 7: Add a listner to view response.</h3>


<p>You have to add a listener to see the response from the server. Right-click on the thread name and click Add &gt; Listener &gt; View Results Tree to add Results Tree Listener.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="669" height="340" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api6.png" alt="" class="wp-image-20987" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api6.png 669w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api6-300x152.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api6-150x76.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api6-200x102.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api6-400x203.png 400w" sizes="auto, (max-width: 669px) 100vw, 669px" /></figure>


<h3 class="wp-block-heading" id="step-8-runnbspyour-script">Step 8: Run your script.</h3>


<p>Run your script by clicking the “Start” button on the menu bar and observe the results in the “View Results Tree Listener”.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="999" height="613" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api7.png" alt="" class="wp-image-20986" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api7.png 999w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api7-300x184.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api7-768x471.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api7-150x92.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api7-696x427.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api7-684x420.png 684w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api7-200x123.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api7-400x245.png 400w" sizes="auto, (max-width: 999px) 100vw, 999px" /></figure>


<h3 class="wp-block-heading" id="step-9-view-the-response-data">Step 9: View the response data.</h3>


<p>View received weather data from the “Response Data” section. You can see the weather data in London as requested above.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="975" height="170" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api8.png" alt="" class="wp-image-20995" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api8.png 975w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api8-300x52.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api8-768x134.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api8-150x26.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api8-696x121.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api8-200x35.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api8-400x70.png 400w" sizes="auto, (max-width: 975px) 100vw, 975px" /></figure>


<h3 class="wp-block-heading" id="step-10-increase-load-for-rerun">Step 10: Increase load for re-run.</h3>


<p>Increase the load to the API and test the results. Go to Thread Group and Increase the “Number of threads” to 15.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="360" height="282" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api9.png" alt="" class="wp-image-20994" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api9.png 360w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api9-300x235.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api9-150x118.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api9-200x157.png 200w" sizes="auto, (max-width: 360px) 100vw, 360px" /></figure>


<h3 class="wp-block-heading" id="step11-clear-results-and-rerun-new-load">Step11: Clear results and Re-Run new load.</h3>


<p>Clear the previous results in the listener by “Clear all” button in the menu bar and re-run the test by “Start” button. You can see the server response to the load that applied. It is responding well. Increase the other thread properties and check the responses as you needed.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1002" height="537" src="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api10.png" alt="" class="wp-image-20993" srcset="https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api10.png 1002w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api10-300x161.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api10-768x412.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api10-150x80.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api10-696x373.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api10-784x420.png 784w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api10-200x107.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/10/post-jmeter-api10-400x214.png 400w" sizes="auto, (max-width: 1002px) 100vw, 1002px" /></figure>



<p>Now you can Test an API using Apache JMeter.Use some other web services APIs and test the results. You can check the performance of your API services in that way. Cheers.</p>
<div class='the_champ_sharing_container the_champ_vertical_sharing the_champ_hide_sharing the_champ_bottom_sharing' style='width:42px;left: -10px;top: 222px;-webkit-box-shadow:none;box-shadow:none;' data-super-socializer-href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/"><div class="the_champ_sharing_ul"><a aria-label="Facebook" class="the_champ_facebook" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D20985" title="Facebook" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#0765FE;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#484848" d="M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z"></path></svg></span></a><a aria-label="Twitter" class="the_champ_button_twitter" href="https://twitter.com/intent/tweet?via=@testoxide&text=JMeter&url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D20985" title="Twitter" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_twitter" style="background-color:#55acee;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 39 39"><path d="M28 8.557a9.913 9.913 0 0 1-2.828.775 4.93 4.93 0 0 0 2.166-2.725 9.738 9.738 0 0 1-3.13 1.194 4.92 4.92 0 0 0-3.593-1.55 4.924 4.924 0 0 0-4.794 6.049c-4.09-.21-7.72-2.17-10.15-5.15a4.942 4.942 0 0 0-.665 2.477c0 1.71.87 3.214 2.19 4.1a4.968 4.968 0 0 1-2.23-.616v.06c0 2.39 1.7 4.38 3.952 4.83-.414.115-.85.174-1.297.174-.318 0-.626-.03-.928-.086a4.935 4.935 0 0 0 4.6 3.42 9.893 9.893 0 0 1-6.114 2.107c-.398 0-.79-.023-1.175-.068a13.953 13.953 0 0 0 7.55 2.213c9.056 0 14.01-7.507 14.01-14.013 0-.213-.005-.426-.015-.637.96-.695 1.795-1.56 2.455-2.55z" fill="#484848"></path></svg></span></a><a aria-label="Linkedin" class="the_champ_button_linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D20985" title="Linkedin" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_linkedin" style="background-color:#0077b5;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z" fill="#484848"></path></svg></span></a><a aria-label="Pinterest" class="the_champ_button_pinterest" href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/" onclick="event.preventDefault();javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="noopener" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_pinterest" style="background-color:#cc2329;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 35 35"><path fill="#484848" d="M16.539 4.5c-6.277 0-9.442 4.5-9.442 8.253 0 2.272.86 4.293 2.705 5.046.303.125.574.005.662-.33.061-.231.205-.816.27-1.06.088-.331.053-.447-.191-.736-.532-.627-.873-1.439-.873-2.591 0-3.338 2.498-6.327 6.505-6.327 3.548 0 5.497 2.168 5.497 5.062 0 3.81-1.686 7.025-4.188 7.025-1.382 0-2.416-1.142-2.085-2.545.397-1.674 1.166-3.48 1.166-4.689 0-1.081-.581-1.983-1.782-1.983-1.413 0-2.548 1.462-2.548 3.419 0 1.247.421 2.091.421 2.091l-1.699 7.199c-.505 2.137-.076 4.755-.039 5.019.021.158.223.196.314.077.13-.17 1.813-2.247 2.384-4.324.162-.587.929-3.631.929-3.631.46.876 1.801 1.646 3.227 1.646 4.247 0 7.128-3.871 7.128-9.053.003-3.918-3.317-7.568-8.361-7.568z"/></svg></span></a><a aria-label="Reddit" class="the_champ_button_reddit" href="https://reddit.com/submit?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D20985&title=JMeter" title="Reddit" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_reddit" style="background-color:#ff5700;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="#484848"/></svg></span></a><a aria-label="Whatsapp" class="the_champ_whatsapp" href="https://api.whatsapp.com/send?text=JMeter https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D20985" title="Whatsapp" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#55eb4c;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -5 40 40"><path class="the_champ_svg_stroke the_champ_no_fill" stroke="#484848" stroke-width="2" fill="none" d="M 11.579798566743314 24.396926207859085 A 10 10 0 1 0 6.808479557110079 20.73576436351046"></path><path d="M 7 19 l -1 6 l 6 -1" class="the_champ_no_fill the_champ_svg_stroke" stroke="#484848" stroke-width="2" fill="none"></path><path d="M 10 10 q -1 8 8 11 c 5 -1 0 -6 -1 -3 q -4 -3 -5 -5 c 4 -2 -1 -5 -1 -4" fill="#484848"></path></svg></span></a><a class="the_champ_more" title="More" rel="nofollow noopener" style="font-size:24px!important;border:0;box-shadow:none;display:inline-block!important;font-size:16px;padding:0 4px;vertical-align: middle;display:inline;" href="https://www.automationdojos.com/?p=20985" onclick="event.preventDefault()"><span class="the_champ_svg" style="background-color:#ee8e2d;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block!important;opacity:1;float:left;font-size:32px!important;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;display:inline;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box;" onclick="theChampMoreSharingPopup(this, 'https://www.automationdojos.com/?p=20985', 'JMeter', '' )"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-.3 0 32 32" version="1.1" width="100%" height="100%" style="display:block;" xml:space="preserve"><g><path fill="#484848" d="M18 14V8h-4v6H8v4h6v6h4v-6h6v-4h-6z" fill-rule="evenodd"></path></g></svg></span></a></div></div><p>The post <a href="https://www.automationdojos.com/how-to-api-testing-with-jmeter/">How To Do API Testing with JMeter</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.automationdojos.com/how-to-api-testing-with-jmeter/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Record Using BlazeMeter Plugin (JMeter)</title>
		<link>https://www.automationdojos.com/recording-jmeter-using-blazemeter-plugin/</link>
					<comments>https://www.automationdojos.com/recording-jmeter-using-blazemeter-plugin/#respond</comments>
		
		<dc:creator><![CDATA[Tushar Sharma]]></dc:creator>
		<pubDate>Wed, 12 Dec 2018 10:11:13 +0000</pubDate>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[How-To JMeter]]></category>
		<category><![CDATA[JMeter]]></category>
		<category><![CDATA[NFT Automation]]></category>
		<category><![CDATA[Test Automation]]></category>
		<category><![CDATA[blazemeter-plugin]]></category>
		<category><![CDATA[jmeter]]></category>
		<category><![CDATA[jmeter-recording]]></category>
		<category><![CDATA[NFT]]></category>
		<category><![CDATA[Performance testing]]></category>
		<guid isPermaLink="false">https://www.automationdojos.com/?p=13277</guid>

					<description><![CDATA[<p><a href="https://www.automationdojos.com/recording-jmeter-using-blazemeter-plugin/">How To Record Using BlazeMeter Plugin (JMeter)</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<p><img width="280" height="168" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter001-280x168.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter001-280x168.png 280w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter001-300x180.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter001-150x90.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter001-200x120.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter001-400x240.png 400w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter001.png 575w" sizes="auto, (max-width: 280px) 100vw, 280px" /></p>
<p>Honestly speaking if you already have a mature or established process using &#8216;native&#8217; JMeter from Apache, without any kind of wrappers utilities or third-party tools then this article is of little value to you. However, there are many companies and/or projects out there who may employ some wrappers or third-party tools, plugins etc. around JMeter, [&#8230;]</p>
<p>The post <a href="https://www.automationdojos.com/recording-jmeter-using-blazemeter-plugin/">How To Record Using BlazeMeter Plugin (JMeter)</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.automationdojos.com/recording-jmeter-using-blazemeter-plugin/">How To Record Using BlazeMeter Plugin (JMeter)</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<h2 class="simpletoc-title">Table of Contents</h2>
<ul class="simpletoc-list">
<li><a href="#1-adding-blazemeter-plugin-to-browser">1. Adding Blazemeter Plugin to Browser</a>

</li>
<li><a href="#2-recording-script-via-blazemeter-plugin">2. Recording Script via BlazeMeter Plugin</a>

</li>
<li><a href="#3-importing-script-jmx-file-into-jmeter">3. Importing Script (.jmx file) into JMeter</a>

</li>
<li><a href="#4-adding-jmeter-listeners">4. Adding JMeter Listeners</a>

</li>
<li><a href="#5-viewing-result-tree-listener">5. Viewing Result Tree Listener</a>

</li>
<li><a href="#6-running-and-validating-our-script">6. Running and Validating Our Script</a>
</li></ul>


<p>Honestly speaking if you already have a mature or established process using <strong><em>&#8216;native&#8217;</em></strong> JMeter from Apache, without any kind of wrappers utilities or third-party tools then this article is of little value to you.</p>



<p>However, there are many companies and/or projects out there who may employ some <em>wrappers or third-party tools, plugins</em> etc. around JMeter, in order to ease out their NFT process while <em>addressing limitations of &#8216;native&#8217; Apache JMeter</em>. In this regard, there are a number of solutions and plugins available from Blazemeter.</p>



<p>If you don&#8217;t want to work natively with JMeter then one such solution from Blazemeter is the Chrome Plugin. The Chrome extension records all of the HTTP/S requests and can create a synced JMeter and Selenium scripts. Furthermore, If you are a registered or licensed user of Blazemeter then it automatically uploads it to BlazeMeter, where you can execute it with a single click.</p>



<p>In this case, there is <strong><em>no need to install JMeter</em></strong> nor Selenium to record or run your performance test, the Chrome extension will <em>create the JMeter and Selenium scripts automatically</em>. The extension will also allow you to debug and test your recorded Selenium session on your local Chrome browser.</p>



<p>However, in this article, we shall be <strong>only</strong> demonstrating a quick recording scenario using BlazeMeter chrome plugin.We’ll be doing a Login test on a website called <a href="https://demo.taotesting.com/tao/Main/login">demo.taotesting.com.</a></p>


<h2 class="wp-block-heading" id="1-adding-blazemeter-plugin-to-browser">1. Adding Blazemeter Plugin to Browser</h2>


<p>You will need to download and install the BlazeMeter plugin form the Chrome <a href="https://chrome.google.com/webstore/search/blazemeter?hl=en-US&amp;utm_source=chrome-ntp-launcher">Web store</a>.Simply add the plugin and you are good to go.</p>


<h2 class="wp-block-heading" id="2-recording-script-via-blazemeter-plugin">2. Recording Script via BlazeMeter Plugin</h2>


<p>If you are new to BlazeMeter, you will <strong><em>need to Sign-up</em></strong>. If you are already registered, just Login</p>



<p><strong>Step 1:</strong> Name your test.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter"><img loading="lazy" decoding="async" width="387" height="383" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter1.png" alt="" class="wp-image-13288" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter1.png 387w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter1-300x297.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter1-100x100.png 100w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter1-200x198.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter1-45x45.png 45w" sizes="auto, (max-width: 387px) 100vw, 387px" /></figure></div>



<p><strong>Step 2:</strong> Click the Record button to begin recording the steps of the test.</p>



<p><strong>Step 3:</strong> Go to the <a href="https://demo.taotesting.com/tao/Main/login">demo testing site</a>.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter"><img loading="lazy" decoding="async" width="1290" height="632" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter2.png" alt="" class="wp-image-13289" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter2.png 1290w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter2-300x147.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter2-768x376.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter2-1024x502.png 1024w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter2-200x98.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter2-400x196.png 400w" sizes="auto, (max-width: 1290px) 100vw, 1290px" /></figure></div>



<p><strong>Step 4:</strong> Enter the Login ID and Password provided therein.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter"><img loading="lazy" decoding="async" width="1366" height="606" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter3.png" alt="" class="wp-image-13290" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter3.png 1366w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter3-300x133.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter3-768x341.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter3-1024x454.png 1024w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter3-200x89.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter3-400x177.png 400w" sizes="auto, (max-width: 1366px) 100vw, 1366px" /></figure></div>



<p><strong>Step 5:</strong> Click Log in and ensure that you have successfully logged in.</p>



<p><strong>Step 6:</strong> Click “Stop”. BlazeMeter will begin to process your test.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter"><img loading="lazy" decoding="async" width="369" height="239" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter4.png" alt="" class="wp-image-13291" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter4.png 369w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter4-300x194.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter4-200x130.png 200w" sizes="auto, (max-width: 369px) 100vw, 369px" /></figure></div>



<p><strong>Step 7:</strong> Download the .jmx file by clicking the Save Button. In the prompted screen, select “JMeter only” and the domain as taotesting.com. Now click “Save” and the .jmx file will be downloaded.</p>


<div class="su-row"><div class="su-column su-column-size-1-2"><div class="su-column-inner su-u-clearfix su-u-trim"> <img loading="lazy" decoding="async" class="size-full aligncenter rt-image wp-image-13281" style="margin-top: 15px; margin-bottom: 20px;" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter5.png" alt="" width="302" height="434" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter5.png 302w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter5-209x300.png 209w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter5-139x200.png 139w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter5-278x400.png 278w" sizes="auto, (max-width: 302px) 100vw, 302px" /></div></div> <div class="su-column su-column-size-1-2"><div class="su-column-inner su-u-clearfix su-u-trim"> <img loading="lazy" decoding="async" class="size-full aligncenter rt-image wp-image-13282" style="margin-top: 15px; margin-bottom: 20px;" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter6.png" alt="" width="306" height="434" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter6.png 306w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter6-212x300.png 212w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter6-141x200.png 141w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter6-282x400.png 282w" sizes="auto, (max-width: 306px) 100vw, 306px" /></div></div></div>



<p><strong><em>Now we can start our work with JMeter.</em></strong></p>


<div class="su-spacer" style="height:5px"></div>


<h2 class="wp-block-heading" id="3-importing-script-jmx-file-into-jmeter">3. Importing Script (.jmx file) into JMeter</h2>


<p>Let’s import the test that we just recorded.</p>



<p><strong>Step 1:</strong> Click Open in the menu bar and open the downloaded.jmx file into JMeter and save it with your project name.</p>



<p><strong>Step 2.</strong> Then you will see the imported components under your Test Plan. Under the Thread Group, you will find the Test scenarios.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter"><img loading="lazy" decoding="async" width="1000" height="532" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter7.png" alt="" class="wp-image-13283" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter7.png 1000w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter7-300x160.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter7-768x409.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter7-200x106.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter7-400x213.png 400w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></figure></div>



<p>The Login ID and Password that was used under the Test will be displayed<br>&gt;&gt; Test&gt;&gt;<a href="https://demo.taotesting.com/tao/Main/login">https://demo.taotesting.com/tao/Main/login</a>.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter"><img loading="lazy" decoding="async" width="499" height="98" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter8.png" alt="" class="wp-image-13284" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter8.png 499w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter8-300x59.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter8-200x39.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter8-400x79.png 400w" sizes="auto, (max-width: 499px) 100vw, 499px" /></figure></div>


<div class="su-spacer" style="height:10px"></div>


<h2 class="wp-block-heading" id="4-adding-jmeter-listeners">4. Adding JMeter Listeners</h2>


<p>Listeners are used to display test results in JMeter. They help to monitor the requests sent by JMeter and analyze responses from the server while testing. Time and capacity related information collected for requests and responses from JMeter and statistical information such as distribution and percentages are the main things that listeners deal with.</p>



<p>We have to add a Result Tree listener to view our results.</p>



<p>Right-click on your Test Plan (Testing 2 in my case) &gt;&gt;<strong>Add</strong> &gt;&gt;<strong>Listener</strong> &gt;&gt;<strong>View Result Tree</strong> and you can have the result tree pane.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter"><img loading="lazy" decoding="async" width="595" height="399" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter9.png" alt="" class="wp-image-13285" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter9.png 595w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter9-300x201.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter9-200x134.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter9-400x268.png 400w" sizes="auto, (max-width: 595px) 100vw, 595px" /></figure></div>


<div class="su-spacer" style="height:10px"></div>


<h2 class="wp-block-heading" id="5-viewing-result-tree-listener">5. Viewing Result Tree Listener</h2>


<p>This listener displays the samplers generated by JMeter and their assertion results. This listener provides request parameters, response parameters, and the response data. It displays the results under the relevant tabs named Sampler Result, Request, and Response Data.</p>



<p>In the Sampler Result, tab you will find information about headers, response code, time-related information such as latency, cookies, error count, etc. The Request tab gives information about HTTP methods, Cookies added, the URL and about the JMeter Script added.</p>



<p>This Listener is able to render the information transmitted into simple formats such as text, HTML or XML. Also, the substrings are filtered by this listener, this helps to construct and validate some post processors. Apart from that, it can display the unsuccessful assertions and compare the actual and expected results. These are some valuable features of View Result Tree Listener.</p>


<h2 class="wp-block-heading" id="6-running-and-validating-our-script">6. Running and Validating Our Script</h2>


<p>Let’s follow these steps to validate our test.</p>



<p><strong>Step 1:</strong> Run the test by clicking Start in the menu bar. You will see the verified results in the Result Tree Listener.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter"><img loading="lazy" decoding="async" width="656" height="421" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter10.png" alt="" class="wp-image-13286" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter10.png 656w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter10-300x193.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter10-200x128.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter10-400x257.png 400w" sizes="auto, (max-width: 656px) 100vw, 656px" /></figure></div>



<p><strong>Step 2:</strong> Check the validated Sampler result, Request, and Response data to see the sample, code verified results, HTML scripts, and Response Headers respectively.</p>



<p><strong>Hint: </strong>Change the names of your HTTP Requests to identify them easily. A meaningful name can be provided instead of the HTTP address.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter"><img loading="lazy" decoding="async" width="667" height="301" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter11.png" alt="" class="wp-image-13287" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter11.png 667w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter11-300x135.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter11-200x90.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_using-blazemeter11-400x181.png 400w" sizes="auto, (max-width: 667px) 100vw, 667px" /></figure></div>



<p>Apache JMeter with BlazeMeter is surely one of the top solutions if you are thinking of venturing with non-native JMeter territory. Even though JMeter has many built-in solutions and features, BlazeMeter is more useful because of the additional features it provides.</p>



<p>Its worth giving a shot, so try it out and see if it works for you. Cheers!</p>
<div class='the_champ_sharing_container the_champ_vertical_sharing the_champ_hide_sharing the_champ_bottom_sharing' style='width:42px;left: -10px;top: 222px;-webkit-box-shadow:none;box-shadow:none;' data-super-socializer-href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/"><div class="the_champ_sharing_ul"><a aria-label="Facebook" class="the_champ_facebook" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13277" title="Facebook" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#0765FE;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#484848" d="M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z"></path></svg></span></a><a aria-label="Twitter" class="the_champ_button_twitter" href="https://twitter.com/intent/tweet?via=@testoxide&text=JMeter&url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13277" title="Twitter" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_twitter" style="background-color:#55acee;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 39 39"><path d="M28 8.557a9.913 9.913 0 0 1-2.828.775 4.93 4.93 0 0 0 2.166-2.725 9.738 9.738 0 0 1-3.13 1.194 4.92 4.92 0 0 0-3.593-1.55 4.924 4.924 0 0 0-4.794 6.049c-4.09-.21-7.72-2.17-10.15-5.15a4.942 4.942 0 0 0-.665 2.477c0 1.71.87 3.214 2.19 4.1a4.968 4.968 0 0 1-2.23-.616v.06c0 2.39 1.7 4.38 3.952 4.83-.414.115-.85.174-1.297.174-.318 0-.626-.03-.928-.086a4.935 4.935 0 0 0 4.6 3.42 9.893 9.893 0 0 1-6.114 2.107c-.398 0-.79-.023-1.175-.068a13.953 13.953 0 0 0 7.55 2.213c9.056 0 14.01-7.507 14.01-14.013 0-.213-.005-.426-.015-.637.96-.695 1.795-1.56 2.455-2.55z" fill="#484848"></path></svg></span></a><a aria-label="Linkedin" class="the_champ_button_linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13277" title="Linkedin" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_linkedin" style="background-color:#0077b5;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z" fill="#484848"></path></svg></span></a><a aria-label="Pinterest" class="the_champ_button_pinterest" href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/" onclick="event.preventDefault();javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="noopener" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_pinterest" style="background-color:#cc2329;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 35 35"><path fill="#484848" d="M16.539 4.5c-6.277 0-9.442 4.5-9.442 8.253 0 2.272.86 4.293 2.705 5.046.303.125.574.005.662-.33.061-.231.205-.816.27-1.06.088-.331.053-.447-.191-.736-.532-.627-.873-1.439-.873-2.591 0-3.338 2.498-6.327 6.505-6.327 3.548 0 5.497 2.168 5.497 5.062 0 3.81-1.686 7.025-4.188 7.025-1.382 0-2.416-1.142-2.085-2.545.397-1.674 1.166-3.48 1.166-4.689 0-1.081-.581-1.983-1.782-1.983-1.413 0-2.548 1.462-2.548 3.419 0 1.247.421 2.091.421 2.091l-1.699 7.199c-.505 2.137-.076 4.755-.039 5.019.021.158.223.196.314.077.13-.17 1.813-2.247 2.384-4.324.162-.587.929-3.631.929-3.631.46.876 1.801 1.646 3.227 1.646 4.247 0 7.128-3.871 7.128-9.053.003-3.918-3.317-7.568-8.361-7.568z"/></svg></span></a><a aria-label="Reddit" class="the_champ_button_reddit" href="https://reddit.com/submit?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13277&title=JMeter" title="Reddit" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_reddit" style="background-color:#ff5700;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="#484848"/></svg></span></a><a aria-label="Whatsapp" class="the_champ_whatsapp" href="https://api.whatsapp.com/send?text=JMeter https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13277" title="Whatsapp" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#55eb4c;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -5 40 40"><path class="the_champ_svg_stroke the_champ_no_fill" stroke="#484848" stroke-width="2" fill="none" d="M 11.579798566743314 24.396926207859085 A 10 10 0 1 0 6.808479557110079 20.73576436351046"></path><path d="M 7 19 l -1 6 l 6 -1" class="the_champ_no_fill the_champ_svg_stroke" stroke="#484848" stroke-width="2" fill="none"></path><path d="M 10 10 q -1 8 8 11 c 5 -1 0 -6 -1 -3 q -4 -3 -5 -5 c 4 -2 -1 -5 -1 -4" fill="#484848"></path></svg></span></a><a class="the_champ_more" title="More" rel="nofollow noopener" style="font-size:24px!important;border:0;box-shadow:none;display:inline-block!important;font-size:16px;padding:0 4px;vertical-align: middle;display:inline;" href="https://www.automationdojos.com/?p=13277" onclick="event.preventDefault()"><span class="the_champ_svg" style="background-color:#ee8e2d;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block!important;opacity:1;float:left;font-size:32px!important;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;display:inline;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box;" onclick="theChampMoreSharingPopup(this, 'https://www.automationdojos.com/?p=13277', 'JMeter', '' )"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-.3 0 32 32" version="1.1" width="100%" height="100%" style="display:block;" xml:space="preserve"><g><path fill="#484848" d="M18 14V8h-4v6H8v4h6v6h4v-6h6v-4h-6z" fill-rule="evenodd"></path></g></svg></span></a></div></div><p>The post <a href="https://www.automationdojos.com/recording-jmeter-using-blazemeter-plugin/">How To Record Using BlazeMeter Plugin (JMeter)</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.automationdojos.com/recording-jmeter-using-blazemeter-plugin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Working with JMeter Listeners</title>
		<link>https://www.automationdojos.com/working-with-jmeter-listeners/</link>
					<comments>https://www.automationdojos.com/working-with-jmeter-listeners/#respond</comments>
		
		<dc:creator><![CDATA[Tushar Sharma]]></dc:creator>
		<pubDate>Wed, 12 Sep 2018 14:32:00 +0000</pubDate>
				<category><![CDATA[JMeter]]></category>
		<category><![CDATA[JMeter Tutorials]]></category>
		<category><![CDATA[NFT Automation]]></category>
		<category><![CDATA[Test Automation]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jmeter]]></category>
		<category><![CDATA[jmeter-listeners]]></category>
		<category><![CDATA[NFT]]></category>
		<category><![CDATA[Performance testing]]></category>
		<guid isPermaLink="false">https://www.automationdojos.com/?p=22556</guid>

					<description><![CDATA[<p><a href="https://www.automationdojos.com/working-with-jmeter-listeners/">Working with JMeter Listeners</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<p><img width="575" height="345" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-fimg.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-fimg.png 575w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-fimg-300x180.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-fimg-150x90.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-fimg-200x120.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-fimg-400x240.png 400w" sizes="auto, (max-width: 575px) 100vw, 575px" /></p>
<p>About Listeners Listeners are used for displaying test results in JMeter. Listeners allow system engineers to analyze the responses from the testing system and monetize the request sent from JMeter. You can show the listener results in a table, tree, graph, or write into a file. These demonstrated effects consist of time details,capacity-related information, percentages, [&#8230;]</p>
<p>The post <a href="https://www.automationdojos.com/working-with-jmeter-listeners/">Working with JMeter Listeners</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.automationdojos.com/working-with-jmeter-listeners/">Working with JMeter Listeners</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<div role="navigation" aria-label="Table of Contents" class="simpletoc blog-post-toc toc-none wp-block-simpletoc-toc"><h2 class="simpletoc-title">Table of Contents</h2>
<ul class="simpletoc-list">
<li><a href="#about-listeners">About Listeners</a>

</li>
<li><a href="#1-how-to-add-a-listener">1. How to add a listener</a>

</li>
<li><a href="#2-basic-listeners-for-viewing-results">2. Basic listeners for viewing results</a>


<ul><li>
<a href="#21-view-results-in-table-listener">2.1) View Results in Table Listener</a>

</li>
<li><a href="#22-view-results-tree-listener">2.2) View Results Tree Listener</a>

</li>
<li><a href="#23-graph-results-listener">2.3) Graph Results Listener</a>

</li>
<li><a href="#24-save-responses-to-a-file-listener">2.4) Save Responses to a File Listener</a>
</li>
</ul>
</li></ul></div>

<h2 class="wp-block-heading" id="about-listeners">About Listeners</h2>


<p>Listeners are used for displaying test results in JMeter. Listeners allow system engineers to analyze the responses from the testing system and monetize the request sent from JMeter. </p>



<p>You can show the listener results in a table, tree, graph, or write into a file. These demonstrated effects consist of time details,capacity-related information, percentages, and distributions.</p>


<h2 class="wp-block-heading" id="1-how-to-add-a-listener">1. How to add a listener</h2>


<p>Listeners can be placed by right-clicking on a thread group or a sample and clicking Add &gt;&gt; Listener &gt;&gt; the Listener you prefer to have. Plenty of listeners with different aspects have added to the Listeners menu. The required listener has selected the sample and the relevance of the data. These listeners collect data from their level or high level of its placement position.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="696" height="668" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-1.png" alt="" class="wp-image-22562" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-1.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-1-300x288.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-1-150x144.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-1-438x420.png 438w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-1-200x192.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-1-400x384.png 400w" sizes="auto, (max-width: 696px) 100vw, 696px" /></figure>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="366" height="345" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-2.png" alt="" class="wp-image-22563" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-2.png 366w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-2-300x283.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-2-150x141.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-2-200x189.png 200w" sizes="auto, (max-width: 366px) 100vw, 366px" /></figure>



<p>I have created two thread groups in the above Test Plan. A “View Results Tree Listener” has been placed in three different positions in the Test Plan. “View Results Tree 1”&nbsp; Listener has is added as a child element of the “FTP Request Post” sample. So it will only display the results of its parent sample.“View Results Tree 2”&nbsp; listener has placed under the” Thread Group.” So it will present results of all samplers in “Thread Group.” “View Results Tree 3” listener will show the results of all samplers in both “Thread Group &#8221; and “New Thread Group.” Following is how a listener shows results based on its position.</p>


<h2 class="wp-block-heading" id="2-basic-listeners-for-viewing-results">2. Basic listeners for viewing results</h2>


<p>I have created an HTTP Request Sampler to demonstrate the listeners below. I have used the Apache JMeter User Manual page to test the listeners, and you can find it from <a href="https://jmeter.apache.org/usermanual/listeners.html">this link</a>. The image below shows the settings of the HTTP <strong>Request Sampler</strong>. Also, I have to change the <strong>Thread Group</strong> properties for ten users. Use the path mentioned above to add.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1013" height="371" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-3.png" alt="" class="wp-image-22564" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-3.png 1013w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-3-300x110.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-3-768x281.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-3-150x55.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-3-696x255.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-3-200x73.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-3-400x146.png 400w" sizes="auto, (max-width: 1013px) 100vw, 1013px" /></figure>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="638" height="465" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-4.png" alt="" class="wp-image-22565" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-4.png 638w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-4-300x219.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-4-150x109.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-4-576x420.png 576w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-4-324x235.png 324w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-4-200x146.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-4-400x292.png 400w" sizes="auto, (max-width: 638px) 100vw, 638px" /></figure>


<div class="su-spacer" style="height:5px"></div>


<h3 class="wp-block-heading" id="21-view-results-in-table-listener">2.1) <strong>View Results in Table</strong> Listener</h3>


<p>This listener displays the data in the form of a table. The ten users obtain the following results. These results are in order of the time samples that were issued. Below is a useful listener to estimate a system under test quickly. Let’s understand the outputs from this listener.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1015" height="358" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-5.png" alt="" class="wp-image-22566" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-5.png 1015w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-5-300x106.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-5-768x271.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-5-150x53.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-5-696x245.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-5-200x71.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-5-400x141.png 400w" sizes="auto, (max-width: 1015px) 100vw, 1015px" /></figure>



<p>“Sample” is the number of the sample of 10 samples that we have used. Then the start time and the Thread Name are displayed. 1-1 in that indicates the first iteration of example 1. “Label” shows the type of request we have used. “Sample Time” is the response time for each sample in milliseconds. “Status” is displayed based on the assertion we use. If the claim passes, it shows in green, and if it fails, it shows in red. “Sent Bytes” are the size of our sample. “Latency” means the time that takes to receive a response from the start time. “Connect time” is the time that seeks to connect to the server.</p>


<div class="su-spacer" style="height:5px"></div>


<h3 class="wp-block-heading" id="22-view-results-tree-listener">2.2) <strong>View Results Tree</strong> Listener</h3>


<p>This listener displays the samples and the results related to them. It displays request parameters, response parameters, and response data of the samples. ”Sampler Result” section also shows the data discussed in the above listener. In addition to that, it displays “Error count,” Data type,” Response Message,” Content-Type” data.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="491" height="562" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-6.png" alt="" class="wp-image-22567" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-6.png 491w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-6-262x300.png 262w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-6-150x172.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-6-300x343.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-6-367x420.png 367w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-6-175x200.png 175w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-6-349x400.png 349w" sizes="auto, (max-width: 491px) 100vw, 491px" /></figure>



<p>“Request” shows the Get request to the server for receiving the information.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="650" height="443" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-7.png" alt="" class="wp-image-22568" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-7.png 650w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-7-300x204.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-7-150x102.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-7-218x150.png 218w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-7-616x420.png 616w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-7-200x136.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-7-400x273.png 400w" sizes="auto, (max-width: 650px) 100vw, 650px" /></figure>



<p>Response data shows the data received from the server. In this case, it is an HTML code of the web page.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="927" height="635" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8.png" alt="" class="wp-image-22569" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8.png 927w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8-300x206.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8-768x526.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8-150x103.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8-218x150.png 218w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8-696x477.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8-613x420.png 613w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8-100x70.png 100w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8-200x137.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-8-400x274.png 400w" sizes="auto, (max-width: 927px) 100vw, 927px" /></figure>


<div class="su-spacer" style="height:5px"></div>


<h3 class="wp-block-heading" id="23-graph-results-listener">2.3) <strong>Graph Results</strong> Listener</h3>


<p>This listener generates the results in the form of a graph. It can give the Average, Median, Deviation, and Throughput data of the samples in a graphical view.“ Loop Count” property of the Thread Group should be set to infinite to get a continuous graph. The following listener is highly memory-consuming. So if you are testing a massive load test, it is better to get your results into a file.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1007" height="648" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-9.png" alt="" class="wp-image-22570" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-9.png 1007w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-9-300x193.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-9-768x494.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-9-150x97.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-9-696x448.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-9-653x420.png 653w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-9-200x129.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-9-400x257.png 400w" sizes="auto, (max-width: 1007px) 100vw, 1007px" /></figure>


<div class="su-spacer" style="height:5px"></div>


<h3 class="wp-block-heading" id="24-save-responses-to-a-file-listener"><strong>2.4) Save Responses to a File</strong> Listener</h3>


<p>You can see a field called Filename in all these listeners. So you can give a “.CSV” or. “XML” file to save these data from the listeners in the runtime to that file. Give the path of that file in the desired location to the “Filename” field and run it. I have given a file as “Logged Data” for View results tree Listener,” and it has saved all the response data as in the below. “CSV” file.this is a beneficial way to observe test results when you are testing large systems.</p>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="573" height="164" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-10.png" alt="" class="wp-image-22571" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-10.png 573w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-10-300x86.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-10-150x43.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-10-200x57.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-10-400x114.png 400w" sizes="auto, (max-width: 573px) 100vw, 573px" /></figure>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" decoding="async" width="1024" height="573" src="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-1024x573.png" alt="" class="wp-image-22572" srcset="https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-1024x573.png 1024w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-300x168.png 300w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-768x430.png 768w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-150x84.png 150w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-696x389.png 696w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-1068x597.png 1068w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-751x420.png 751w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-200x112.png 200w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11-400x224.png 400w, https://www.automationdojos.com/wp-content/uploads/2021/11/post-jmeter-listners-11.png 1189w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>These are the most used listeners in JMeter, and you can try them to see their performance according to your test plans.</p>
<div class='the_champ_sharing_container the_champ_vertical_sharing the_champ_hide_sharing the_champ_bottom_sharing' style='width:42px;left: -10px;top: 222px;-webkit-box-shadow:none;box-shadow:none;' data-super-socializer-href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/"><div class="the_champ_sharing_ul"><a aria-label="Facebook" class="the_champ_facebook" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22556" title="Facebook" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#0765FE;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#484848" d="M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z"></path></svg></span></a><a aria-label="Twitter" class="the_champ_button_twitter" href="https://twitter.com/intent/tweet?via=@testoxide&text=JMeter&url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22556" title="Twitter" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_twitter" style="background-color:#55acee;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 39 39"><path d="M28 8.557a9.913 9.913 0 0 1-2.828.775 4.93 4.93 0 0 0 2.166-2.725 9.738 9.738 0 0 1-3.13 1.194 4.92 4.92 0 0 0-3.593-1.55 4.924 4.924 0 0 0-4.794 6.049c-4.09-.21-7.72-2.17-10.15-5.15a4.942 4.942 0 0 0-.665 2.477c0 1.71.87 3.214 2.19 4.1a4.968 4.968 0 0 1-2.23-.616v.06c0 2.39 1.7 4.38 3.952 4.83-.414.115-.85.174-1.297.174-.318 0-.626-.03-.928-.086a4.935 4.935 0 0 0 4.6 3.42 9.893 9.893 0 0 1-6.114 2.107c-.398 0-.79-.023-1.175-.068a13.953 13.953 0 0 0 7.55 2.213c9.056 0 14.01-7.507 14.01-14.013 0-.213-.005-.426-.015-.637.96-.695 1.795-1.56 2.455-2.55z" fill="#484848"></path></svg></span></a><a aria-label="Linkedin" class="the_champ_button_linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22556" title="Linkedin" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_linkedin" style="background-color:#0077b5;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z" fill="#484848"></path></svg></span></a><a aria-label="Pinterest" class="the_champ_button_pinterest" href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/" onclick="event.preventDefault();javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="noopener" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_pinterest" style="background-color:#cc2329;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 35 35"><path fill="#484848" d="M16.539 4.5c-6.277 0-9.442 4.5-9.442 8.253 0 2.272.86 4.293 2.705 5.046.303.125.574.005.662-.33.061-.231.205-.816.27-1.06.088-.331.053-.447-.191-.736-.532-.627-.873-1.439-.873-2.591 0-3.338 2.498-6.327 6.505-6.327 3.548 0 5.497 2.168 5.497 5.062 0 3.81-1.686 7.025-4.188 7.025-1.382 0-2.416-1.142-2.085-2.545.397-1.674 1.166-3.48 1.166-4.689 0-1.081-.581-1.983-1.782-1.983-1.413 0-2.548 1.462-2.548 3.419 0 1.247.421 2.091.421 2.091l-1.699 7.199c-.505 2.137-.076 4.755-.039 5.019.021.158.223.196.314.077.13-.17 1.813-2.247 2.384-4.324.162-.587.929-3.631.929-3.631.46.876 1.801 1.646 3.227 1.646 4.247 0 7.128-3.871 7.128-9.053.003-3.918-3.317-7.568-8.361-7.568z"/></svg></span></a><a aria-label="Reddit" class="the_champ_button_reddit" href="https://reddit.com/submit?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22556&title=JMeter" title="Reddit" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_reddit" style="background-color:#ff5700;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="#484848"/></svg></span></a><a aria-label="Whatsapp" class="the_champ_whatsapp" href="https://api.whatsapp.com/send?text=JMeter https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D22556" title="Whatsapp" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#55eb4c;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -5 40 40"><path class="the_champ_svg_stroke the_champ_no_fill" stroke="#484848" stroke-width="2" fill="none" d="M 11.579798566743314 24.396926207859085 A 10 10 0 1 0 6.808479557110079 20.73576436351046"></path><path d="M 7 19 l -1 6 l 6 -1" class="the_champ_no_fill the_champ_svg_stroke" stroke="#484848" stroke-width="2" fill="none"></path><path d="M 10 10 q -1 8 8 11 c 5 -1 0 -6 -1 -3 q -4 -3 -5 -5 c 4 -2 -1 -5 -1 -4" fill="#484848"></path></svg></span></a><a class="the_champ_more" title="More" rel="nofollow noopener" style="font-size:24px!important;border:0;box-shadow:none;display:inline-block!important;font-size:16px;padding:0 4px;vertical-align: middle;display:inline;" href="https://www.automationdojos.com/?p=22556" onclick="event.preventDefault()"><span class="the_champ_svg" style="background-color:#ee8e2d;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block!important;opacity:1;float:left;font-size:32px!important;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;display:inline;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box;" onclick="theChampMoreSharingPopup(this, 'https://www.automationdojos.com/?p=22556', 'JMeter', '' )"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-.3 0 32 32" version="1.1" width="100%" height="100%" style="display:block;" xml:space="preserve"><g><path fill="#484848" d="M18 14V8h-4v6H8v4h6v6h4v-6h6v-4h-6z" fill-rule="evenodd"></path></g></svg></span></a></div></div><p>The post <a href="https://www.automationdojos.com/working-with-jmeter-listeners/">Working with JMeter Listeners</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.automationdojos.com/working-with-jmeter-listeners/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Getting Started with Apache JMeter</title>
		<link>https://www.automationdojos.com/getting-started-with-apache-jmeter/</link>
					<comments>https://www.automationdojos.com/getting-started-with-apache-jmeter/#respond</comments>
		
		<dc:creator><![CDATA[Tushar Sharma]]></dc:creator>
		<pubDate>Sun, 19 Aug 2018 17:43:24 +0000</pubDate>
				<category><![CDATA[JMeter]]></category>
		<category><![CDATA[JMeter Tutorials]]></category>
		<category><![CDATA[NFT Automation]]></category>
		<category><![CDATA[Test Automation]]></category>
		<category><![CDATA[Video Posts]]></category>
		<category><![CDATA[jmeter]]></category>
		<category><![CDATA[NFT]]></category>
		<category><![CDATA[Performance testing]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[video-posts]]></category>
		<guid isPermaLink="false">https://www.automationdojos.com/?p=13183</guid>

					<description><![CDATA[<p><a href="https://www.automationdojos.com/getting-started-with-apache-jmeter/">Getting Started with Apache JMeter</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<p><img width="280" height="168" src="https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter-0-280x168.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter-0-280x168.png 280w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter-0-300x180.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter-0-150x90.png 150w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter-0-200x120.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter-0-400x240.png 400w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter-0.png 575w" sizes="auto, (max-width: 280px) 100vw, 280px" /></p>
<p>1. Introduction As a developer, you may have tested the functionality of your code hundreds of times during development. This is known as functional testing. Despite how familiar you are with your product, users will approach it differently and have many different use cases. That’s why you need Non-Functional Testing (NFT). Performance, Security, Usability, and [&#8230;]</p>
<p>The post <a href="https://www.automationdojos.com/getting-started-with-apache-jmeter/">Getting Started with Apache JMeter</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.automationdojos.com/getting-started-with-apache-jmeter/">Getting Started with Apache JMeter</a> | As Published On <a href="https://www.automationdojos.com">Automation Dojos</a></p>
<div role="navigation" aria-label="Table of Contents" class="simpletoc blog-post-toc toc-none wp-block-simpletoc-toc"><h2 class="simpletoc-title">Table of Contents</h2>
<ul class="simpletoc-list">
<li><a href="#1-introduction">1. Introduction</a>

</li>
<li><a href="#2-watch-installation-video">2. Watch Installation Video</a>

</li>
<li><a href="#3-download-and-install">3. Download and Install</a>

</li>
<li><a href="#4-creating-a-test-plan">4. Creating a Test Plan</a>

</li>
<li><a href="#5-adding-a-thread-group">5. Adding a Thread Group</a>

</li>
<li><a href="#6-adding-jmeter-elements">6. Adding JMeter Elements</a>

</li>
<li><a href="#7-making-http-requests">7. Making HTTP Requests</a>

</li>
<li><a href="#8-graph-result-implementation">8. Graph Result Implementation</a>

</li>
<li><a href="#9-run-and-get-the-results">9. Run and Get the Results</a>
</li></ul></div>

<h2 class="wp-block-heading" id="1-introduction">1. Introduction</h2>


<p>As a developer, you may have tested the functionality of your code hundreds of times during development. This is known as functional testing. Despite how familiar you are with your product, users will approach it differently and have many different use cases. That’s why you need Non-Functional Testing (NFT). </p>



<p>Performance, Security, Usability, and Reliability are just some of the many NF aspects that can be tested to ensure a better user experience. Apache JMeter is one of the best ‘Open Source and Free Tool’ that you can use for NFT. It can be used to perform Load Testing, Performance Testing, Scalability Testing, and more.</p>


<h2 class="wp-block-heading" id="2-watch-installation-video">2. Watch Installation Video</h2>

<div class="su-youtube su-u-responsive-media-yes"><iframe loading="lazy" width="600" height="400" src="https://www.youtube.com/embed/Mr4oQwRUUms?" frameborder="0" allowfullscreen allow="autoplay; encrypted-media; picture-in-picture" title=""></iframe></div>


<div class="su-spacer" style="height:10px"></div>


<h2 class="wp-block-heading" id="3-download-and-install">3. Download and Install</h2>

<div class="su-list" style="margin-left:0px">
<ul>
<li><i class="sui sui-check" style="color:#68b63a"></i> <strong>Step 1</strong>: Install the latest version of the Java SE Development Kit. Download it <a href="https://www.oracle.com/java/technologies/downloads/#java8" target="_blank" rel="noreferrer noopener">here</a>.</li>
<li><i class="sui sui-check" style="color:#68b63a"></i> <strong>Step 2</strong>: Download the latest JMeter binaries from <a href="https://jmeter.apache.org/download_jmeter.cgi" target="_blank" rel="noreferrer noopener">here</a>.</li>
<li><i class="sui sui-check" style="color:#68b63a"></i> <strong>Step 3</strong>: Install and launch JMeter as follows:
<ul>
<li><i class="sui sui-check" style="color:#68b63a"></i> Unzip the downloaded JMeter zip file to the intended install folder.</li>
<li><i class="sui sui-check" style="color:#68b63a"></i> Open the extracted folder and go to <span class="su-label su-label-type-default">\Apache JMeter\apache-jmeter-5.2.1\bin</span>.</li>
<li><i class="sui sui-check" style="color:#68b63a"></i> Run the &#8216;<em>.bat</em>&#8216; file and you are good to go.</li>
</ul>
</li>
<li><i class="sui sui-check" style="color:#68b63a"></i> <strong>Step 4</strong>: Identify the basic components of JMeter.</li>
</ul>
</div>


<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="967" height="459" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter1.png" alt="" class="wp-image-13184" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter1.png 967w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter1-300x142.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter1-768x365.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter1-200x95.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter1-400x190.png 400w" sizes="auto, (max-width: 967px) 100vw, 967px" /></figure>
</div>


<p>Now you have a basic idea of JMeter and its components. Let’s try a real-world example for a better understanding. Simply follow these steps to test&nbsp;<strong>youtube.com</strong>&nbsp;as our website.</p>



<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>


<h2 class="wp-block-heading" id="4-creating-a-test-plan">4. Creating a Test Plan</h2>


<p>Let’s start by creating a New Test Plan for our test.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="760" height="132" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter2.png" alt="" class="wp-image-13185" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter2.png 760w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter2-300x52.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter2-200x35.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter2-400x69.png 400w" sizes="auto, (max-width: 760px) 100vw, 760px" /></figure>
</div>


<ol class="wp-block-list">
<li>Start JMeter</li>



<li><strong>Go to File &gt; New&nbsp;</strong>and add a&nbsp;<strong>Test Plan</strong>&nbsp;and give it a name<strong>.</strong></li>
</ol>



<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>


<h2 class="wp-block-heading" id="5-adding-a-thread-group">5. Adding a Thread Group</h2>


<p>This section details setting up a certain number of Threads that will be used for our test. You can do so by following these steps:</p>



<ol class="wp-block-list">
<li>Right-click on the newly created Test Plan which will be displayed in the Test Plan Pane.</li>



<li><strong>Click Add &gt; Threads (Users) &gt;&nbsp;</strong>click&nbsp;<strong>Thread Group</strong></li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="814" height="441" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter3.png" alt="" class="wp-image-13186" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter3.png 814w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter3-300x163.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter3-768x416.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter3-200x108.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter3-400x217.png 400w" sizes="auto, (max-width: 814px) 100vw, 814px" /></figure>
</div>


<p>Then you have to add the thread properties by clicking your thread group. You can add the Thread name and thread properties that are suitable for your test. I added data as follows:</p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="983" height="437" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter4.png" alt="" class="wp-image-13187" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter4.png 983w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter4-300x133.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter4-768x341.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter4-200x89.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter4-400x178.png 400w" sizes="auto, (max-width: 983px) 100vw, 983px" /></figure>
</div>


<p>Based on my values:</p>



<ol class="wp-block-list">
<li><strong>Number of Threads:</strong>&nbsp;100 users being connected to our Server application will be simulated.</li>



<li><strong>Ramp-up Period:</strong>&nbsp;The 100 threads will be generated within a period of 10 seconds.</li>



<li><strong>Loop Count:</strong>&nbsp;The test will be looped (repeated) 10 times.</li>
</ol>



<p>Also, you can define thread time and thread start delay if needed. I have not used those features in order to keep this tutorial simple.</p>



<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>


<h2 class="wp-block-heading" id="6-adding-jmeter-elements">6. Adding JMeter Elements</h2>


<p>Elements are individual tests that will be executed as part of our Test Plan.</p>



<p><strong>HTTP requests</strong>&nbsp;can be added by right-clicking the newly created Thread Group and selecting&nbsp;<strong>Add &gt; Config Element &gt; HTTP Request Defaults.</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="860" height="572" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter5.png" alt="" class="wp-image-13176" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter5.png 860w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter5-300x200.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter5-768x511.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter5-200x133.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter5-400x266.png 400w" sizes="auto, (max-width: 860px) 100vw, 860px" /></figure>
</div>


<p>In the HTTP Request Defaults add your website name under&nbsp;<strong>Basic &gt; WebServer &gt; Server Name or IP:</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="960" height="245" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter6.png" alt="" class="wp-image-13177" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter6.png 960w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter6-300x77.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter6-768x196.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter6-200x51.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter6-400x102.png 400w" sizes="auto, (max-width: 960px) 100vw, 960px" /></figure>
</div>


<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>


<h2 class="wp-block-heading" id="7-making-http-requests">7. Making HTTP Requests</h2>


<p>You can add an HTTP Request by right-clicking on&nbsp;<strong>Thread Group&nbsp;</strong>and selecting<strong>&nbsp;Add &gt; Sampler &gt; HTTP Request.</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="988" height="587" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter7.png" alt="" class="wp-image-13178" srcset="https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter7.png 988w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter7-300x178.png 300w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter7-768x456.png 768w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter7-200x119.png 200w, https://www.automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter7-400x238.png 400w" sizes="auto, (max-width: 988px) 100vw, 988px" /></figure>
</div>


<p>JMeter HTTP Request Sampler lets the user send HTTP/HTTPS requests to the webserver that we need to access. If we need to access the trending section on YouTube we can simply add&nbsp;<strong>/feed/trending</strong>&nbsp;in the path section.</p>



<p><strong>I have not added the path here so that our tests are executed on Youtube.com servers.</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter81.png" alt="" class="wp-image-13179"/></figure>
</div>


<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>


<h2 class="wp-block-heading" id="8-graph-result-implementation">8. Graph Result Implementation</h2>


<p>To add graphically viewable results just Right-click the newly created Test Plan, select&nbsp;<strong>Add &gt; Listener &gt; Graph Results.</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter9.png" alt="" class="wp-image-13179"/></figure>
</div>


<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>


<h2 class="wp-block-heading" id="9-run-and-get-the-results">9. Run and Get the Results</h2>


<p>Firstly, save your work. Now run your tests and obtain the results by clicking the “Run” button on the Menu Bar. The real-time results will be displayed on Graph Results.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://automationdojos.com/wp-content/uploads/2020/05/post_getting-started-JMeter10.png" alt="" class="wp-image-13179"/></figure>
</div>


<p>The above results show the results for our tests on youtube.com:</p>


<div class="su-list" style="margin-left:0px">
<ul>
<li><i class="sui sui-line-chart" style="color:#777"></i> <strong>Red</strong>: Shows the Standard Deviation of our results.</li>
<li><i class="sui sui-line-chart" style="color:#777"></i> <strong>Black</strong>: Signifies the number of sample requests that have been sent to the server.</li>
<li><i class="sui sui-line-chart" style="color:#777"></i> <strong>Blue</strong>: Represents the average number of samples sent.</li>
<li><i class="sui sui-line-chart" style="color:#777"></i> <strong>Green</strong>: Represents the throughput of our results. It refers to the total number of requests handled per minute by the server.</li>
</ul>
</div>


<p><strong>Throughput</strong>&nbsp;and&nbsp;<strong>Deviation&nbsp;</strong>are the most important parameters that we can use to analyze our results. If the throughput is high, we can generally assume that the server has performed well, though this is not always the case. On the other hand, if the Deviation is low, we can assume our web application has performed well.</p>



<p>The above graph results show high throughput and low deviation. These results are very good and they are no surprise considering that YouTube is a popular service. It has been highly optimized in terms of both server performance and web application performance.</p>



<p>I recommend that you try JMeter to analyze your web application because of its simple GUI, free open-source nature, support for a variety of server types, and platform-independent nature. It will make your testing process much smoother and more convenient.</p>
<div class='the_champ_sharing_container the_champ_vertical_sharing the_champ_hide_sharing the_champ_bottom_sharing' style='width:42px;left: -10px;top: 222px;-webkit-box-shadow:none;box-shadow:none;' data-super-socializer-href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/"><div class="the_champ_sharing_ul"><a aria-label="Facebook" class="the_champ_facebook" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13183" title="Facebook" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#0765FE;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#484848" d="M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z"></path></svg></span></a><a aria-label="Twitter" class="the_champ_button_twitter" href="https://twitter.com/intent/tweet?via=@testoxide&text=JMeter&url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13183" title="Twitter" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_twitter" style="background-color:#55acee;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 39 39"><path d="M28 8.557a9.913 9.913 0 0 1-2.828.775 4.93 4.93 0 0 0 2.166-2.725 9.738 9.738 0 0 1-3.13 1.194 4.92 4.92 0 0 0-3.593-1.55 4.924 4.924 0 0 0-4.794 6.049c-4.09-.21-7.72-2.17-10.15-5.15a4.942 4.942 0 0 0-.665 2.477c0 1.71.87 3.214 2.19 4.1a4.968 4.968 0 0 1-2.23-.616v.06c0 2.39 1.7 4.38 3.952 4.83-.414.115-.85.174-1.297.174-.318 0-.626-.03-.928-.086a4.935 4.935 0 0 0 4.6 3.42 9.893 9.893 0 0 1-6.114 2.107c-.398 0-.79-.023-1.175-.068a13.953 13.953 0 0 0 7.55 2.213c9.056 0 14.01-7.507 14.01-14.013 0-.213-.005-.426-.015-.637.96-.695 1.795-1.56 2.455-2.55z" fill="#484848"></path></svg></span></a><a aria-label="Linkedin" class="the_champ_button_linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13183" title="Linkedin" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_linkedin" style="background-color:#0077b5;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z" fill="#484848"></path></svg></span></a><a aria-label="Pinterest" class="the_champ_button_pinterest" href="https://www.automationdojos.com/category/test-automation/nft-automation/apache-jmeter/feed/" onclick="event.preventDefault();javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="noopener" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_pinterest" style="background-color:#cc2329;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 35 35"><path fill="#484848" d="M16.539 4.5c-6.277 0-9.442 4.5-9.442 8.253 0 2.272.86 4.293 2.705 5.046.303.125.574.005.662-.33.061-.231.205-.816.27-1.06.088-.331.053-.447-.191-.736-.532-.627-.873-1.439-.873-2.591 0-3.338 2.498-6.327 6.505-6.327 3.548 0 5.497 2.168 5.497 5.062 0 3.81-1.686 7.025-4.188 7.025-1.382 0-2.416-1.142-2.085-2.545.397-1.674 1.166-3.48 1.166-4.689 0-1.081-.581-1.983-1.782-1.983-1.413 0-2.548 1.462-2.548 3.419 0 1.247.421 2.091.421 2.091l-1.699 7.199c-.505 2.137-.076 4.755-.039 5.019.021.158.223.196.314.077.13-.17 1.813-2.247 2.384-4.324.162-.587.929-3.631.929-3.631.46.876 1.801 1.646 3.227 1.646 4.247 0 7.128-3.871 7.128-9.053.003-3.918-3.317-7.568-8.361-7.568z"/></svg></span></a><a aria-label="Reddit" class="the_champ_button_reddit" href="https://reddit.com/submit?url=https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13183&title=JMeter" title="Reddit" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg the_champ_s__default the_champ_s_reddit" style="background-color:#ff5700;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="#484848"/></svg></span></a><a aria-label="Whatsapp" class="the_champ_whatsapp" href="https://api.whatsapp.com/send?text=JMeter https%3A%2F%2Fwww.automationdojos.com%2F%3Fp%3D13183" title="Whatsapp" rel="nofollow noopener" target="_blank" style="font-size:24px!important;box-shadow:none;display:inline-block;vertical-align:middle"><span class="the_champ_svg" style="background-color:#55eb4c;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block;opacity:1;float:left;font-size:24px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box"><svg style="display:block;" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -5 40 40"><path class="the_champ_svg_stroke the_champ_no_fill" stroke="#484848" stroke-width="2" fill="none" d="M 11.579798566743314 24.396926207859085 A 10 10 0 1 0 6.808479557110079 20.73576436351046"></path><path d="M 7 19 l -1 6 l 6 -1" class="the_champ_no_fill the_champ_svg_stroke" stroke="#484848" stroke-width="2" fill="none"></path><path d="M 10 10 q -1 8 8 11 c 5 -1 0 -6 -1 -3 q -4 -3 -5 -5 c 4 -2 -1 -5 -1 -4" fill="#484848"></path></svg></span></a><a class="the_champ_more" title="More" rel="nofollow noopener" style="font-size:24px!important;border:0;box-shadow:none;display:inline-block!important;font-size:16px;padding:0 4px;vertical-align: middle;display:inline;" href="https://www.automationdojos.com/?p=13183" onclick="event.preventDefault()"><span class="the_champ_svg" style="background-color:#ee8e2d;width:38px;height:38px;border-radius:3px;margin:0;display:inline-block!important;opacity:1;float:left;font-size:32px!important;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;display:inline;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box;" onclick="theChampMoreSharingPopup(this, 'https://www.automationdojos.com/?p=13183', 'JMeter', '' )"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-.3 0 32 32" version="1.1" width="100%" height="100%" style="display:block;" xml:space="preserve"><g><path fill="#484848" d="M18 14V8h-4v6H8v4h6v6h4v-6h6v-4h-6z" fill-rule="evenodd"></path></g></svg></span></a></div></div><p>The post <a href="https://www.automationdojos.com/getting-started-with-apache-jmeter/">Getting Started with Apache JMeter</a> appeared first on <a href="https://www.automationdojos.com">Automation Dojos</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.automationdojos.com/getting-started-with-apache-jmeter/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
