Forum Discussion

subhaD's avatar
6 years ago

changing Rest Resource path on one test case only

I am testing error scenarios and trying to edit the Rest Resource path for one test case

I understand we can SubmitListener.beforeSubmit event handler submit.request.getPath()
submit.request.setPath("/product/api/v4.0/foo") submit.request.getPath()


How to I make this execute only for one test case and not entire test suite???

4 Replies