TestShell TCL API - 'connect failed connection refused' error when attempting to logon #365
Quali-Community
started this conversation in
Useful Tips & Guides
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary: TestShell is provided with various API's which can be used to perform actions in resource manager via an external program or by interactive TCL commands. For a guide to getting started with the TCL API, please see the article below.
TestShell-TCL-API-Getting-Started
In case you have followed the getting started article referenced above and when attempting to use the method ::TestShellAPI::Logon you receive the following error below, there could be a problem with the service setting in the config.ini file.
(System32) 2 % ::TestShellAPI::Logon admin admin global
<Error>connect failed connection refused</Error>
FAIL
(System32) 3 %
The config.ini file contains a line to specify the location of the TestShell server. If you are running TCL on the TestShell server, then no changes are required. If you are connecting to a TestShell server which is not on the machine where TCL is running, you will need to replace "localhost" with the IP of the TestShell server.
Local TestShell Server
service = http://localhost:8029/ResourceManagerApiService
Remote TestShell Server (Example using 10.10.10.10 as the server IP)
service = http://10.10.10.10:8029/ResourceManagerApiService
Jeremy Gerson (Jeremy.G) - 05/08/2014 07:00 PM
· 2543 ·
Beta Was this translation helpful? Give feedback.
All reactions