Forum Discussion
Unhandled
14 years agoContributor
I am unaware of a method to directly access the value of that parameter.
Here is an indirect method. Use this to get the Endpoint of a specific Test Step:
This will give you the entire URL. Then you could use groovy to parse out the 'hostAndPort' part (everything between 'http://' and the next '/')
I know it's not exactly what you wanted, but close.
Here is an indirect method. Use this to get the Endpoint of a specific Test Step:
def endpoint = context.expand( '${TestStepName#Endpoint}' )
log.info "${endpoint}";
This will give you the entire URL. Then you could use groovy to parse out the 'hostAndPort' part (everything between 'http://' and the next '/')
I know it's not exactly what you wanted, but close.
Related Content
- 5 years agovladimiro
- 9 months agoalinabond
- 7 months agosohailalam2696