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
Parameter | Type | Description |
---|---|---|
path | string | The path of the report to create. |
analysisTemplate | string | The name of the analysis template to use when creating the report. |
reportTemplate | string | The name of the report template to use when creating the report. |
format | string | The format of the report. Possible values are pdf , odt and html . |
Response Parameters
Parameter | Type | Description |
---|---|---|
report | string | The path of the newly created report. |
Example Request
http:/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"
}