1

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!

asked Dec 1, 2016 at 20:44
2
  • 1
    Take 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 here Commented 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... Commented Dec 1, 2016 at 21:08

1 Answer 1

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:

enter image description here

Finally I suggest you read this tutorial:

answered Dec 1, 2016 at 20:57
Sign up to request clarification or add additional context in comments.

1 Comment

thank you for your answer, im trying to do the way you suggest, but i have problems with path(server name or ip field, path field in SOAP http request) .Maybe you have idea where those paths should be?

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.