Showing posts with label Jmeter Introduction. Show all posts
Showing posts with label Jmeter Introduction. Show all posts

How to record a script on JMeter

The recording procedure in the JMeter was explained below in different steps.

Step 1:

Start JMeter by double clicking on “jmeter.bat” in bin folder of JMeter directory

Step 2:

Add a new Thread Group by right clicking on the Test Plan in JMeter

Test Plan à Add à Threads (Users)à Thread Group



Step 3:

Add Recording Controller by right clicking on the Thread Group

Thread Group à Add à Logic controller à Recording Controller


Step 4:

Rename the Recording Controller with the transaction name, by entering the required name in 

Recording Controller à  Name


Step 5:

Add “HTTP(S) Test Script Recorder” by right clicking on the Workbench

Workbench à Add à Non-Test Elements  à HTTP(S) Test Script Recorder



Step 6:

Select the HTTP(S) Test Script Recorder tab in WorkBench

Enter the same port number that you have configured in proxy settings under Global Settings Port

Note: Need to mention domain address in the “HTTPS Domains” field if you are recording a HTTPS application.

Select the “Target Controller” field to set where the script needs to be stored

Click “Start” button to record


Step 7:

Go to browser and enter the application URL in the address bar. Navigate according to the transaction.

Step 8:

After completion of recording the transaction, go to JMeter and click on “Stop” button.
Ensure that the script was recorded properly by expanding the corresponding “Recording Controller”

(Ex: Home_Page)




About JMeter


JMeter is an open source performance testing tool which supports different types of protocols and technologies. It is initially developed in NON-GUI mode to do performance testing on the Apache JServer (Apache Tomcat) and later enhanced to GUI mode which is used to do performance testing with a graphical interface using the swing API interface. The developed application was enabled to run on different types of environment like Windows, UNIX, Linux and Mac OS.
List of protocols that JMeter supports
·         Web - HTTP, HTTPS
·         Web Services: SOAP / XML – RPC
·         FTP
·         Database via JDBC
·         LDAC
·         Message-oriented middleware (MOM) via JMS
·         Mail - SMTP(S), POP3(S) and IMAP(S)
·         MongoDB (NoSQL)
·         Native commands or shell scripts
·         TCP