Forum Discussion
SmartBearAmber
Alumni
10 years agoUsing a Groovy Script test step, enter the following:
def a = testRunner.testCase.getTestStepByName("Test Request - Example").getHttpRequest().getEndpoint()
log.info a
testRunner.testCase.setPropertyValue( "Endpoint", a )
You'll want to change the example request in my code to match your own.
This will result in custom Test Case property you can then write out via a DataSink test step.
Rookie
10 years agoOccasional Contributor