You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by alexs <al...@gmail.com> on 2014/01/27 16:16:16 UTC

get the request and response content for creating custom per thread log

Hi,

It will be great if you all could help here.

The purpose is to create a separate log file for each test thread that will
contain:

Request X , Thread Y : About to send http request Z with parameters ..... 
Response X Thread Y : saved in file response_X_thread_Y.txt

In know how to access the response data e.g:
SampleResult mySampleResult = ctx.getPreviousResult();
log.warn (mySampleResult.getResponseDataAsString());

but i cant find a generic way to get the request url and parameters.

any help will be very appreciated.

Thank you.



--
View this message in context: http://jmeter.512774.n5.nabble.com/get-the-request-and-response-content-for-creating-custom-per-thread-log-tp5719206.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: get the request and response content for creating custom per thread log

Posted by ZK <st...@gmail.com>.
Hi,

log.warn (prev.getUrlAsString());


ZK



--
View this message in context: http://jmeter.512774.n5.nabble.com/get-the-request-and-response-content-for-creating-custom-per-thread-log-tp5719206p5719223.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org