Skip to main content

Add Analysis View to an Existing Comparison

This Eggplant Performance Analyzer REST method adds an analysis view to an existing comparison. You use the following URL with a POST HTTP method as described here.

URL

/analyzer/api/1.0/comparisons/<comparison>/add_analysis_view

HTTP Method

POST: Adds an analysis view to an existing comparison.

Request Parameters

ParameterTypeDescription
workspacestringThe name of the workspace containing the analysis view to add.
projectstringThe name of the project containing the analysis view to add.
seriesstringThe name of the series containing the analysis view to add.
teststringThe name of the test containing the analysis view to add.
runNumberstringThe run number of the test containing the analysis view to add.
analysisViewstringThe name of the analysis view to add.

Response Parameters

ParameterTypeDescription
<comparison name>stringThe URL of the comparison.

Example Request

http://localhost:5000/analyzer/api/1.0/comparisons/My%20Comparison/add_analysis_view

POST Data
{
"workspace": "Workspace 1",
"project": "Project 1",
"series": "Series 1",
"test": "Test 1",
"runNumber": 1,
"analysisView": "View 1"
}

Example Response

{
"My Comparison": "http://localhost:5000/analyzer/api/1.0/comparisons/My%20Comparison"
}