Getting Deadlock error
In VSTS, i have recorded a scenario with fiddler tool and it runs perfectly well after reruning the scenario. Iam using Visual Studio Team System 2005. Now in the web test if i run 5 users one after another(its taking input from a text file) it runs perfectly and the users are able to register. But if i run a load test with 5 users running concurrently, iam getting these errors even though all the 5 users are able to register:
1) Transaction (Process ID 62) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction [there are few of these errors with different transaction ID deadlocked]
2) Object reference not set to an instance of an object.
Can anyone please help me on this. Iam getting these errors only while load testing and not while web testing
Re: Getting Deadlock error
Looks like its a deadlock on the text file that you are using for input data, while running your load test, two or more processes are probably trying to access this data as virtual users are running concurrently, try using a DB for your test data, its a better option either way.
You donít see this error when running web tests because they are run iteratively one after another so no two processes are trying to access your test data at the same.