Red Gate forums :: View topic - ANTS Load ID issue
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Load
ANTS Load forum

ANTS Load ID issue

Search in ANTS Load forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
Lakshmi



Joined: 17 May 2006
Posts: 11
Location: Mysore

PostPosted: Wed May 17, 2006 8:43 am    Post subject: ANTS Load ID issue Reply with quote

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
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Thu May 18, 2006 6:06 pm    Post subject: Reply with quote

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:
WebClient.Get("http://localhost/something.aspx")
Me.LogToFile(WebClient.HttpReswponse.Content)

Code:
WebClient.Get("http://localhost/something.aspx")
Me.ReportWarning("something.aspx returned HTTP status "&WebClient.HttpResponse.Status.ToString())
Back to top
View user's profile Send private message
Lakshmi



Joined: 17 May 2006
Posts: 11
Location: Mysore

PostPosted: Tue Jul 04, 2006 8:32 am    Post subject: Reply with quote

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..Very Happy
_________________
Lakshmi
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group