{
"request": {
"method": "POST",
"urlPathPattern": "/v1/customer"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"bodyFileName": "data/customer-{{jsonPath request.body '$.cid'}}.json",
"transformers": ["response-template"]
}
}
Sous Mac, il fonctionne bien!
Sous Linux, c'est de donner ce message d'erreur:
<pre> Server Error</pre></p><h3>Caused by:</h3>
<pre>java.lang.RuntimeException: java.io.FileNotFoundException:
/mocks/./__files/data/customer-{{jsonPath request.body '$.cid'}}.json
(No such file or directory)\n
Est-il une solution ou une solution de contournement? Apprécié!