I am running a script test on ASP .Net web based system using Conductor and the test runned and exited successfully. However, when I crossed check the database, there were no records inserted.
Because whenever users log on or log off from the system, a record will be created into an audit log table in the database.
My QALoad version is 5.06.00 build 167.
Really appreciated if anyone here can provide me some guidance.
Thanks in advance.
Thanks for your response. Actually, there is no errors at all. It just did not insert data to the database. I just worry about that the script did not go thru some part of the program. Hope to get some info. Thanks a lot!
First suggestion is to capture a manual transaction with Fiddler (MS free HTTP capture tool) and the run your script in the WorkBench with the proxy set for Fiddler (127.0.0.1:8888 I believe) and compare the parameters.
Maybe someone that's worked with .Net can help, but I'd guess that you missed parameterizing some dynamic value is causing it not to update.
A problem is a difference between what is perceived and what is desired, that
we want to reduce (Dewey 1933)
Drazle advises you very well here. I also think you have likely identified the issue.
It is very possible for a load test to not report errors, but not have the software perform as intended. When the application being tested has robust error reporting, it will often (but not always) log errors, giving a hint that something went wrong. Otherwise, it may be necessary to do the type of additional results checking you've done here. Nice job, by the way.
The application I most frequently use QALoad on is a .Net application. My experience has been that I need to capture specific GUIDs as text strings from certain responses and substitute them into posts later into the load script. Some of that is due to how the application was written, but to handle a viewstate, you would need to do similar things.
When you dig into the requests, you should be able to see which strings are different from one session to another.
Really really appreciated your responses and advise to help out on my problem.
I've solved my problem by capturing the screen using HTTP mode instead of HTML mode.
Both of your ideas really make me ponder how things work.
Just want to say a million thanks!
Have a nice day!