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
Parameter | Type | Description |
---|---|---|
workspace | string | The name of the workspace containing the analysis view to add. |
project | string | The name of the project containing the analysis view to add. |
series | string | The name of the series containing the analysis view to add. |
test | string | The name of the test containing the analysis view to add. |
runNumber | string | The run number of the test containing the analysis view to add. |
analysisView | string | The name of the analysis view to add. |
Response Parameters
Parameter | Type | Description |
---|---|---|
<comparison name> | string | The URL of the comparison. |
Example Request
http:/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"
}