Create a New Comparison Chart

This Eggplant Performance Analyzer REST method creates a new comparison chart. You use the following URL with a POST HTTP method as described here.

URL

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

You can use this URL with a POST method as described here.

HTTP Method

POST: Creates a new comparison chart.

Request Parameters

Parameter Type Description
name string The name of the new comparison chart.
Category string The name of the category of the new chart.
statType string The name of the statistic of the new chart.
chartAxisSeriesType string The name of the series type of the new chart.
summaryStatType string The name of the summary statistic type of the new chart.
bucketCount number The number of buckets to use when calculating data for the new chart (defaults to the default bucket count, which is usually set to 100).
measurementName string The measurement name for the new chart (only required if category is “System Under Test” or “Measurements”)

Response Parameters

Parameter Type Description
comparison_chart string The URL of the newly created comparison chart.

Example Request

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

 

POST Data

{

"name": "Transaction Response Times (95th Percentile)",

"category": "Transactions",

"statType": "Percentiles",

"chartAxisSeriesType": "Timing",

"summaryStatType": "95th Percentile"

}

Example Response

{

"comparison_chart": "http://localhost:5000/analyzer/api/1.0/comparisons/My%20Comparison/Transactions%20Response%20Time%20%2895th%20Percentile%29"

}

 

This topic was last updated on June 21, 2019, at 02:49:49 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2019 Eggplant