Forum Discussion
avidCoder
8 years agoSuper Contributor
Use this code to get the endpoint and after that use split() function.
def endPoint = testRunner.testCase.getTestStepByName("Request Name").getHttpRequest().getEndpoint()
Use this code to get the endpoint and after that use split() function.
def endPoint = testRunner.testCase.getTestStepByName("Request Name").getHttpRequest().getEndpoint()