pm.test("Test scenario 1", ()=> {
pm.test("Checking response code", ()=> {
pm.expect(pm.response.code).to.eql(200);
});
pm.test("Checking response message", ()=> {
pm.expect(pm.response.status).to.eql('5OK');
});
//more pm test
});
you can have but the output will show this as three tests only and result of internal test won't affect the out side abstraction
so in short you can but it won't give the behavior as you except
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…