Session Tracking
Hello Stef,
Greetings.
I have a quick question.
In WireMock is there any way to manage session tracking?
Ref: https://stackoverflow.com/questions/1740860/http-session-tracking/1740900
No this is not easily done.
The only possible way is to use https://github.com/WireMock-Net/WireMock.Net/wiki/Scenarios-and-States
Thanks a lot for all @StefH,
I would like to ask you if you could provide me with any examples, how to use Scenarios and States to simulate a session tracking with WireMock.NET? I cannot find any way to do that using Scenarios and States.
Currently, I'm trying to send a sessionid in the headers in a specific endpoint I after that I'm trying to find that request using this method: POST /__admin/requests/find and sending this payload as a criterion to find some request that contains that sessionid:
{
"Cookie": "sessionid=0123456789"
}
But this not found any request related. Always returns []
Related to https://github.com/WireMock-Net/WireMock.Net/issues/671 it seems....
Your approach is currently the only one.
I need some time to think of something else..
Closing for now.