can you run it again with verbose logging and also post a stacktrace?
Dirk Bolte
12/22/2023, 2:31 PM
can you also post the stub?
b
Benjamin MIXTE -BTWIN VILLAGE LILLE-
12/22/2023, 3:02 PM
We found the issue.
We get error when wiremock search for the good mapping.
sometimes $.workflow_id is not passed and the mapping failed
"hasContext": "{{jsonPath (defaultIfEmpty request.body '{}') '$.workflow_id'}}-az2f"
To fix the trouble we make test on request because this json is never null.
"hasContext": "{{jsonPath request '$.body.workflow_id' default='null'}}-az2f"
d
Dirk Bolte
12/22/2023, 3:05 PM
I will check and see whether this error is in the state extension or below. Thanks for the isolation
Dirk Bolte
12/22/2023, 10:01 PM
just checked: the actual error is reported by jsonpath itself and intended, so it's not in the extension. Anyhow I opened https://github.com/wiremock/wiremock/issues/2546 with some background information and an initial analysis.