retrieve endpoint passed in from test runner
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2015
12:25 PM
06-10-2015
12:25 PM
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2015
03:06 AM
06-12-2015
03:06 AM
Did you pass it like -Pendpoint=<value> ?
Have you tried this?
--------------------------------
log.info context.expand('${#Project#endpoint}')
--------------------------------
Regards,
Rao.
Have you tried this?
--------------------------------
log.info context.expand('${#Project#endpoint}')
--------------------------------
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2015
03:46 AM
10-27-2015
03:46 AM
If you mean passed in from testrunner.sh shell script, then you can use the same solution as in this post
