How to Build a Web Test Plan in Apache JMeter?

Apache JMeter helps in testing the performance of a webpage by creating test plans. You can follow the below mentioned steps to do so.

  1. Open JMeter. The window will appear somewhat like this.JMeter
  2. In the Name textbox, enter the name of the test plan. For example, you can enter ‘Sample Test’ as the name of the test plan.Name TextBox

In order to get the name reflected, change the focus to Workbench node->Test Plan node.

  1. Add the Thread Group element to configure the number of users to simulate. You can use the context menu to add all the node elements.
  1. Right-click the Thread group and open the context menu. Choose Add->Sampler->HTTP request to add HTTP request sampler.HTTP Request
  2. Configure the empty HTTP request sampler. You can configure the following elements.
  1. Right-click the Thread Group to open the context menu. Select Add->Listener->View Results Tree option.Tree Option
  2. From the menu, select Run and then select Start to execute the test plan.Test Plan Execution

You can save the test plan before starting the test. This helps in running the test multiple times.

  1. You can see the result of a single transaction in the View Result Tree Listener.Tree Listener

You may also like: Basics of JMeter and Troubleshooting

 

SHARE THIS

Get A Free Quote