How to send a cookie
I'm new to SOAP and I'm very new to SoapUI!!! From what little I have seen of it, you have done an amazing job with this product!
I'm trying to work with a certain SOAP API provider that requires establishing a connection to their server by sending a specific SOAP request. A Cookie is sent back and they require all subsequent access to pass this cookie along for verification.
How do I do that with SoapUI?
Arnor Baldvinsson - Icetips Alta LLC
Solved! Go to Solution.
Thanks for the reply and the link:) I'd actually seen that, but it's not helping, I'm afraid;)
I'm using the open source SoapUI and I cannot for the life of me find any of the stuff the article talks about. I found this page http://www.soapui.org/scripting---properties/scripting-and-the-script-library.html and from it, it sounds like the scripts/script editors are only features for SoapUI Pro, is that correct?
I think as posted above sending the cookie as cleint header should work in this case. You need to know the exact key name to send the value with
I'm sorry but I'm not getting this:( I have tried to add a http header to the request:
This does not work. The sites: http://stackoverflow.com/questions/28022721/sending-cookie-as-request-header-in-soap-ui-request-for-... and https://siking.wordpress.com/2013/07/25/soapui-cookie-management/ do not mention how to set this up except in code. Like I said before I'm not seeing any code options in SoapUI.
I've got this to work fine from my own code, but I cannot get this to work from SoapUI.
When you are new to a tool, it helps if you read through the documentation first!
For any test that you need to pass the cookie around, go to the testcase options and turn on "maintain HTTP session". No, there is no global switch to turn this on, this is done on a case-by-case basis.