Jacob_Hassing
14 years agoContributor
set endpoint when run from commandline does not work for me
i have 2 wsdl's which i call in my test suite.
when i run from gui, i set endpoint for all requests on each wsdl manually.
when i run from commandLine i start up testrunner.bat with -e switch to specify endpoint for wsdl1
the place where i call service from wsdl2 i have a groovy script that sets the endpoint for step like this:
" testRunner.testCase.testSteps["testcasename"].getTestRequest().setEndpoint(ENDPOINT) "
but the teststep fails because it uses the global endpoint set when i start testrunner.bat, so appearrently the endpoint is not overwritten by my groovy script ??
any idea why ??
when i run from gui, i set endpoint for all requests on each wsdl manually.
when i run from commandLine i start up testrunner.bat with -e switch to specify endpoint for wsdl1
the place where i call service from wsdl2 i have a groovy script that sets the endpoint for step like this:
" testRunner.testCase.testSteps["testcasename"].getTestRequest().setEndpoint(ENDPOINT) "
but the teststep fails because it uses the global endpoint set when i start testrunner.bat, so appearrently the endpoint is not overwritten by my groovy script ??
any idea why ??