As i explained in my last post, we discussed about the Thread Group and we discuss about the different properties of the Thread Group. In this post we will understand how we will put load with multiple users and how we get the report of the multiple user request in different type of report format with the help of Listeners.
First add Non - Test Element ( we discussed in out last post)
Right Click on Test Plan -> Mouse hover on Add - > Mouse hover on Non Test Elements -> Select HTTP(S) Test script Recorder
Then Add Thread Group ( we discussed in out last post)
Right Click on Test Plan -> Mouse hover on Add -> Mouse hover on Threads (Users) -> Click on Thread Group
Now transfer the test script into the Thread Group from the HTTP(S) Test script Recorder by simply cut and paste windows shortcuts.
Here i set 50 Virtual users hit the server in 10 seconds( Ramp - Up Period) means in 10th second all 50 user will hit the server
Now i need to get the output so i need to add Listener also in my test script. There are multiple type of listeners but for now i am adding only 3 which are most important to understand output. We need to add Listener in the Thread group so that that can listen the output.
Right Click on Thread Group -> Mouse hover on Add -> Mouse hover on Listeners -> Click on View Result Tree
Right Click on Thread Group -> Mouse hover on Add -> Mouse hover on Listeners -> Click on Aggregate Report
Right Click on Thread Group -> Mouse hover on Add -> Mouse hover on Listeners -> Click on Graph Results
Now i will click on run button to play back the recorded script
You can see result in all Listeners. we will discuss about these out in my next post.
First add Non - Test Element ( we discussed in out last post)
Right Click on Test Plan -> Mouse hover on Add - > Mouse hover on Non Test Elements -> Select HTTP(S) Test script Recorder
Then Add Thread Group ( we discussed in out last post)
Right Click on Test Plan -> Mouse hover on Add -> Mouse hover on Threads (Users) -> Click on Thread Group
Now transfer the test script into the Thread Group from the HTTP(S) Test script Recorder by simply cut and paste windows shortcuts.
Here i set 50 Virtual users hit the server in 10 seconds( Ramp - Up Period) means in 10th second all 50 user will hit the server
Now i need to get the output so i need to add Listener also in my test script. There are multiple type of listeners but for now i am adding only 3 which are most important to understand output. We need to add Listener in the Thread group so that that can listen the output.
Right Click on Thread Group -> Mouse hover on Add -> Mouse hover on Listeners -> Click on View Result Tree
Right Click on Thread Group -> Mouse hover on Add -> Mouse hover on Listeners -> Click on Aggregate Report
Right Click on Thread Group -> Mouse hover on Add -> Mouse hover on Listeners -> Click on Graph Results
Now i will click on run button to play back the recorded script
You can see result in all Listeners. we will discuss about these out in my next post.
Comments
Post a Comment