| Author |
Message |
Lakshmi
Joined: 17 May 2006 Posts: 11 Location: Mysore
|
Posted: Wed May 17, 2006 8:43 am Post subject: ANTS Load ID issue |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Thu May 18, 2006 6:06 pm Post subject: |
|
|
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()) |
_________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Lakshmi
Joined: 17 May 2006 Posts: 11 Location: Mysore
|
Posted: Tue Jul 04, 2006 8:32 am Post subject: |
|
|
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.. _________________ Lakshmi |
|
| Back to top |
|
 |
|
|
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