skjoldan
14 years agoOccasional Contributor
using property from command line in assertion
hi,
I have some scripts, that we are calling from the command line via testrunner.
As we are running against different hosts, I would like to be able to do some assertions against the different host, depending on what host property we have put into the command like.
Like we are running:
testrunner.bat -h 'hostAndPort' Test.
Then I would like to pull out the host and port from this request into my test, is that possible?
Regards
Skjoldan
I have some scripts, that we are calling from the command line via testrunner.
As we are running against different hosts, I would like to be able to do some assertions against the different host, depending on what host property we have put into the command like.
Like we are running:
testrunner.bat -h 'hostAndPort' Test.
Then I would like to pull out the host and port from this request into my test, is that possible?
Regards
Skjoldan