In Junit test there is @After for the clenaup. Is there any similar way for the postman testing? If yes, how it should be done? Pls let me know.
Asked
Active
Viewed 39 times
1 Answers
0
I found the way to do it. I can simpley do it after the test as the last test for the clenaup
pm.test("Clean up after test", function () {
// Add your cleanup code here
});

Masi Boo
- 635
- 1
- 10
- 24