Somehow I can't find a step-by step guide for beginners to set up a load test in VSTS so I'd appreciate if someone can help.
I have a solution with a Web Site project. I want to do some simplest load test against one page. I have VSTS Premium installed and have done the following:
1. with the solution open, clicked on Test -> New Test from the VS menu. 2. Chose "Load Test", and entered the New Load Test Wizard. 3. Kept everything on the Scenario screen as is (only increased the Think time to 5 seconds). 4. Kept Load Pattern screen as is 5. Kept Test Mix screen as is, that is, no items. 6. Kept the Browser Mix screen default to what's on it, that is, a IE 6.0 browser type. 7. Removed LAN from the Network Mix screen so no items there. 8. Kept Counter Sets screen as is. 9. On the Run Settings screen, 10 seconds for Warm-up duration, 10 minutes for Run duration, and everyting else as is.
Now when I run the test, I get this popup message: "Test did not execute. The test/run was aborted on agent 'Desktop12345' due to error: 'There are no tests in this load test.'.
I kind of understand as nowhere it asked me which page or site I want to test. So I right clicked on Scenario1 and clicked Edit Test Mix, thinking that's what's needed. I clicked on the Add button, there's a TestMehtod1 available in the Availabe tests list, I added that, and ran the test again. Then I got anoher popup error message: "Error HRESULT E_FAIL has been returned from a call to a COM component."
I don't know here TestMethod1 came from and can't find it in the proejct to edit either. Again since I don't see anywhere I can tell the test project what page I want to test, I'm not suprised it didn't run, but I have no clue at this point what else to do.
It's my frist time trying to do a test and I have gone some articles on MSDN2 and there's no mentioning on the specifics. I thought the old Application Test Center in VS 2003 was pretty intuitive to setup. Anyway, if anyone can point me in the right direcitons with some specifics, I'd appreciate.
Visual Studio Team System1
|