- Created by SS Doc Editor, last modified by SS Doc Editor on Nov 12, 2020
This section outlines how to create more complex extensions (scriptable variables and components) with a more advanced IDE (such as Visual Studio).
Project
Create a new class library project. Then add a reference to StresStimulus extensibility API located in the StresStimulus.Extensibility
namespace using the following assembly:
- In standalone version, use namespace is located in the
StresStimulus.Core
assembly - In Fiddler add-on version, use namespace is located in
StresStimulus.Core.Fiddler
assembly
If you wish to use your custom extensions with both StresStimulus versions, create/compile two versions of the extensions using the same codebase, but referencing two different StresStimulus assemblies.
Your assembly should be stored in the Bin subfolder in the test folder. For example, for the test called MyTest.ssconfig, copy the assembly .dll to MyTest\bin folder.
Programming the extensions is similar to programming them using the code editor.
.NET versions
StresStimulus is built on .NET 4, therefore extensions must also be built on .NET Framework 4 or higher.
Distributed Testing:
If using external variables in a distributed testing environment, it's important to consider what version of StresStimulus is running on the controller and agents being used.
- If the controller is running standalone version, the agents must be running a standalone version or as a Windows service.
- If the controller is running Fiddler add-on version, the agents must be running Fiddler add-on version.
- No labels