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, 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 |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
settings | JMeterSettings | The JMeterSettings |
Return Value
Type | Description |
---|---|
void |