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:
<Request>
<Header><Log><Level>None</Level></Log></Header>
<Body>
<Action>
<GetService>
<Code>ABC</Code>
<CodeValue>XYZ</CodeValue>
</GetService>
</Action>
</Body> </Request>
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!