Forum Discussion
15 years ago
Try this to get the HTTP status code from RAW response
actErrorCode = testRunner.testCase.testSteps["Request Test Step"].testRequest.response.responseHeaders["#status#"]
Where actErrorCode is a user defined variable
and "Request Test Step" is the name of the Request Test step within the Soap UI test case.
Hope this works
actErrorCode = testRunner.testCase.testSteps["Request Test Step"].testRequest.response.responseHeaders["#status#"]
Where actErrorCode is a user defined variable
and "Request Test Step" is the name of the Request Test step within the Soap UI test case.
Hope this works
Related Content
- 3 years agomrarkapravo
- 7 years agoKate