text
exists in the response JSONpm.test("status text key exists", function () {
var jsonData = pm.response.json();
pm.expect(jsonData.status.text !== undefined).to.eql(true);
});
The response JSON{
"status": {
"code": 400,
"text": "Mobile Number is required"
}
}