Quantcast
Channel: My Tech Notes
Viewing all articles
Browse latest Browse all 90

Record Request and Reponse of HTTP Samplers in JMeter

$
0
0
  • Add “Simple Data Writer”
  • Give the file name like “result.xml”
  • Click Configure button.
  • Check the radio buttons for
    • Save As XML
    • Save URL
    • Save Response Data (XML)
  • Start the jmeter test
  • Check the XML file
  • If you stop jmeter, then start another run, the requests and responses in the new run will be appended to the XML file.
<testResults>
<httpSamplet="17"lt="17"ts="1473705874608"s="true"lb="Profile Request"rc="200"rm="OK"tn="Profile (year) 1-1"dt="text"by="253"ng="1"na="2">
<responseDataclass="java.lang.String">...</responseData>
<java.net.URL>...</java.net.URL>
</httpSample>
</testResults>

Viewing all articles
Browse latest Browse all 90

Trending Articles