Forum Discussion
avidCoder
8 years agoFrequent 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()