How to create a Visual Studio Load Test Plug-in using C#?

How to create a Visual Studio Load Test Plug-in using C#?

Follow the steps given below:

a. Open a Test Project that contains a Web test.
b. Add a Load test to the Test Project and configure it to run a Web test.
c. Add a C# Class Library Project to your test solution.
d. Add a reference to the Microsoft.VisualStudio.QualityTools.LoadTestFramework dll
e. In the class file located in the Class Library project, add a using statement for the Microsoft.VisualStudio.TestTools.LoadTesting namespace.
f. Implement the ILoadTestPlugin interface for the class created in the Class Library project. See the following Example section for a sample implementation.
g. In the Test Project, right-click and select Add Reference. From the Projects tab, select the Class Library Project. Click OK.
h. Open the Load test and select the top node of the Load test.


Tags: Microsoft, Visual Studio, Programming




Disclaimer:Pak/ed and the contributors are not responsible for any errors contained and are not liable for any damages resulting from the use of this material.  Disclaimer


Related

Home      Disclaimer      Advertise      Contact      Privacy Policy     

Copyright © 2004-16 Paked.com. All rights reserved.

Note: Site best viewed at 1024 x 768 or higher screen resolution