a row from Tests:
pm.response.to.have.jsonBody(“Message”, “No items was found for Name(env_varible_1), ID(env_varible_2) and IsNegative (env_varible_3)”);
How to GET environment variable in test?
a row from Tests:
pm.response.to.have.jsonBody(“Message”, “No items was found for Name(env_varible_1), ID(env_varible_2) and IsNegative (env_varible_3)”);
How to GET environment variable in test?
You should be able to do this to get the variables in the string:
`No items was found for Name(${pm.environment.get('env_varible_1')}), ID(${pm.environment.get('env_varible_2')}) and IsNegative (${pm.environment.get('env_varible_3')})`