jMeter works result

For our load test we will use the following setup:

  • User-Defined Variables:

Parameter Name

Description

Value

host

URL component 'host' of application being tested (URL or IP).

jmeter.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.

20

csrPoolUsers

Users of Customer Support Request (CSR) Pool

20

customer_password

Frontend Customer password

P@ssword123

 

  • Frontend Pool

  1. Catalog Browsing by Guest

  2. Catalog Browsing by Customer

  3. Add to Cart by Guest

  4. Add to Cart by Customer

  5. Checkout by Guest

  6. Checkout by Customer

  7. Account management

  • Admin Pool

  1. Browse Product Grid

  2. Browse Order Grid

  3. Admin Create Product

  4. Admin Edit Product

  • CSR Pool

  1. Admin Returns Management

  2. Browse Customer Grid

  3. 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

./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.

./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.