Contributions
Re: Authentication Headers(Set-Cookie/X_AUTH_TOKEN) in Rest API response POSTMAN vs Soap UI
JHuntWhile making the same request on both postman and SOAP UI i get different response headers. SO i was just trying to see if there is something postman does internally or differently to process these requests.3.8KViews0likes0CommentsRe: Authentication Headers(Set-Cookie/X_AUTH_TOKEN) in Rest API response POSTMAN vs Soap UI
nmraoNo, i am able to do that thanks to your github script for it. But what is happening is postman sends it as one cookie adding all the response cookies but soap ui send them seperately. Also there is a difference between responses. I was trying to figure out if POSTMAN does something with related to cookies on its own which need to be mentioned in soap ui explicitly. Thanks,Sai3.8KViews0likes0CommentsAuthentication Headers(Set-Cookie/X_AUTH_TOKEN) in Rest API response POSTMAN vs Soap UI
Hi, ON Postman i try hitting a rest service and I get back in the response header a SET_COOKIE to pass to the next requests and I am able to do all the consecutive steps. When i try to access the same Rest API method on SOAP UI i do not see these headers in the resposne. I tried adding the domain to the keyStore and all those steps. but may be failing some where. I tried this in a groovy script: import com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport def myCookieStore = HttpClientSupport.getHttpClient().getCookieStore() import org.apache.http.impl.cookie.BasicClientCookie def myNewCookie = new BasicClientCookie("xxxx", "xxxx") myNewCookie.version = 1 myNewCookie.domain = "absd.com" //myNewCookie.path = "/" myCookieStore.addCookie(myNewCookie) The only thing i can think of is how the cookie management in Postman is different from Soap ui.? The only additional thing i did in Postman was the above I added a cookie with the domain information above. please help,3.9KViews0likes6Comments