The steps are as follows:
- Open the Apache Jmeter console. Create a Test Plan.
- Right-click on the Test Plan and click on Add; select Threads (Users).
- Select Thread Group.
- Provide Thread Group name.
- In Thread Group properties, provide Number of Threads, Ramp-up Period, and Loop Count.
- Right-click on Thread Group. Click on Add. Click on Sampler. Click on HTTP Request.
- In HTTP Request, provide Server Name or IP. In our case, it will be localhost or an IP address.
- Give the Port Number where your web server is running.
- Select the Get method and provide a path to the load test:
- Save the .jmx file.
- Now let's ...