JMeterAliases.

JMeter(ICakeContext, JMeterSettings) 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, JMeterSettings settings)

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(new JMeterSettings
{
    TestFile = "mytests.jmx",
    LogFile = "outFile.jml"
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings JMeterSettings The JMeterSettings

Return Value

Type Description
void