ANTS Load ID issue

Forum for users of ANTS web server load testing tool

Moderator: Brian Donahue

ANTS Load ID issue

Postby Lakshmi » Wed May 17, 2006 8:43 am

We are using ANTS load to test our product which is web based and an e-learning service. We create folders/users and we delete the same. Each folder created has a new id and so does the user. We are using a soft delete where the flag is turned to 1 on deletion and 0 on creation. What we see when we run the project is that no new id gets created for the Virtual clients in the database. can you kindly help. Are you going wrong somewhere in using the tool.
Lakshmi
Lakshmi
 
Posts: 11
Joined: Wed May 17, 2006 8:28 am
Location: Mysore

Postby Brian Donahue » Thu May 18, 2006 6:06 pm

Hello,

Unfortunately I don't know enough about your web application to be of much help, but you may want to use some diagnostics logging to see if you can find the reason why the requests are succeeding, but no data is being written.

You can use the logtofile method to log the web page content to the antstracelog.txt file in the ANTS Load folder. You can also use ReportWarning to put messages into the report.

Code: Select all
WebClient.Get("http://localhost/something.aspx")
Me.LogToFile(WebClient.HttpReswponse.Content)

Code: Select all
WebClient.Get("http://localhost/something.aspx")
Me.ReportWarning("something.aspx returned HTTP status "&WebClient.HttpResponse.Status.ToString())
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Lakshmi » Tue Jul 04, 2006 8:32 am

Hi, Thanks for the reply. The data is being posted. The problem was due to viewstate being corrupted. Once the viewstate was replaced in WebClient.Viewstate with the respective viewstate for that post, data was written into the database.... Thank you..:D
Lakshmi
Lakshmi
 
Posts: 11
Joined: Wed May 17, 2006 8:28 am
Location: Mysore


Return to ANTS Load

Who is online

Users browsing this forum: No registered users and 1 guest