Forum Discussion

payalmohitsobti's avatar
payalmohitsobti
Occasional Contributor
12 years ago

How to add http code to "Invalid HTTP Status Codes"

I am able to add invalid http status code assertion to a test request but not sure how to add code http code to the assertion using groovy def assertion = testRunner.getTestCase().getTestStepByName...