How do I use TestMaker from behind a proxy server?
Proxy servers provide an IT team with a way to manage network traffic. A proxy server is a router that forwards network traffic to a host. If your network uses a proxy server chances are TestMaker will give you errors when you try to run a test agent script or use the New Agent Wizard to record a script. You may see errors like these: Encountered an error: java.net.NoRouteToHostException: No route to host: connect Encountered an error: java.net.ConnectException: Connection timed out: connect To use a proxy server from a TestMaker test agent script use setProxyHost , setProxyPort , setProxyUser , setProxyPass methods of the protocol handler. Below is an example script showing an HTTPProtocol handler using a proxy server: protocol = ProtocolHandler.getProtocol(“https”) protocol.setProxyHost( “localhost” ) protocol.setProxyPort( 9001 ) protocol.setProxyUser( “frank” ) #optional protocol.setProxyPass( “password” ) #optional Many times the proxy server does not require a user or password. I