@Oleg Nenashev can you please help, for array of elements how it can be done?
for eg: request is something like
"entitle": [{"name": "${json-unit.any-string}", "value": "${json-unit.any-string}","quantity": {"value": "${json-unit.any-number}", "unit": "${json-unit.any-string}"}, "enforce_quantity": "${json-unit.any-boolean}"}]
In response if I put it like
"entitle": [
{
"name": "{{jsonPath request.body '$.name'}}",
"value": "{{jsonPath request.body '$.value'}}",
"quantity": {
"value": {{jsonPath request.body '$.quantity.value'}},
"unit": "{{jsonPath request.body '$.quantity.unit'}}"
},
"enforce_quantity": {{jsonPath request.body '$.enforce_quantity'}}
}
]
while testing I am gettting empty response
"entitle": [
{
"name": "",
"value": "",
"quantity": {
"value": ,
"unit": ""
},
"enforce_quantity":
}
]