Ask a Question

retrieve endpoint passed in from test runner

no1ross
Visitor

retrieve endpoint passed in from test runner

Hi,

 

I'm writing  a groovy script test step, how do i get the current endpoint that was passed in via the the test runner?

 

Thanks,

Andrew

2 REPLIES 2
nmrao
Champion Level 3

Did you pass it like -Pendpoint=<value> ?
Have you tried this?
--------------------------------
log.info context.expand('${#Project#endpoint}')
--------------------------------


Regards,
Rao.
sburkard
Occasional Contributor

If you mean passed in from testrunner.sh shell script, then you can use the same solution as in this post

 

http://community.smartbear.com/t5/SoapUI-Open-Source/Obtain-arguments-given-to-testrunner-sh-in-Scri...

cancel
Showing results for 
Search instead for 
Did you mean: