Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Jmeter3.x can also produce rich graphical reports.

Shulou Source: shulou.com Published: 2022-06-03 04:30:53 11月25日 Update

Introduction

Jmeter in our eyes has always been a rigid representative, only cold data, lack of warm charts, this jmeter3.x will completely subvert our image, it is recommended to use jmeter3.3 or above, otherwise there will be Chinese garbled.

Jmeter video address: http://edu.51cto.com/course/14305.html

Jmeter.properties configuration

The following contents need to be uncommented so that they will take effect.

Jmeter.save.saveservice.bytes = truejmeter.save.saveservice.label = truejmeter.save.saveservice.latency = truejmeter.save.saveservice.response_code = truejmeter.save.saveservice.response_message = truejmeter.save.saveservice.successful = truejmeter.save.saveservice.thread_counts = truejmeter.save.saveservice.thread_name = truejmeter.save.saveservice.time = truejmeter.save.saveservice.connect_time = truejmeter.save.saveservice.timestamp_format = msjmeter.save.saveservice.timestamp_format = yyyy/MM/dd HH:mm:ssjmeter .save.saveservice.print _ field_names=true.jmeter.save.saveservice.assertion_results_failure_message = truejmeter.save.saveservice.output_format=csv

Execute and generate reports

Command format (please replace the specific content by yourself):

Jmeter-n-t script. JMX-l record. JTL-e-o. / report

The report can only be generated by running the command, and then you can see it by double-clicking index.html.

Sinicization report

There may be two areas that need to be modified:

1. Reportgenerator.properties file, which is a global modification

2. All files with the suffix .fmkr under apache-jmeter-3.3\ bin\ report-template. This is for all pages, and you can choose by yourself.

Be sure to pay attention to save it as ANSI format after modification, otherwise there will be garbled code.

The results of the rerun report after Sinicization are as follows:

Tags: Report garbled content command file format generate run rigid this is not two representative global only suffix chart address place introduction effect Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Technology Shulou Information OPPO Reno Linux