Maintain HTTP Session: Should pass cookies to following request
Hi, I was reading this community forum for a long time about maintaining https session over several requests. But I'm not able to run it sucessfully. I'm on Ready!API 1.5.0 (SoapUI NG Pro)Build Date: 20151106-1037 All I want to do is 1.) Request A contains in its response 3 cookies (within the http header) 2.) I would like to have this 3 cookies transfered in Request B (also in the http header) It's as simple, but it doesn't work. I tried: to pass the cookie around, go to the testcase options and turn on "maintain HTTP session". Simply enable this option to true does not work I also tried to use a property transfer, but how can I easily pass all cookies? I don't want to write groovie code. I think such basic requirement should be handled by the tool itself. Maybe someone has an idea? Thanks Regards, RetoSolved16KViews0likes8Commentsswagger 3.0 cookie
Hi All, I'm facing multiple issues with swagger cookie authentication. I'm not able to recieve cookie in my backend application eventhough i'm sending it through header paramenters. These are my inputs: parameters: - in: cookie name: AUTX-TOKEN schema: type: string required: true - in: cookie name: XXXX-TOKEN schema: type: string required: true components: securitySchemes: cookieAuth: type: apiKey in: cookie name: XXXX-TOKEN cookieAuthb: type: apiKey in: cookie name: AUTX-TOKEN security: - cookieAuthb: [] cookieAuth: [] BUT i'm not recieving these cookies here in my application , so its throwing validation error. Someone please help me. And also, the following code is from swagger api documentaion. I'm not understanding that is inside 'example'. headers: Set-Cookie: schema: type: string example: JSESSIONID=abcde12345; Path=/; HttpOnlyHow send get request with session_id (cookie authorization)
When I created testcase with enabled option "Maintain HTTP session", then I can send get request with coockie after post request with login. But how can I send request in another testcase without sending post request or how to send request from Project tab? How can I do it? How to immitate "Maintain HTTP session" by my self? What I should to add in get request to do it?1.3KViews0likes0CommentsMultiple Cookies in response for Cookie Auth
I'm working on porting an API that sets 4 cookies in it's response to a login request. Is there a recommended way to do this? I can't use Set-Cookie more than once in the headers without hitting yaml issues. I found a work-around that basically sticks a null character in front of Set-Cookie because that allows Swagger to show 4 cookies but we have open source software call connexion that flags that as invalid. I'm trying to figure out what the right approach to this would be.969Views0likes0Comments