NewmanSettingsExtensions.

UseJsonReporter(NewmanSettings, FilePath) Method

Summary

Adds the JSON reporter to this run, exporting results to the specified file.

Syntax

public static NewmanSettings UseJsonReporter(this NewmanSettings settings, FilePath outputFile)

Parameters

Name Type Description
settings NewmanSettings The settings.
outputFile FilePath The path to the output file. Equivalent to --reporter-json-export

Return Value

Type Description
NewmanSettings The updated settings.