You can now use more realistic load modeling options for running load tests, and you can organize the returned data in ways that are richer and more flexible.
Control Load Modeling
Load tests will now offer more load-modeling options that let you create load tests that more accurately model the expected real-world usage of an application or Web site. You can now model usage based on the number of tests run, the amount of time spent on each test, or the pace at which the users run the tests. For more information, see About Test Mix.
Improved Load Test Analyzer Views
Visual Studio 2008 Load Test Analyzer includes a new summary view that displays the key indicators and results in a single page that you can print and export. There are also four new built-in graphs that display key information, and you can view up to four graph at the same time. The tables have also been improved so that you can view up to four tables at the same time. For more information, see the following:
Improved Load Test Results Repository Management
Visual Studio 2008 includes a new Repository Management dialog box that lets you directly access the load test results repository. You can use this to easily open, import, export, and delete load test results. For more information, see Managing Results in a Repository.
Published Schema for XML Files
As you work with Test Edition, it creates and stores data in XML files, which include the following:
Test metadata file. This type of file has the extension .vsmdi. Test metadata files store information about the tests in your solution. For more information, see Reusing Tests.
Test results file. This type of file has the extension .trx. When you run tests, Visual Studio automatically saves test results to a .trx file. For more information, see How to: Export Test Results.
Manual tests in text format. This type of file has the extension .mtx. When you create a manual test in text format, it is saved into your test project as a file of this type. For more information, see How to: Create a Manual Test.
In Visual Studio 2008, all the XML files that are used by Test Edition are defined by a new XSD named TestTypes.xsd. Any edits that you make, manually or programmatically, to any of these files must result in XML that conforms to the schema defined in this XSD. Similarly, any files that you create with these extensions must also conform to the schema defined in this XSD. Otherwise, Visual Studio 2008 Test Edition cannot use them.
Test projects that were created in Visual Studio 2005 contain XML files. When you open a Visual Studio 2005 test project, the Visual Studio 2008 project upgrade wizard prompts you for permission to convert the files into the new format. To use the files in Visual Studio 2008, you must let Visual Studio convert the files. If you decide not to convert or upgrade one or more files, Visual Studio cannot open your test project. Similarly, if you add an existing file of the previous format to a test project, you will be prompted to let Visual Studio upgrade the file format. If you answer yes, Visual Studio converts the file and makes it available as part of the test project. If you answer no, your request to add the files is canceled.
Load patterns for load tests