JMeter Performance Testing Tutorial 20 - Understanding and configuring of HTML report
Вставка
- Опубліковано 6 жов 2024
- #jmeter #htmlreport #customization #configurations #performancetesting
#loadtesting
Understanding and configuring of HTML report
=========================================
Dashboard generation uses JMeter properties to customize the report. Some properties are used for general settings and others are used for a particular graph configuration or exporter configuration.
All report generator properties can be found in file reportgenerator.properties. To customize these properties, you should copy them in user.properties file and modify them.
Filtering configuration
==================
Ensure you set property jmeter.reportgenerator.exporter.html.series_filter to keep only the transactions you want in the report if you don't want everything.
In the example below you must only modify Search|Order, keep the rest:
jmeter.reportgenerator.exporter.html.series_filter=^(Search|Order)(-success|-failure)?$
14.2.1.2 Save Service configuration
jmeter.save.saveservice.bytes = true
Only available with HttpClient4
#jmeter.save.saveservice.sent_bytes=true
jmeter.save.saveservice.label = true
jmeter.save.saveservice.latency = true
jmeter.save.saveservice.response_code = true
jmeter.save.saveservice.response_message = true
jmeter.save.saveservice.successful = true
jmeter.save.saveservice.thread_counts = true
jmeter.save.saveservice.thread_name = true
jmeter.save.saveservice.time = true
jmeter.save.saveservice.connect_time = true
jmeter.save.saveservice.assertion_results_failure_message = true
the timestamp format must include the time and should include the date.
Or the following would also be suitable
jmeter.save.saveservice.timestamp_format = yyyy/MM/dd HH:mm:ss
Sample configuration
=================
You can copy the following configuration to your user.properties file in order to test the report generator.
Configure this property to change the report title
#jmeter.reportgenerator.report_title=Apache JMeter Dashboard
Change this parameter if you want to change the granularity of over time graphs.
Granularity must be higher than 1000 (1second) otherwise Throughput graphs will be incorrect
see Bug 60149
#jmeter.reportgenerator.overall_granularity=60000
Change this parameter if you want to change the granularity of Response time distribution
Set to 100 ms by default
#jmeter.reportgenerator.graph.responseTimeDistribution.property.set_granularity=100
Change this parameter if you want to override the APDEX satisfaction threshold.
jmeter.reportgenerator.apdex_satisfied_threshold=1500
Change this parameter if you want to override the APDEX tolerance threshold.
jmeter.reportgenerator.apdex_tolerated_threshold=3000
Sets the destination directory for generated html pages, it is better to change it for every generation
This will override the value set through -o command line option
jmeter.reportgenerator.exporter.html.property.output_dir=/tmp/test-report
Indicates which graph series are filtered (regular expression)
In the below example we filter on Search and Order samples
Note that the end of the pattern should always include (-success|-failure)?$
Transactions per second suffixes Transactions with "-success" or "-failure" depending
on the result
#jmeter.reportgenerator.exporter.html.series_filter=^(Search|Order)(-success|-failure)?$
Indicates whether series filter apply only on sample series
jmeter.reportgenerator.exporter.html.filters_only_sample_series=true
Subscribe our channel for latest videos
==================================
/ testingfunda
#selenium #tutorials #free #2022 #training
Watch more free Selenium Tutorials
• Selenium WebDriver wit...
#JMeter #performance #testing #tutorials #free #2022 #training
Step by step free JMeter performance tutorials
• Postman API Testing Tu...
#postman #API #testing #tutorial #manual #automation #free #2022 #training
Step by step free postman API manual and Automation Testing tutorials
• Postman API Testing Tu...
#java #programming #tutorials #free #2022 #training
Step by step free Java programming tutorials
• Java tutorial 1 - What...
#cypress.io #automation #testing #tutorials #free #2022 #training
Step by step free cypress.io automation testing tutorials
• Cypress tutorial 1 - W...
#agile #UA-cam #series #free #2022 #training
Learn about agile from free UA-cam series
• Agile
#learn #software #testing #innovative #animated #videos #free #2022
Learn software testing free from innovative animated videos
• Boundary Value Analysi...
😊 Hello and thank you for watching! We'd love to hear your opinions in the comments section.
👉 For more videos on JMeter Performance Testing, please visit: ua-cam.com/video/hrrV0xKuZw8/v-deo.html
👉 Don’t forget to SUBSCRIBE to our channel for more such videos & valuable content: ua-cam.com/users/TestingFunda
Superb quickly understanding you video it is very helpful to me thank you
Great happy learning
@TestingFunda Thnks for your video. It actually helps allot, Will it be possible to include input request and response to the Jmeter report as an attachment?
Can you please share more details what exactly you want to do
Thanks for great tutorial, do you have video about testing jmeter test with kafka ?
Not yet!
Hi, how did you change Request summary values pass & fail
I have not changed these values. These values are coming from generated CSVs.
Thank you. This was useful. 👍🏼
Thanks. Happy learning
Thanks for the details. If i want to restrict the number of transactions displayed in APDEX table, how do i do that?
(Application Performance Index) table that computes for every transaction the APDEX based on configurable values for tolerated and satisfied thresholds. you can change the values as mentioned in the tutorial
In JMeter 5.4 and 5.5 versions, it is showing all child samples in HTML Report. I check box to generate parent transaction. Is there any way to Not to show child samples, I like to see only transactions. Only parent samples.
While generating report. The total number of Sample are not showing in report.
Can you please share more details?
@@TestingFunda I mean, I don't see transactions, I see all requests. They are not groups in transactions.