Overflow Error Generating Results

Forum for users of ANTS web server load testing tool

Overflow Error Generating Results

Postby chriswells » Tue Jan 16, 2007 11:31 am

ANTS Load 1.75.0 BUILD 4
I have completed a 2 hour load test. Batch test from 150 to 600 Virtual Clients in steps of 150 with each individual test lasting 30 minutes.

I logged the following counters: -
./ANTS:Host\\Sampled % CPU\./ANTS:Host\\Sampled available bytes\./ANTS:Host\\Sampled pages / sec\./ANTS:Host\\Virtual clients\app2-epsilon/ANTS:Host\\Sampled % CPU\app2-epsilon/ANTS:Host\\Sampled available bytes\app2-epsilon/ANTS:Host\\Sampled pages / sec\app2-epsilon/ANTS:Host\\Virtual clients\cancer/ANTS:Host\\Sampled % CPU\cancer/ANTS:Host\\Sampled available bytes\cancer/ANTS:Host\\Sampled pages / sec\cancer/ANTS:Host\\Virtual clientsAt the end of the test when I closed the Run Test window I got the following error: -

There was a problem generating the report. Please see the event log for more information.
Value was either too large or too small for an Int32.

Looking in the event log I found the following error message: -

Source: ANTS
Type: Error
EventId: 0
System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32(Double value)
at RedGate.Ants.Backend.ANTSApplication._1(String , Distribution[] , Int32[] , String , String& )
at RedGate.Ants.Backend.ANTSApplication.CreateReport(ResultsSets resultsSets)
at RedGate.Ants.ANTS.Startup.DisplayResults(ResultsSets results, String fileName)

Is there any way of recovering the results from this test?


Posts: 3
Joined: Thu Jan 04, 2007 5:21 pm

Postby Brian Donahue » Tue Jan 16, 2007 5:20 pm

Hi Chris,

I’m sorry that this happened. The basic problem is that the part of ANTS Load that draws the graphs only supports int16 numbers, so any value larger than 65536 will cause this error. I don’t know of any way to recover the test results.

To prevent this, you can either omit these counters from the test, or scale them so that they are 1/100 the full value so that they will not get larger than the maximum value of a 16-bit integer.

The question I have for you is, do you really need these counters? The basic idea of these counters is to provide ANTS Load Distributed Test Service with a basis for how it will share the virtual client load in a distributed test. I don’t even think this information is 100% reliable, except for predicting how many virtual clients will be apportioned to a test host.

Please let me know if you have any further information.
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to ANTS Load

Who is online

Users browsing this forum: No registered users and 0 guests