Create custom code and plug-ins for load tests
A custom plug-in uses code that you write and attach to a load test or a Web performance test. You can use the load test API and the Web Performance test API to create custom plug-ins for tests to expand to the built-in functionality.
Note
In this version, you can add multiple plug-ins to your load test. Prior to Visual Studio Ultimate 2010, you were limited to using only one plug-in per load test. You no longer have to place all of your add-in code into the same plug-in.
Requirements
- Visual Studio Enterprise
Tasks
Tasks | Associated topics |
---|---|
Create a custom plug-in for your load test: You can use load test API to create a custom plug-in to add more testing functionality to your load test. | - How to: Use the Load Test API - How to: Create a Load Test Plug-In |
Create a custom plug-in for your Web Performance test: You can use Web performance test API to create a custom plug-in to add more testing functionality to your Web performance test, including at the request level. You can also create a Web Service test. Additionally, you can create a Web recorder plug-in that can modify a Web performance test after it is recorded, but before it appears in the Web Performance Test Result Viewer. |
- How to: Use the Web Performance Test API - How to: Create a Web Performance Test Plug-In - How to: Create a Request-Level Plug-In - How to: Create a Web Service Test - How to: Create a Recorder Plug-In |
Add UI features to Web Performance Test Results Viewer: You can add more UI features to the Web Performance Test Results Viewer using a Visual Studio add-in. | - How to: Create a Visual Studio Add-In for the Web Performance Test Results Viewer |
Create a custom HTTP body editor: You can create a custom editor to edit binary or string http XML responses from a web service. | - How to: Create a Custom HTTP Body Editor for the Web Performance Test Editor |
Reference
Microsoft.VisualStudio.TestTools.LoadTesting
See Also
Analyzing Load Test Results
Generate and run a coded web performance test
How to: Create a Coded Web Performance Test
Web performance and load tests in Visual Studio
API Reference for Testing Tools for Visual Studio ALM