View results tree sampler in jenkins

Pope

Is it possible to see "view results tree " sampler of jmeter in jenkins. I want to see all my request and response data of jmeter in jenkins. i am not able to find it

Dmitri T

By default JMeter does not store the response data when it is being run in non-GUI mode, however you can override this by adding the next lines to user.properties file (located in "bin" folder of your JMeter installation)

jmeter.save.saveservice.output_format=xml
jmeter.save.saveservice.response_data=true
jmeter.save.saveservice.samplerData=true
jmeter.save.saveservice.requestHeaders=true
jmeter.save.saveservice.url=true
jmeter.save.saveservice.responseHeaders=true

But be aware that:

  1. It changes results output format to XML so if you have any post processors which explicitly rely on CSV default format (i.e. HTML Reporting Dashboard) - they might fail
  2. Storing request and response data causes massive RAM and Disk IO overheads so JMeter will consume way more memory hence throughput might be lower. It is recommended to use the above settings only for debugging or investigation when something definitely goes wrong and revert them back to defaults once you figure out and eliminate the root cause.

See Apache JMeter Properties Customization Guide for more information on using JMeter Properties and ways of setting and overriding them

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Jmeter setting for sampler that it should not be in view results tree

How to populate "Request -> Request Body" tab of a Jmeter Sampler result (displayed in the View Results Tree listener)?

Need help in capturing HTTP Request sent from View results tree sampler in Jmeter

JMeter - view more results in View Results Tree

Sampler name will be empty/blank in the second loop in "View Result Tree"

Set JSON as default into 'View Results Tree'

Change Response Data in View Results Tree Jmeter

JMeter view results tree requests showing error

JMeter - Ignore View Results Tree Listener only in non GUI

JMeter - JSON render in view results tree show invalid JSON

Jmeter - java exception while clicking on response in View Results Tree

Where is HTML renderer of View Results Tree hidden in Jmeter 2.13

Unable to see Response Body in JMeter, View Results Tree listener

JMeter View results tree listener displaying duplicate https requests

Jmeter: Access all results from all threadGroups from JSR223 Sampler or BeanShell Sampler in TeardownThread

jmeter webdriver sampler is not running when the test is run thru jenkins

JMeter 5.0: View results in a tree listener shows result of last 100 threads only

What is the reason behind to fail aggregate report but view results in tree is all pass in jmeter?

JMeter: how can I disable a View Results Tree element from the command line?

Jmeter - Multiple user's session details retrieved incorrectly under "View results tree" listener

How to copy multiple rows from VisualVM's CPU Sampler results?

tree() step results in a StackOverflowError

Rapidminer Decision Tree results

Bootstrap tree view: tree is not displaying

Jenkins view regular expression

Jenkins View Issue

View all labels in Jenkins

Left or Right View of an Tree

String of directory to tree view