JMeterAliases.

JMeter(ICakeContext, FilePath) Method

Summary

Runs JMeter with the -t parameter with the test file
Assembly
Cake.JMeter.dll
Namespace
Cake.JMeter
Containing Type
JMeterAliases

Syntax

public static void JMeter(this ICakeContext context, FilePath testFile)

Examples

Use the #addin preprocessor directive and the #tool

#tool "nuget:?package=JMeter&include=./**/*.bat"
#addin "nuget:?package=Cake.JMeter"

Cake task:

Task("SomeTask").Does(() =>  JMeter("mytests.jmx"));

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
testFile FilePath The JMX Test file.

Return Value

Type Description
void