If you’re using a fixed set of JSON mappings then the problem you’ll probably find is that one thread bumps the scenario state that then affects the outcome of a test in another thread.
There are 3 ways you can address this:
1. Switch to code-based stubs and create unique stubs and scenarios per test case.
2. Use the
state extension in order to create a more sophisticated state setup that takes account of some kind of thread/session segregator e.g. a user session ID, header value
3. Use
WireMock Cloud’s advanced state feature, whereby a root state context can be configured via templating that can be session ID, header etc.