Which Files/Directory contains the View Tree Results data

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Which Files/Directory contains the View Tree Results data

Andrew Gibbs
Hi All,

Does anyone know where the data that is shown in the ’Sampler result’, ‘Request’ and ‘Response data’ elements of the View Results Tree is stored? (Which files/directory).

The reason I ask is as Im trying to find the first instance of certain values being sent back in the server response (Response data) so I can correlate it and then substitute it into the relevant subsequent requests.

Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Which Files/Directory contains the View Tree Results data

ra0077
Hi,

To have it you need to save the responses in View Results Tree.
To do it fill "Write Results to file' option

Be aware that it will have a performance impact

Antonio


2018-05-24 16:46 GMT+02:00 Andrew Gibbs <[hidden email]>:

> Hi All,
>
> Does anyone know where the data that is shown in the ’Sampler result’,
> ‘Request’ and ‘Response data’ elements of the View Results Tree is stored?
> (Which files/directory).
>
> The reason I ask is as Im trying to find the first instance of certain
> values being sent back in the server response (Response data) so I can
> correlate it and then substitute it into the relevant subsequent requests.
>
> Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Which Files/Directory contains the View Tree Results data

Andrew Gibbs
Hi Antonio


Thanks for the reply.


Can I capture everything sent back from the server?


I'm looking to find the first instance of session ids (and other similar values) being sent back from the server.


I would only be doing this while I'm customising the script and not during an actual performance test.


Thanks


Andrew




________________________________
From: Antonio Gomes Rodrigues <[hidden email]>
Sent: 24 May 2018 16:02
To: JMeter Users List
Subject: Re: Which Files/Directory contains the View Tree Results data

Hi,

To have it you need to save the responses in View Results Tree.
To do it fill "Write Results to file' option

Be aware that it will have a performance impact

Antonio


2018-05-24 16:46 GMT+02:00 Andrew Gibbs <[hidden email]>:

> Hi All,
>
> Does anyone know where the data that is shown in the ’Sampler result’,
> ‘Request’ and ‘Response data’ elements of the View Results Tree is stored?
> (Which files/directory).
>
> The reason I ask is as Im trying to find the first instance of certain
> values being sent back in the server response (Response data) so I can
> correlate it and then substitute it into the relevant subsequent requests.
>
> Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Which Files/Directory contains the View Tree Results data

glinius@live.com
In reply to this post by Andrew Gibbs
If you run your test in GUI mode - by default the results are being kept in
memory (unless you specify something in "Write Results To" section.

If you run your test in non-GUI mode by default JMeter doesn't store
response data, it intentionally discards the data to avoid high disk IO
which may have negative impact on your test. However you can enable it by
applying custom  Results File Configuration
<http://jmeter.apache.org/usermanual/properties_reference.html#results_file_config>  
to wit:


> 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

Also be aware that you can test your Regular Expressions, CSS/JQuery
Expressions, JSON Path Expressions, etc. directly in the  View Results Tree
<http://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree>  
listener, just select something different from "Text" dropdown. See  How to
Debug your Apache JMeter Script
<https://www.blazemeter.com/blog/how-debug-your-apache-jmeter-script>  
article for more information on the approach.



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which Files/Directory contains the View Tree Results data

sebb-2-2
On 28 May 2018 at 06:24, [hidden email] <[hidden email]> wrote:

> If you run your test in GUI mode - by default the results are being kept in
> memory (unless you specify something in "Write Results To" section.
>
> If you run your test in non-GUI mode by default JMeter doesn't store
> response data, it intentionally discards the data to avoid high disk IO
> which may have negative impact on your test. However you can enable it by
> applying custom  Results File Configuration
> <http://jmeter.apache.org/usermanual/properties_reference.html#results_file_config>
> to wit:
>
>
>> 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

See http://jmeter.apache.org/usermanual/listeners.html#batch

You can also add a Listener (e.g. Simple Data Writer) to the test plan

http://jmeter.apache.org/usermanual/component_reference.html#Simple_Data_Writer

This will save results in both GUI and non-GUI test runs.

> Also be aware that you can test your Regular Expressions, CSS/JQuery
> Expressions, JSON Path Expressions, etc. directly in the  View Results Tree
> <http://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree>
> listener, just select something different from "Text" dropdown. See  How to
> Debug your Apache JMeter Script
> <https://www.blazemeter.com/blog/how-debug-your-apache-jmeter-script>
> article for more information on the approach.
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which Files/Directory contains the View Tree Results data

Andrew Gibbs
Hi Sebb,


Thanks for the reply - it's very helpful!!


Regards,

Andrew


________________________________
From: sebb <[hidden email]>
Sent: 28 May 2018 16:31
To: JMeter Users List
Cc: [hidden email]
Subject: Re: Which Files/Directory contains the View Tree Results data

On 28 May 2018 at 06:24, [hidden email] <[hidden email]> wrote:
> If you run your test in GUI mode - by default the results are being kept in
> memory (unless you specify something in "Write Results To" section.
>
> If you run your test in non-GUI mode by default JMeter doesn't store
> response data, it intentionally discards the data to avoid high disk IO
> which may have negative impact on your test. However you can enable it by
> applying custom  Results File Configuration
> <http://jmeter.apache.org/usermanual/properties_reference.html#results_file_config>
Apache JMeter - User's Manual: Properties Reference<http://jmeter.apache.org/usermanual/properties_reference.html#results_file_config>
jmeter.apache.org
This document describes JMeter properties. The properties present in jmeter.properties or reportgenerator.properties should be set in the user.properties file. These properties are only taken into account after restarting JMeter as they are usually resolved when the class is loaded.



> to wit:
>
>
>> 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

See http://jmeter.apache.org/usermanual/listeners.html#batch

You can also add a Listener (e.g. Simple Data Writer) to the test plan

http://jmeter.apache.org/usermanual/component_reference.html#Simple_Data_Writer

This will save results in both GUI and non-GUI test runs.

> Also be aware that you can test your Regular Expressions, CSS/JQuery
> Expressions, JSON Path Expressions, etc. directly in the  View Results Tree
> <http://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree>
> listener, just select something different from "Text" dropdown. See  How to
> Debug your Apache JMeter Script
> <https://www.blazemeter.com/blog/how-debug-your-apache-jmeter-script>
> article for more information on the approach.
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which Files/Directory contains the View Tree Results data

Andrew Gibbs
In reply to this post by glinius@live.com
Hi glinius,


Thanks for the reply - this looks very helpful!!


Regards,

Andrew


________________________________
From: [hidden email] <[hidden email]>
Sent: 28 May 2018 05:24
To: [hidden email]
Subject: Re: Which Files/Directory contains the View Tree Results data

If you run your test in GUI mode - by default the results are being kept in
memory (unless you specify something in "Write Results To" section.

If you run your test in non-GUI mode by default JMeter doesn't store
response data, it intentionally discards the data to avoid high disk IO
which may have negative impact on your test. However you can enable it by
applying custom  Results File Configuration
<http://jmeter.apache.org/usermanual/properties_reference.html#results_file_config>
Apache JMeter - User's Manual: Properties Reference<http://jmeter.apache.org/usermanual/properties_reference.html#results_file_config>
jmeter.apache.org
This document describes JMeter properties. The properties present in jmeter.properties or reportgenerator.properties should be set in the user.properties file. These properties are only taken into account after restarting JMeter as they are usually resolved when the class is loaded.



to wit:


> 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

Also be aware that you can test your Regular Expressions, CSS/JQuery
Expressions, JSON Path Expressions, etc. directly in the  View Results Tree
<http://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree>
listener, just select something different from "Text" dropdown. See  How to
Debug your Apache JMeter Script
<https://www.blazemeter.com/blog/how-debug-your-apache-jmeter-script>
article for more information on the approach.



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]