[Help] How can I use cookies in a Wiremock record session?

89 views
Skip to first unread message

Roberto Morávia

unread,
Dec 20, 2022, 7:22:01 AM12/20/22
to wiremock-user
Hello,

I'm using Wiremock's record option to create stubs to test the interaction of my client app with the server.

The first step is to login, and get a cookie that will be used in following requests to authenticate them. However, when using the record option from Wiremock it seems the cookies are not forwarded in the following requests, as I'm getting authentication errors in the following requests.

Am I missing some configuration?

Duplicated from SO: https://stackoverflow.com/questions/74854505/use-cookies-in-a-wiremock-record-session

Thanks in advance!

Reply all
Reply to author
Forward
0 new messages