Search code examples
visual-studiovisual-studio-2013load-testingweb-testing

Web Test Fails With SocketException


I have recorded a simple web test in VS 2013 Ultimate and im attempting to run it on a remote agent.

I get the following error:

Request failed: No connection could be made because the target machine actively refused it 127.0.0.1:23109

enter image description here

If i change my run settings to only run the test locally it succeeds.

When i view the "Manage Test Controller" dialog the agents are registered and in the ready state.

I have checked the Controller and agent LAN settings and none of them is configured (or required) to use a proxy.

Does anyone have any idea whats going on?


Solution

  • So the problem was the Internet Explorer security settings on the agents and also Internet explorer was configured to use a proxy on the agents.

    I logged onto the server and checked this initially but as my own user account. I then checked by logging on as the user the agents run as and removed the configured proxy from IE, lowered the security settings and all was well.