Search code examples
jmeterxmlhttprequestjmeter-pluginsjmeter-5.0

Issue sending XML request as in jmeter


i tried to send xml request in jmeter as **<Calc><Info>**.. but i recive request as &lt ; CalcReq > &lt ; Info > please help


Solution

  • JMeter should send the request "as it is", it might be the case your application does escaping of the XML special characters

    Demo:

    enter image description here

    In general it's not possible to come up with the comprehensive answer without seeing your HTTP Request sampler configuration, and request body/headers from the View Results Tree listener. It might be the case you didn't add the relevant Content-Type header using the HTTP Header Manager so your application doesn't know how to properly deal with the request.

    More information: Building a WebService Test Plan