Error Distributing Load Generation

Forum for users of ANTS web server load testing tool

Moderator: Brian Donahue

Error Distributing Load Generation

Postby tommyjjohnson » Tue Feb 27, 2007 10:31 pm

I'm trying to use multiple hosts to generate load using a particular test script. I have it setup like this:

localhost
--localhost
----Host1
----Host2
----Host3
----Hostn

When I start the test, everything looks good. I can tell by the Web Service\\Current Connections performance counter that my script is running and, in fact, hitting the Web Server(s). In addition, I have text that is being logged to track the progress of the script and it shows that the script is progressing as expected. After a while, however, I get the following message on the master machine:


An error was raised on .:

System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn on customErrors in the server's .config file.

Server stack trace:

Exception rethrown at[0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at RedGate.Ants.Controllers._1.EndInvoke(IAsyncResult result)
at RedGate.Ants.Controllers.Host._1(IAsyncResult)

Any help would be much appreciated.

Thanks in advance
tommyjjohnson
 
Posts: 3
Joined: Wed Jan 03, 2007 10:21 pm

Postby Brian Donahue » Tue Feb 27, 2007 10:44 pm

It looks like one of the distributed test hosts isn't working, and of course we can't tell which one. Is it possible to try putting only one host in, trying each one, until you can find out which one has the problem? It may be as simple as starting the ANTS Load Distributed Test Service on the host because it isn't running.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby tommyjjohnson » Tue Feb 27, 2007 11:08 pm

I left out that I get two such errors for every one distributed host. I changed it to use just one host and now I get just two error messages.

I've verified that the service is running. As a precaution, I even restarted the service on each distributed host. Also, the individual hosts are able to run the script if I start the Ants GUI on them directly.

What I'm looking into now is how to turn customErrors off so that hopefully, I can get more information. I'm not quite sure how to do that. What I think I need to do (and what I've done) is to create a RedGate.Ants.Ants.exe.config file in the Program Files\\Ants Load folder with customErrors="Off" in it. And as I type I see that didn't work. Same error message. Actually, I notice now there is one variant between the messages. This one had the last two lines of:

at RedGate.Ants.Controllers._3.EndInvoke(IAsyncResult result)
at RedGate.Ants.Controllers.Host._7(IAsyncResult)

where it was

at RedGate.Ants.Controllers._1.EndInvoke(IAsyncResult result)
at RedGate.Ants.Controllers.Host._1(IAsyncResult)

Thanks
tommyjjohnson
 
Posts: 3
Joined: Wed Jan 03, 2007 10:21 pm

Postby Brian Donahue » Tue Feb 27, 2007 11:32 pm

Two ideas: I think the account you log into the ANTS master with needs to be a domain account with admin rights on all machines. I know ANTS uses the ANTS:Host performance counters to distribute the load. I'm not 100% sure about whether the Service (which is probably running as LocalSystem) does this, which is the source of the doubt.

There could also be remoting restrictions in the .NET Framework configuration. I think if this was the case, though, the exception would have 'SecurityException' in it somewhere.

Can you please look into one or both of these and let me know the outcome?
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Load

Who is online

Users browsing this forum: No registered users and 0 guests