Wednesday, February 29, 2012

Steps to create test plan in JMeter (Part 2.2)


Steps to create test plan in JMeter: HTTP Testing

JMeter location on my PC: 
Desktop\jakarta-jmeter-2.5\jakarta-jmeter-2.5\bin >> ApacheJMeter 
#Click on this to open JMeter#

Steps:
1.) Right click add a Config element HTTP Request Defaults.
2.) Then add the server-IP addresses and port details. 
3.) Create a Proxy server and provide the port number for which the browser listens.
4.) Change the browser LAN settings, set the same port as that we set in the JMeter proxy settings.
5.) Click on the Start button in the HTTP proxy server window.
6.) Open the browser and type the URL http://jakarta.apache.org/
7.) And browse the Jmeter links. Click on Stop button in the Http proxy server window.
8.) Add the Summary Report #The result added to this#
9.) Open the Thread Group window and change the number of threads / users to 7 (Change the value to any number which you want to record).
10) Select Run -> Start in the JMeter menu options.
11.) Summary Report will be populated with the test results for the modified number of users set in the thread group window.




HTTP load testing with JMeter (Part 2.1)


HTTP load testing with JMeter:



As in first part we already downloaded the JMeter tool from Apache site. 



Quick summary: 

1.) Download the latest version of JMeter from the website http://jakarta.apache.org/
2.) Run the batch file in JMeter folder -> bin -> jmeter.bat  # Steps to start JMeter #