This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.JMeter.
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 |
---|---|
Cake |
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 |