Create a New Comparison
This Eggplant Performance Analyzer REST method creates a new comparison. You use the following URL with a POST HTTP method as described here.
URL
/analyzer/api/1.0/comparisons/create_comparison
HTTP Method
POST: Creates a new comparison.
Request Parameters
Parameter | Type | Description |
---|---|---|
name | string | The name of the new comparison. |
Response Parameters
Parameter | Type | Description |
---|---|---|
comparison | string | The URL of the newly created comparison. |
Example Request
http:/analyzer/api/1.0/comparisons/create_comparison
POST Data
{
"name": "My Comparison"
}
Example Response
{
"comparison": "http://localhost:5000/analyzer/api/1.0/comparisons/My%20Comparison"
}