17

How to generate JMeter HTML Dashboard Report?

 2 years ago
source link: https://blog.knoldus.com/how-to-generate-jmeter-html-dashboard-report-2/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Reading Time: 3 minutes

Hope you are doing well !!
In this blog, we will take a look at How to generate JMeter HTML Dashboard Report so without any delay, Let’s start

How to generate JMeter HTML Dashboard Report?

1) Open JMeter and Add the Thread Group

For Adding the Thread Group navigate to Test Plan -> Add -> Threads -> Thread Group

LAxx3qwcNgU2ytRkyYqNh7Zi559MaMtG4dbiIcC9EiZYcRTj1l_rSvn1jORteMcdBCynt6H60xunBjA3L48YHXeTdgOVRNCkDFbbffIRiYdx7KZetmoBl7ViddDLvFR7xiKVvV17

2) Add HTTP Request

Navigate to Thread Group -> Add -> Sampler -> HTTP Request

dh1Rp-exwuyRwW1PA2TFIwPOq1MYVL2uwZlkCnL7vUIYCn8t0vqvavgK6TGnnu3z-g9sOnatJEgDSE1vPJ595fUqnB_tSqdhYH1cxYrLT_i_m9nnc6cCIzt3cCAkeVNKjvJyXvmA

3) Now, Add some HTTP Request in JMeter

DLMBEfDV7QO3PhrEkbwE9FCuvsbwIlXOZFix2_n7kd9T2gWOh0za0j2ZYLgKpMTs47WxFP6K47tAEo_aHAsmFpYcWt-ZeeP0wG9KhCYmtJc-dfnCWP-5E97dKtfzQv897aP_Pv-y

4) For viewing the result Add some listener (simple data writer) and store the result in csv file

For Adding the listener navigate to Thread Group -> Add -> Listener (simple data writer)

rfc0oNWu_GS6fOeliraCKgYLogc-vpoFefbP280P5fgABADr38qZ8yy3Nqjzw4YBrFmNPeGIR6BF9tc30SIMtjMbR_1KYQiuF6gOyAuZOs8iEFAVVp5f2epF9o9oUiH0BJqOIREL

Two Ways to generate the Report:

a) Using GUI Mode: Firstly, create one folder at any location

In JMeter Go to Tools -> Generate HTML Report

YIbsB8TYyD5ujGPbQt2WAunlf9Cbuu9a3jub0aU60R4J6U9AKDGD-YWCzsbS9Qlgz3gDuD60IO0q-AVm6OK1wetvt2kKHvSealw4BgtveqXTKt0_nJMa3vz-TspMg-YDRy_EH3P6
  1. Firstly on Result File put the CSV file path where our result is stored
  2. In User.properties file section mentions the location of the user.properties file
  3. In the output, directory put the newly created folder path
FxNU2jkyQcQN_kqGT3e9ejtn1dkYA7gPwuMwb-C0mvokdn7MYeB-Cvi5H5gUnh9xQSLlikxmky2nEK4dDCyP-GxjzCTQ4Sr0oxC22Kog-15qD6UzsjxXGvnKaA1BbHX2ljFBF-Pm

Now, Click on the Generate Report and our report is generated

8V6uDXtuRRzX2UyQRFEdfbcpvp1XhiWILfL2u-UKhpnctiXKKk5dwyhSdsjrqR2UvGghCm8Za3EqnWv2O-eUUpFEmC5i1Vt_y8S3lFKQFYi4G_3V8sxgCWyzy3oYx3OPAfLzuM4g

Now open the folder which we created and we got out HTML report, so simply open the HTML report

yAhZrilbVHc25aPdcKx7p9g2a9uZxza0dO60mL-GGrFUjbyJLJSPPouBZx8unW3YWLc4kpGrYIDRiEBs1YtcG3RO1sosXGwGPvul50xsx7ppGDdSqohSENnG5ohJBVBqXyiRphls

b) Using Non GUI Mode:

1) Open cmd and navigate to bin folder

2) For Windows, run the command
jmeter -n -t path/test_name -l path/file_name.jtl -e -o path/file_name

3) For Linux, run the command
./jmeter.sh -n -t path/test_name -l path/file_name.jtl -e -o path/file_name

YDIkUqj2yyJM6lL5chrPyxfAA9L0JEa0hiPnGUb7aeW6w64cqr0S7MgqWr0lAp8u0B9p2uPDOrFHEdo5M05D6oeFXT3-MmvS9-MFAFoFrbbnLCVAzWXJzOlal1PxOZW3J05PHi-9

Now open the folder which we created and we got out HTML report, so simply open the HTML report

XOJqPa5KzHvtaCklT6AbqC9LVFfOUaLOmBoJHyoug8yNdk65P9sW9DPIUx8AYzqe7tjdvKOFuxyX3zvnXp899EpxGWhejlwzPQGlwDu_VV9cXg8qsi_SlDTAkKy4e3Yh5akijHl2

The HTML Report provides the following metrics:
1) APDEX (Application Performance Index) table that computes for every transaction the APDEX based on configurable values for tolerated and satisfied thresholds
2) A request summary graph showing the Success and failed requests (Transaction Controller Sample Results are not taken into account) percentage

Twmx3WmuzEGRq1BhATFTiWDg-phSeSnrsNsUxm3QxXetEkC7-6WhcsKaUtKzbDobdau7QBqKfHs9ElyXi7eaVMoog6_XxGAbcKprPMh1lXO4SCdC_aPzwk12N6kpdQRs4s2r7phO

3) A Statistics table providing in one table a summary of all metrics per transaction including 3 configurable percentiles

KubTA8mw-uPHSZHgK3ezDpOKAoKX9J95pXjozG68BBOgsW8c26c63SxdsXvjkKX0ns1uF4WJ_A_ParF2vtpPKOZtq8PS3gCGW4ECV2yJF3vvnr_Mo119zgWjs7CV8DfxRodV7YPN

4) An error table providing a summary of all errors and their proportion in the total requests

bku6UxdmWWmAgIjojO8CbgEyxjLrg6LMfxzVgQh2EhqTi4x_QC96xF_-otRJl5kfhov1yIZ5I0bDwO-QBSHHK2G-VlGOcJofBOnxbjDqXAwb1ePiCm6BD1jvSBZ1sq5jm4yS6v1M

5) It also provides Top 5 Errors by Sampler table providing for every Sampler (excluding Transaction Controller by default)

j_ZmOauOAlh-np9P8yzGcIdTjfB1HQ11DiOizCJ3MeBgXHeow0_4b3yL1J-cncSCm93kO0MWX0Kl_L1ibpKH9qc_HI-AclgN7wYBb3TJ5IkscDrJg1ACxhzImcbeisNAR9IIbKh2

6) It also provides different charts like Response times Over Time, Active Threads Over Time etc

F2Cur4Sc8vhcJar4qE96uCcVQpVoLf7GJ_UQHDflvleylWDCkBCzpAq5ITXwOwv09k7Yu47FQXY_d0GVQIYZZdFHNJKsPHuD7Na97M_Gd3ntR8eq6K8ia6fO8_GZHEC76afEeyj3
VoClLKQsAA14CJiey4kA0f3M-6Zh65fnCkPmy0flN2r0CUo2pEUbRGs9j5VWR6BhxXa1ff-vci4SQsu4ar2ObxK52-VrvqUrxs9O2EJxp4EzBYQk4F7hNAGq90fNAt9wW7voN8CS

Reference:
http://www.ishatrainingsolutions.org/2020/06/30/jmeter-html-dashboard-report-generation/
https://blog.knoldus.com/category/tech-blogs/test-automation/

Scala Future


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK