WireMock scenario to store data across requests
Using WireMock 3.3.1 but can upgrade if new features are available to achieve my goal.
I need to store the value received with a request and reuse it in a subsequent request (to define a dynamic response).
I'm using WireMock Scenarios as follows
First call sets the cachedRefNum
{
"mappings": [
{
"scenarioName": "Cache Ref Number",
"requiredScenarioState": "Started",
"newScenarioState": "Cached",
"request": {
"method": "POST",...