JMeterAliases.

JMeter(ICakeContext, FilePath, 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, FilePath logFile)

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", "outFile.jml"));

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void