i have a question for you guys, do you know a way how can i send http request with jmeter to my soap webservice(jax-ws library)?. I have a problem to point server name or ip(its localhost so should it be loopback?) and path. I'm using glassfish4 as my web server. I do not want to use option SOAP/XML RPC Request, because when i use it with my web service i can't see that any data have been sent(it's always 0 -in fact maybe you have idea why is that...it's also a solution to my problem because i need http request to see how much data i've sent) !https://postimg.org/image/mpbai5n1v/ Thanks in advance Regards!
-
1Take a look at SoapUI - tool designed for testing SOAP Webservices. It will generate requests for you from the wsdl contract. No point in using raw HTTP request hereMGorgon– MGorgon2016年12月01日 20:54:44 +00:00Commented Dec 1, 2016 at 20:54
-
thx, im using soap ui also but there are only bytes which were send i need both: data which client send to server and data from respond...thosenumbers– thosenumbers2016年12月01日 21:08:52 +00:00Commented Dec 1, 2016 at 21:08
1 Answer 1
Use:
- Http Request and fill in:
- Server Name or IP
- IP if different from 443 or 80
- Protocol if https
- Add a Header Manager under it with :
Content-Type=text/xml; charset=utf-8 enter image description here
Note there is a template that lets you easily create this, see screenshot:
Finally I suggest you read this tutorial:
1 Comment
Explore related questions
See similar questions with these tags.