JMeter Web Test Plan
In this section, you will learn how to create a basic test plan to test a web page.
For our test purpose, we will test the performance of the web page shown by the URL- https://www.javatpoint.com/
Create JMeter Test Plan
We have to add a sampler in our Users element (Thread Group).
Now, we have to configure the fields of HTTP Request Sampler. It includes:
Save and Execute Test Plan
Note: Sometimes we need to run a test plan multiple times. We can choose running the test plan without saving it.
Verify the Output
Since, we have left the settings of Users element (Thread Group) as single thread (one user) and loop for 1 time (run only 1 time). Consequently, we will get the result as a single user request in the View Result Tree Listener.
This test plan is meant only for one request. But JMeter is capable of sending the same request, as if many users are sending it. To test the web servers with multiple users, we need to change the Users element (Thread Group) settings.
The first tab of View Results Tree panel is Sampler result. It shows JMeter data as well as data returned by web server.
The Sampler result tab shows all the Response headers sent by the web server.
The second tab of View Results Tree panel is Request, which shows all the data sent to the web server as part of the request.
The last tab of View Results Tree panel is Response data. It shows the data received from server in text format.