This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.JMeter.
Summary
Installs the given plugin to the JMeter package.
- Assembly
- Cake
.JMeter .dll - Namespace
- Cake
.JMeter - Containing Type
- JMeterAliases
Syntax
public static void JMeterInstallPlugin(this ICakeContext context, string pluginName)
Examples
Use the #addin preprocessor directive and the #tool
#tool "nuget:?package=JMeter&version=5.0.0&include=./**/*.bat"
#addin "nuget:?package=Cake.JMeter"
Cake task:
Task("SomeTask").Does(() => {
JMeterInstallPlugin("jpgc-casutg"); // Custom Thread Groups
JMeterInstallPlugin("jpgc-graphs-additional"); // 5 Additional Graphs
JMeterInstallPlugin("jpgc-graphs-basic"); // 3 Basic Graphs
JMeterInstallPlugin("jpgc-graphs-composite"); // Composite Timeline Graph
JMeterInstallPlugin("jpgc-graphs-dist"); // Distribution/Percentile Graphs
JMeterInstallPlugin("jpgc-mergeresults"); // Merge Results
JMeterInstallPlugin("jpgc-dummy"); // Dummy Sampler
JMeterInstallPlugin("jpgc-tst"); // Throughput Shaping Timer
JMeterInstallPlugin("jpgc-functions"); // Custom JMeter Functions
JMeterInstallPlugin("jpgc-cmd"); // Command-Line Graph Plotting Tool
});
Attributes
Type | Description |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
pluginName | string | The name of the plugin to install. Should be the plugin name (ex: jpgc-json) and can include the version (jpgc-json=2.2). Multiple can be installed at once by separating them with a comma. |
Return Value
Type | Description |
---|---|
void |