0
votes

I have created a new project using the template 'Building a SOAP WebService Test Plan' in jmeter (followed the steps in the tutorial from the apache jmeter website to set this up). The responses aren't being accepted and in the results log I am seeing the message:

1446205258738,20995,Soap Request,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,Non HTTP response message: Connection to http://(server name).com refused,Number of Users 1-10,text,false,2273,1,1,0

It's making the connection to http rather than https which I think is why the connection is not being made. Is there anyway to change this? I've tried using the different implementations in the soap request but this hasn't worked, currently using HttpClient4.

Please see the http request details HTTP REQUEST DETAILS

1
Put https in the text box that says Protocol [http]:RaGe
Thanks for the comment (@ubik load pack below) I've tried that and now I'm getting: 1446212627785,23,Soap Request,404,Not Found,Number of Users 1-3,text,false,1405,1,1,23Tester13
How do you invoke your SOAP service before you got jmeter involved?RaGe
RaGe Sorry I'm not understanding the question? I should also say I got this error message when I added the results tree to my project: Cannot process the message because the content type 'application/x-www-form-urlencoded' was not the expected type 'text/xml; charset=utf-8'.Tester13
@RaGe I used SOAP UI which was able to send the request and generate a reposponse, I don't know why jmeter is proving so hard :LTester13

1 Answers

1
votes

As per @Rage answer (who should answer in response not comment , I'll be happy to remove my answer if he does), just change :

Protocol [http] value to https

See: enter image description here

As per your last comment, you modified to https and now you face another issue , getting a 404. So most probably your Path or Server Name or IP are wrong, as the hoster or developer for the correct connection informations.