Version info:
2.0.16
I have this scenario:
scenarios:
- flow:
- get:
url: ‘url/employeeId’
headers:
Authorization: ‘Bearer {{ accessToken }}’
capture:
– json: “$”
as: “id” - log: “prescriptionId {{ id }}”
The value returned in the body is just an integer, like the image below:
- get:
The returned body
Returned value
and I’m trying to capture this returned value but I’m not succeeding, thanks for the help!
The returned value in body is captured by Artillery.
New contributor
Pedro Luiz Jr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.