I want add Id number to Environment variable
I used
const TestCaseInfo = pm.response.json()
pm.environment.set(“TestCaseID” , TestCaseInfo.id);
not able to get " id" due to Id is under the “12871” ,and 12871 changing every run .
here is the response
{
"12871": {
"id": 12871,
"orderId": 11415,
"executionStatus": "-1",
"executionWorkflowStatus": "CREATED",
"comment": "",
"htmlComment": ""
}