You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
I mocked a request with Times.once() but the response is returned to more than one request.
What you are trying to do
I'm trying to mock an API that works like a queue. Multiple clients are polling that API waiting for any data to unconsume.
I'm trying to use Times.once() so that only to one of the clients can get the mocked response.
Describe the issue
I mocked a request with
Times.once()
but the response is returned to more than one request.What you are trying to do
I'm trying to mock an API that works like a queue. Multiple clients are polling that API waiting for any data to unconsume.
I'm trying to use
Times.once()
so that only to one of the clients can get the mocked response.MockServer version
5.14.0
To Reproduce
A repository with minimal reproduceable. Please try a couple of times if it does not reproduce.
https://github.com/maestrokame/reproduce-mockserver-issue-with-once/tree/main
No error. Just observed more than one API client getting the same response.
Expected behaviour
Return the response only to one of the clients
MockServer Log
log
The text was updated successfully, but these errors were encountered: