I'm using the trial version of Visual Studio 2010 Ultimate
Basically, we have a Windows app we want to load test
So my thought was (as a start) to create a coded UI Test that logs in to the application, then add these to a Load Test, so we can simulate say hundreds of logged-in users (we would need to 'feed' login IDs as paramaterised test data to the Coded UI Test)
But it seems like you can only create Load Tests using either Unit Tests or Web Tests
Does anyone know how I can (at least as a start) use the VS Ultimate test tools to create say a few hundred instances of the application, each with a different logged-in user?
It seems as though you'd somehow want to use the Load Test tool to do this, but I don't know how. Maybe you wouldn't use the Load Test tool to do this, but just use a Coded UI Test to create the login sessions? But it seems that there's a lot of useful features of the Load Test tool that mean that we should use it if we can...
The web performance and load tests work at the http layer so if you have a client server app that uses http to communicate to the server you can use fiddler to capture the http traffic then generate web performance tests from fiddler.
If you don't use http to communicate then you would have to use a coded ui test as a part of the load test. While this is possible it is not very practical as executing a coded ui test as a part of a load test restricts you to one virtual user per agent. If you are trying to simulate 100 users, you need 100 agents and 100 machines to host the agennts - ouch.
think I'll rule out VSU...client app can be made to communicate via HTTP but its standard protocol is an in-house-developed protocol. Sounds like trying to get it to talk via HTTP and recording HTTP traffic to create recorded tests would be just too hard. I was hoping to be able to just record and playback tests that could be used for load testing. Doesn't sound like a practical proposition with VSU. I don't really have the coding skills needed to write a lot of unit tests to use with VSU Load Tests. Thanks anyway.
On the contrary, VSU is quite a good choice for this. You should use "Web Performance Test" for this purpose though. As byronTest states, CodedUI will cause many problems because many client computers will be needed.
This question is regarding load test in Ultimate. I have created aweb performance testing and for this i cretaed a load test and added counters
For counters i need to see the performance on UAT server i added my UAT server computer name and added IIS and SQL counter to my load test. But i do not see any graphs loading for System under test Graph.
So i want to see the load test results for UAT server on Virtual machine.
Is there any possiblity to work out this?
ANd another thing i dont want to use any test agents on my servers, but i need to run load tests on UAT server