jmeter xml 请求,Jmeter - 如何将XML请求发送到服务器?

I have a HTTP Request Sampler in my test plan. I have given my server name or IP, port and url. I chose the Body Data tab and gave an XML request in this way:

None

ABC

XYZ

However, this what I am getting back the following as the Sampler result:

Response code: Non HTTP response code: java.net.ConnectException

Response message: Non HTTP response message: Connection refused

Response headers:

HTTPSampleResult fields:

ContentType:

DataEncoding: null

I have made sure that I can ping my server. Its up and running.

Is there something else that I am missing here?

Thanks in advance!

解决方案

I find it the easiest to just use a SOAP/XML-RPC Request for this kind of stuff. Simply enter the XML you want to send and the URL and make sure that Send SOAPAction is unchecked if you

你可能感兴趣的:(jmeter,xml,请求)