Contributions
I am facing an issue on saving the value from response to a property using assertion
My Response HTTP/1.1 201 Created Date: Fri, 09 Oct 2020 15:29:59 GMT Content-Type: text/plain X-Application-Context: provisioningContext,AESPassword:oidc,multiTenant:8086 TraceID: f81edfd6-a7a1-41d4-b3aa-602287523f07 Content-Length: 32 8a74833d746c689a01750dfbada4709f I need to save8a74833d746c689a01750dfbada4709f to a property called Id in the testcase, so that i can use it in the next teststep. Tried - As there is no name space i couldn't trace the value so used * def gutils = new com.eviware.soapui.support.GroovyUtils( context ); def responseHolder = gutils.getXmlHolder(messageExchange.responseContentAsXml.toString()); def token = responseHolder.getNodeValue("//*:*") def testCase = messageExchange.modelItem.testCase testCase.getTestStepByName("Properties").setPropertyValue("id",token); I am new to SoapUI so can anyone help me on how to resolve this?Solved1.2KViews0likes2Comments