I am getting org.apache.http.conn.ConnectTimeoutException: Connect to <host>:<port> timed out error when executing the test caseusing TestRunner command.
Same test case is working when executing ITR mode
Can any please help?
Do you mean TestRunner fails to start the test, or TestRunner successfully starts the test, but the test fails?
TestRunner successfully starts the test , but the test fails
Thanks for the details. Since you are able to run test in ITR, Can you please try staging the test locally using following command
TestRunner -u admin -p admin -r <Staging_doc_file> -cs local -t TestCaseDocument -m <remote_registey>
There seems to be a connectivity issue between the DevTest server and the service you are trying to hit (probably a firewall). See if you can log on to the DevTest server and telnet to the services host and port. If that fails, you'll need a network admin to open a firewall port for you.
Can you please provide the complete command being used with Test Runner. You can replace sensitive info.
Please verify, to which registry URL testrunner is trying to connect. By default, it will try to connect to local registry url. If your registry is running on remote server, please add -m <Registry_URL> to Testrunner command and execute the test.
Ex: TestRunner -u admin -p admin -t C:\Devtest_10.1\DevTest10.1\examples\Tests\DevTest_config_info.tst -m tcp:\\Myhostname:2010\Registry -a
Can you run with -cs local option. If that works, then Your coordinator server might have connectivity issues like firewall, proxy, etc with the web service url.
Retrieving data ...