JMeterSettings Class

Summary

Settings for the aliases
Assembly
Cake.JMeter.dll
Namespace
Cake.JMeter
Base Types
  • ToolSettings
graph BT Type-->Base0["ToolSettings"] Type["JMeterSettings"] class Type type-node

Syntax

public class JMeterSettings : ToolSettings

Constructors

Name Summary
JMeterSettings()

Fields

Name Constant Value Summary
LocalProperties
Dictionary with local JMeter properties. These are the ones passed as "-J[prop_name]=[value]" arguments.

Properties

Name Value Summary
GenerateReports bool
If true sets the -e parameter
LogFile FilePath
The -l cmdline parameter file path
ReportOutput DirectoryPath
The -o cmdline parameter directory
ShowGui bool
If false adds the -n cmdline parameter.
TestFile FilePath
The input jmx file for the -t cmdline parameter

Extension Methods

Name Value Summary
Dump<JMeterSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<JMeterSettings>(JMeterSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<JMeterSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<JMeterSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<JMeterSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<JMeterSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin