How to get assertion result in variable using Postman Test

后端 未结 0 1700
遥遥无期
遥遥无期 2020-12-18 18:02

I am unable to get the result of the assertion. Below mentioned are the example

//Code

pm.test(“Status code is 200”, function() {
pm.response.to.have.s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题