Load tests run multiple instances of one or more unit tests so that you can measure your application's performance and ability to handle load. The primary components of a Visual Studio 2010 load test include:
Load tests are created using the New Load Test Wizard, edited with the Load Test Editor, and analyzed in the Load Test Analyzer. All these tools are included in Microsoft Visual Studio Ultimate edition. For more information about creating and editing load
tests in Visual Studio 2010 Ultimate edition see
Creating and Editing Load Tests (http://go.microsoft.com/fwlink/?LinkId=208308).
Follow the steps in the sections below to add a load test to the test project described in
Create a Unit Test to Submit Documents to BizTalk Server. These steps also describe how to configure the
Scenarios, Counter Sets, and Run Settings for a load test.
This topic describes how to use the New Load Test Wizard to add a load test to a test project and how to configure the load test to meet specific needs.
Follow these steps to add a load test to a test project using the New Load Test Wizard.
Follow these steps to add a counter set with performance counters that measure BizTalk Server KPI required for determining Maximum Sustainable Throughput (MST) of the BizTalk Server application:
% Processor Time for the _Total counter instance.
BizTalk:Message Box: General Counters
Spool Size for the <BizTalk MessageBox database name>:<SQL Server instance name> counter instance.
Documents received/Sec for the receive host counter instance.
Documents processed/Sec for the transmit host counter instance.
Message delivery incoming rate for the document receive host.
Message publishing outgoing rate for the document transmit host.
Orchestrations completed/sec for the Orchestration processing host.
Follow these steps to associate the appropriate counter sets with the appropriate computers for the load test: