Explain How JMeter works in real time?
Steps to install JMeter
-----------------------
Step 1 : Open the browser and search for JMeter Download.
Step 2 : Click on Download Apache JMeter (1st link
[Link]
Step 3 : Scroll and go to binaries section.
Step 4 : If it is MacBook click on this link ([Link])
If it is windows click on this link ([Link])
Step 5 : Click on download and open downloaded zip file in folder.
Step 6 : Unzip the file or Select the file right click and extract all.(It will
take few minutes).
Step 7 : Click on extracted JMeter file.
Step 8 : You can see many folders inside JMeter file click on Bin.
Step 9 : Click on JMeter executable file for 1st time and then you can use JMeter
(Window batch file).
Step 10 : JMeter home page will be displayed.
Steps to Add Blaze Meter extension for chrome.
----------------------------------------------
Step 1 : Open the Chrome browser and search for blaze meter extension for chrome.
Step 2 : Click on 1st link (BlazeMeter | The Continuous Testing Platform).
Step 3 : Click on add to chrome and click on add extension.
Step 4 : Click on extension in chrome(It is next to search text field you see a
symbol like puzzle).
Step 5 : Click on pin and pin it to the screen.
Steps to record the Steps
-------------------------
Step 1 : Open the browser and enter the URL and click on blaze meter extension.
Step 2 : Create a test name and click on Start recording.
Step 3 : Add a step and then perform action (For each and every action you perform
you should add a step).
Step 4 : After performing all the actions click on stop recording.
Step 5 : Click on Blaze Meter extension.
Step 6 : Click on Download button.
Step 7 : Select JMeter (JMX) Checkbox and click on save button.
Step 8 : Wait for few seconds (Download of JMX file will start).
Step 9 : Click on downloads, JMX fill will be downloaded.
Steps to Use JMeter
-------------------
Step 1 : Click on This PC
Step 2 : Click on Downloads
Step 3 : Click on Extracted JMeter folder
Step 4 : Click on Bin
Step 5 : Click on Executable Jar file for 1st time.
Step 6 : JMeter will open and it will be minimized
Step 7 : Click on JMeter in the bottom.
Step 8 : Home page will be displayed
Step 9 : Now JMeter is setup to Start the performance test.
Step 10 : Before we start the test open D drive and Create a folder naming
performance testing
Step 11 : Create 3 folder inside Performance testing folder naming JMX, JTL and
Reports.
Steps to Create Test
--------------------
Step 1 : Click on Open(3rd button)
Step 2 : Open Popup will be displayed--> Click on Home icon.
Step 3 : Double Click on Downloads.
Step 4 : Select the JMX file and Double click.
Step 5 : Click on Thread group right click and click on add and click on Listener
and select View result tree.
Step 6 : Click on Thread group right click and click on add and click on Listener
and select Summary Report.
Step 7 : Click on number of threads and Add number of users.
Step 8 : Click on Ramp up period and give the Ramp-up period.
Step 9 : Click on Loop count and give the loop count.
Step 10 : Click on Start no pauses.
Step 11 : Once Test is completed Click on Save (4th icon).
Steps to Generate Report
------------------------
Step 1: Navigate to This PC and Copy JMX file (After execution) and Paste It to D:
Drive Performance testing folder inside that we have created a folder called JMX.
Step 2 : Select the JMX file and click on function(fn) + f2 file name will be
selected.
Step 3 : jmeter -n -t "D:\Performance Testing\JMX\[Link]" -l "D:\Performance
Testing\JTL\[Link]" -e -o "D:\Performance Testing\Reports\Afternoon"
Step 4 : Replace Afternoon with Copied file name in the above syntax and copy the
Updated syntax.
Step 5 : Click on This PC-->Click on Downloads-->Click on unzipped JMeter folder--
>Click on bin.
Step 6 : Click on the Search textfiled complete path will be selected, Remove the
path and enter cmd in that textfield.
Step 7 : Command prompt will be displayed now paste the updated syntax there.
Step 8 : It will take few minutes to generate reports.
Step 9 : Navigate to D: Drive click on Performance testing folder-->Click on
Reports-->Click on index-->Report will be displayed in HTML.