Forum Discussion
SmartBear_Suppo
Alumni
11 years agoHi,
Replace
That will get the value of the RequestId header, in which you can modify afterwards.
Regards,
Marcus
SmartBear Support
Replace
String ReqId = testRunner.testCase.testSteps[testStepName].testRequest.response.responseHeaders["RequestId"]with
def ReqId = testStep.testRequest.response.responseHeaders["RequestId"].get(0)
That will get the value of the RequestId header, in which you can modify afterwards.
Regards,
Marcus
SmartBear Support