JMeterAliases.

JMeterRunPluginManagerCommand(ICakeContext, string) Method

Summary

Allows to run any command with the JMeter Plugin Manager Command Line. See https://jmeter-plugins.org/wiki/PluginsManagerAutomated/ for details.
Assembly
Cake.JMeter.dll
Namespace
Cake.JMeter
Containing Type
JMeterAliases

Syntax

public static void JMeterRunPluginManagerCommand(this ICakeContext context, string commandWithArguments)

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(() => {
    JMeterRunPluginManagerCommand("status");
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
commandWithArguments string The full command including all arguments.

Return Value

Type Description
void