Elsevier_-_OH_S
11 years agoContributor
Geeting an object from Response
I have a response Node <ns2:abc>59a7-95408ae85419c802a54f5c573fd38ce5a39-dnW</ns2:abc>
i want to reffer this node and set it up at project level . I am using below script to reffer that its giving an error saying no such propert abc.Please let me know where i am wrong.
def testingAuthTokenMatch = String.valueOf(testRunner.testCase.getTestStepByName("Authenticate_User").httpRequest.responseContent["abc"]) =~ /\[(.*)\]/
i want to reffer this node and set it up at project level . I am using below script to reffer that its giving an error saying no such propert abc.Please let me know where i am wrong.
def testingAuthTokenMatch = String.valueOf(testRunner.testCase.getTestStepByName("Authenticate_User").httpRequest.responseContent["abc"]) =~ /\[(.*)\]/