Contributions
Re: How to get data from raw response and set it as property for test case by groovy
Hello Rakinson33, Can you try with this groovy script? // Get the cartId header def cartId= testRunner.testCase.getTestStepByName("TestStep").httpRequest.response.responseHeaders["cartId"][0] // Set a test case property for the header testRunner.testCase.setPropertyValue( "cartId", cartId) Regards3.4KViews1like1Comment