Skip to main content

Create a Report for an Analysis View

This Eggplant Performance Analyzer REST method creates a report for the specified analysis view. You use the following URL with a POST HTTP method as described here.

URL

/analyzer/api/1.0/<workspace>/<project>/<series>/<test>/<run number>/analysis_view/<view>/create_report

HTTP Method

POST: Creates a report for an analysis view.

Request Parameters

ParameterTypeDescription
pathstringThe path of the report to create.
analysisTemplatestringThe name of the analysis template to use when creating the report.
reportTemplatestringThe name of the report template to use when creating the report.
formatstringThe format of the report. Possible values are pdf, odt and html.

Response Parameters

ParameterTypeDescription
reportstringThe path of the newly created report.

Example Request

http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201/Series%201/Test%201/1/analysis_views.View%201/create_report
POST Data
{
"path": "C:/My Report.pdf",
"analysisTemplate": "Default",
"reportTemplate": "Default Report",
"format": "pdf"
}

Example Response

{
"report": "C:/My Report.pdf"
}