This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pm.test("Activities Get Collection Response Status Code Should be 200", ()=>{ | |
pm.expect(pm.response.code).to.eql(200); | |
}); | |
pm.test("Activities Get Collection Response Time Should Less Than 1000ms", () => { | |
pm.expect(pm.response.responseTime).to.be.below(1000); | |
}); | |
pm.test("Activities Get Collection Content-Type Header Should be application/json", ()=>{ | |
pm.expect(pm.response.headers.get('Content-Type')).to.contain('application/json'); |