JMeterAliases.

JMeterInstallForJmx(ICakeContext, FilePath) Method

Summary

Installs all plugins that are needed to run the given jmx file.
Assembly
Cake.JMeter.dll
Namespace
Cake.JMeter
Containing Type
JMeterAliases

Syntax

public static void JMeterInstallForJmx(this ICakeContext context, FilePath jmxPath)

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(() => {
    JMeterInstallForJmx("path/to/project.jmx");
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
jmxPath FilePath The path the the jmx file.

Return Value

Type Description
void