Forum Discussion

PM's avatar
PM
Contributor
7 years ago

how to get Endpoint URL from response in Property Transfer, any idea ?

I have created test suite which has around 10 Rows from EXCEL   DataSource - Excel GET  POST Property Transfer Data Sink    I was able to fetch out data or Header from response from GET and P...
  • PM's avatar
    PM
    7 years ago

    Got the resolution :-

     

    Raw Response:-

    new String(testRunner.testCase.testSteps["GET"].testRequest.response.rawResponseData)

     

    Raw Request:-
    def testReq = testRunner.testCase.getTestStepByName("GET").getTestRequest().getResponse().getRawRequestData()
    new String(testReq)