Is there a way in Jmeter to parse the web service response and write them
into a CSV or some character Delimited File.

e.g.

Lets say that the following comes as the body in the web service responses
in TWO consecutive threads

<CarsQueryResponse>
<cars>
<car>
<name>Honda</name>
<year>2010</year>
<model>Accord</model>
<price>23,000</price>
</car>
</cars>
</CarsQueryResponse>

<CarsQueryResponse>
<cars>
<car>
<name>Toyota</name>
<year>2010</year>
<model>Camry</model>
<price>22,500</price>
</car>
</cars>
</CarsQueryResponse>


I would like to parse this XML and get the following in the output file

Honda~2010~Accord~23,000
Toyota~2010~Camry~22,500

where ~ is the separator character.

Any pointers here will be very helpful.

Thanks
Prakash

Reply via email to