Hi, everyone.
I run-folder with a collection of Posts and Get at the end to confirm Post
Running the entire folder(Error)
Script:
pm.test(pm.info.requestName + ": Test For Successful Header Validation", function () {
var jsonData = pm.response.json();
pm.expect(jsonData[0].success).to.eql(true);
});
pm.test(pm.info.requestName + ": Test for Response Case Formatting", function () {
pm.expect(pm.response.text()).to.include("success");
pm.expect(pm.response.text()).to.include("data");
pm.expect(pm.response.text()).to.include("-");
});
pm.test(pm.info.requestName + ": Status 200", function () {
pm.response.to.have.status(200);
});
Response body:
Manual Run:
[
{
"success": true,
"data": {
"apiObjectID": "409dac45-2ad8-4906-bc02-56e19f4a6579"
}
}
]
I had a look at previous Topics of a similar issue.
There are No orange dot from a delayed save or file that needs to be located. This is posting to a db located on local SQL.
DB is restored and services restarted before each run.