mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Session Tracking #376
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @devmariodiaz on GitHub (Oct 25, 2021).
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
@StefH commented on GitHub (Oct 25, 2021):
No this is not easily done.
The only possible way is to use https://github.com/WireMock-Net/WireMock.Net/wiki/Scenarios-and-States
@devmariodiaz commented on GitHub (Nov 3, 2021):
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:
But this not found any request related. Always returns []
@StefH commented on GitHub (Nov 3, 2021):
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..
@StefH commented on GitHub (Oct 13, 2022):
Closing for now.