Mitul_3737
(MD Shahriyar Al Mustakim Mitul)
1
I am getting this output while I run Get Stats of Postman Students expert training collection
)
but I should have got,
![student-expert-runner-output-web|690x282]
(upload://koqGjwkuZ228HqdB8EvRwouUkxX.jpeg)
Here is my collection link: https://www.getpostman.com/collections/1f7e76923f7fd2f55926
bijoy26
(Anjum Rashid)
2
This assertion error has occurred because you have already assumed that your Get all players
request would return a status code 200
response.
Before executing the Runner, go into the Tests tab of Get all players
request, and replace the function body of pm.test()
with the following-
pm.response.to.have.status(400);
Save your request and execute the runner again.
By doing so, you would get the correct response code and it will be reflected on the runner as well.