Hi,
when I run a collection even though my call returns 200, the item in the collection run summary shows up as failed with a status code of 200.
Here are the results of the run
Here is my test
pm.test("Status code is 200", function () {
pm.response.to.have.status(200);
var json = pm.response.json();
pm.environment.set('currentClient_Buyer', json._id);
var currentClient_Seller = pm.environment.get("currentClient_Buyer");
console.log('currentClient_Buyer', currentClient_Buyer);
});
what is interesting is when I run each of the steps from the collection one by one, they all succeed with 200! but when I run the collection, the “Buyer” call ALWAYS fails with a 200.