Friday, September 15, 2017

Basic Elements required to do Load/Performance Testing in JMeter



                    



Below mentioned elements are required for JMeter Basic Load / Performance Testing.

1) Test Plan
2) Threads Group > Recordings
3) Workbench > Http(s) Test Script Recorder
4) Basic Listeners
1) View Result Tree
2) Summary Report

Here Test Plan and Workbench will be Shown when the JMeter is freshly opened (Open JMeter using jmeter.bat for Windows in JMeter > Bin Folder) and (for Linux jmeter.sh).

User can add above mentioned elements manually one by one (or) Click the "Templates" which is located in the Menu Bar,Which will create all Basic Elements of JMeter to do Load / Performance   Testing.

Test Plan : A test plan is the top level body of JMeter, explains sequence of steps execute at run  time.

Threads Group: The name,Thread Groups represent a group of Threads. Under this group, each   thread simulates one real user requests to the server.

Thread Group will be having 3 Properties :

       1) Number of threads - the number of users you are going to test.
   2) Ramp-up time -  The time set by the users to execute the no. of threads.
   3) Loop count - How many times the test should be looped.
   
Recordings : Here the script will be recorded automatically , when user records the Request from Mobile(Look at the Post 2 and 3) for Automatic Recording.

Workbench > Http(s) Test Script Recorder : From Here only user will start the JMeter Proxy to record the Script under "Recordings" ( Look at the Earlier Post).

View Result Tree : Here user can see the request and responses for each and every  Http Requests which is recorded.

Summary Report : Here user can see the Min,Max and Avg Response time , Errors and such other information for each and every request.



Next Topic will be followed in up coming posts😊😊😊.

Thanks

A M Balaji



No comments:

Post a Comment