...
Parameter Name | Description | Value |
host | URL component 'host' of application being tested (URL or IP). | magentojmeter.loc |
admin_password | Admin backend password. | 123123q |
loops | Number of loops to run. | 5 |
frontendPoolUsers | Total number of Frontend threads. | 100 |
adminPoolUsers | Total number of Admin threads.40 | 20 |
csrPoolUsers | Users of Customer Support Request (CSR) Pool | 20 |
customer_password | Frontend Customer password | P@ssword123 |
Frontend Pool
Catalog Browsing by Guest
Catalog Browsing by Customer
Add to Cart by Guest
Add to Cart by Customer
Checkout by Guest
Checkout by Customer
Account management
...
Admin Returns Management
Browse Customer Grid
Admin Create Order
...
Also we need to set the percentage of performing threads, for example - 70%
...
For real-world load testing, the command line option should be used, as it requires significantly fewer resources. Additional parameters will be taken from benchmark.jmx testplan
Code Block |
---|
./jmeter -n -t benchmark.jmx -j ./jmeter.log -l ./jmeter-results.jtl -e -o ./html |
Reading results with JMeter GUI
Open the JMeter application in the GUI mode with the following command in the same ~/apache-jmeter-5.5/bin/ directory but without any parameters.
Code Block |
---|
./jmeter |
JMeter supports a number of ways to view the test results such as the Aggregate Report, Results Tree, and Graph Results.
You can open the saved test result file (jmeter-results.jtl) by clicking the Browse button for example in the Aggregate Report. Aggregate Report contains collected information about all of the requests including counts, min, max, average, error rate, and approximate throughput.
...