Passing the cookie in subsequent requests of SOAP UI
We are trying to automate API testing. In our API we will first pass Email and password and fetch the access_token. After generating the access_token we will place the token in some cookie say 'TokenCookie'.
Then this access_token should be passed in the header for calling any of the API methods. On the server side we will validate if the access_token passed in the header and token present in the cookie("TokenCookie") are same.If they are similar we will hit the api method and provide response else we will show 500 error.
The above approach is working fine when we test the api from postman. But in Soap UI the cookie 'TokenCookie' is not passed in the subsequent requests. But when we are fetching token ,in the Raw response we observed that the Cookie is set. We are checking the token in header and cookie, as the cookie is null it is always throwing 500 error.
Could any one help us in passing the cookie for subsequent requests in SOAP UI