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.Newman.
Summary
Settings to control the
Cake.Newman.NewmanRunner.
- Assembly
- Cake
.Newman .dll - Namespace
- Cake
.Newman - Base Types
-
- ToolSettings
graph BT
Type-->Base0["ToolSettings"]
Type["NewmanSettings"]
class Type type-node
Syntax
public class NewmanSettings : ToolSettings
Constructors
| Name | Summary |
|---|---|
| NewmanSettings |
Properties
| Name | Value | Summary |
|---|---|---|
| DataFile | FilePath |
An environment file path.
|
| DisableStrictSSL | bool |
Disables SSL verification checks and allows self-signed SSL certificates.
|
| EnvironmentFile | FilePath |
An environment file path.
|
| ExitOnFirstFailure | bool |
Specify whether or not to stop a collection run on encountering the first error.
|
| ExportCollectionPath | FilePath |
The path to the file where Newman will output the final collection file before completing a run.
|
| Export |
FilePath |
The path to the file where Newman will output the final environment variables file before completing a run.
|
| ExportGlobalsPath | FilePath |
The path to the file where Newman will output the final global variables file before completing a run.
|
| Folder | string |
Run requests within a particular folder in a collection.
|
| GlobalVariablesFile | FilePath |
File path for global variables.
|
| IgnoreRedirects | bool |
Prevents newman from automatically following 3XX redirect responses.
|
| IterationCount | int |
Specify iteration count.
|
| Reporters | Dictionary |
Reporters (and any reporter-specific options) for test results
|
| RequestDelay | int |
Specify the extent of delay between requests (in milliseconds).
|
| RequestTimeout | int |
The time (in milliseconds) to wait for requests to return a response.
|
| ScriptTimeout | int |
The time (in milliseconds) to wait for script to execute.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Build |
void |
Builds the complete arguments for invoking newman
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| DisableStrictSSL |
NewmanSettings |
Disables SSL verification checks and allows self-signed SSL certificates.
Requires the Cake.Newman addin
|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| ExitOnFirstFailure |
NewmanSettings |
Specify whether or not to stop a collection run on encountering the first error.
Requires the Cake.Newman addin
|
| ExportCollectionTo |
NewmanSettings |
Specify the file where Newman will output the final collection file before completing a run.
Requires the Cake.Newman addin
|
| ExportEnvironmentTo |
NewmanSettings |
Specify the file where Newman will output the final environment variables file before completing a run.
Requires the Cake.Newman addin
|
| ExportGlobalsTo |
NewmanSettings |
Specify the file where Newman will output the final global variables file before completing a run.
Requires the Cake.Newman addin
|
| IgnoreRedirects |
NewmanSettings |
Prevents newman from automatically following 3XX redirect responses.
Requires the Cake.Newman addin
|
| Insecure |
NewmanSettings |
Disables SSL verification checks and allows self-signed SSL certificates.
Requires the Cake.Newman addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| RunOnlyFolder |
NewmanSettings |
Run requests within only the specified folder in a collection.
Requires the Cake.Newman addin
|
| SetIterationCount |
NewmanSettings |
Sets the iteration count.
Requires the Cake.Newman addin
|
| SetRequestDelay |
NewmanSettings |
Specify the extent of delay between requests (in milliseconds).
Requires the Cake.Newman addin
|
| SetRequestTimeout |
NewmanSettings |
Sets the time to wait for request responses.
Requires the Cake.Newman addin
|
| SetScriptTimeout |
NewmanSettings |
Sets the time to wait for script to complete.
Requires the Cake.Newman addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
| UseCLIReporter |
NewmanSettings |
Adds the CLI reporter to this run, using the specifid settings.
Requires the Cake.Newman addin
|
| UseCLIReporter |
NewmanSettings |
Adds the CLI reporter to this run.
Requires the Cake.Newman addin
|
| UseHtmlReporter |
NewmanSettings |
Adds the HTML reporter to this run, using the specified settings.
Requires the Cake.Newman addin
|
| UseHtmlReporter |
NewmanSettings |
Adds the HTML reporter to this run.
Requires the Cake.Newman addin
|
| UseJsonReporter |
NewmanSettings |
Adds the JSON reporter to this run, exporting results to the specified file.
Requires the Cake.Newman addin
|
| UseJsonReporter |
NewmanSettings |
Adds the JSON reporter to this run.
Requires the Cake.Newman addin
|
| UseJUnitReporter |
NewmanSettings |
Adds the JUnit/XML reporter to this run, exporting results to the specified file.
Requires the Cake.Newman addin
|
| UseJUnitReporter |
NewmanSettings |
Adds the JUnit/XML reporter to this run.
Requires the Cake.Newman addin
|
| WithData |
NewmanSettings |
Specify the file path for an data file to use for the current execution.
Requires the Cake.Newman addin
|
| WithEnvironment |
NewmanSettings |
Specify the file path for an environmentsfiel to use for the current execution.
Requires the Cake.Newman addin
|
| WithGlobals |
NewmanSettings |
Specify the file path for global variables for the current execution.
Requires the Cake.Newman addin
|
