Share via


Creating and Using Custom Plug-ins for Load and Web Performance 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

With Visual Studio 2010 Ultimate you can add multiple plug-ins to your load test. Prior to Visual Studio 2010 Ultimate 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.

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.

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.

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.

Create a custom HTTP body editor: You can create a custom editor to edit binary or string http XML responses from a web service.

Reference

WebTestPlugin

WebTestRequestPlugin

ILoadTestPlugin

WebTestRecorderPlugin

Microsoft.VisualStudio.TestTools.LoadTesting

See Also

Tasks

Walkthrough: Creating a Coded Web Performance Test

How to: Create a Coded Web Performance Test

Concepts

Testing Application Performance and Stress

Other Resources

Analyzing Load Tests Results Using the Load Test Analyzer

API Reference for Testing Tools for Visual Studio ALM