Load Testing API, REST: RegressionDashboard.get
Returns the specified regression dashboard.
To get the list of all available regression dashboards, make a list request.
HTTP request
GET https://loadtesting.api.cloud.yandex.net/loadtesting/api/v1/regressionDashboards/{dashboardId}
Path parameters
Parameter | Description |
---|---|
dashboardId | Required. ID of the dashboard to return. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"name": "string",
"description": "string",
"createdAt": "string",
"updatedAt": "string",
"createdBy": "string",
"updatedBy": "string",
"etag": "string",
"content": {
"widgets": [
{
"position": {
"x": "string",
"y": "string",
"width": "string",
"height": "string"
},
// `content.widgets[]` includes only one of the fields `chart`, `text`, `title`
"chart": {
"id": "string",
"name": "string",
"description": "string",
"filterStr": "string",
"testCase": "string",
"kpis": [
{
"selector": {
// `content.widgets[].chart.kpis[].selector` includes only one of the fields `responseTime`, `instances`, `imbalanceRps`, `protocolCodesAbsolute`, `protocolCodesRelative`, `networkCodesAbsolute`, `networkCodesRelative`
"responseTime": {
"quantile": "string"
},
"instances": {
"agg": "string"
},
"imbalanceRps": {},
"protocolCodesAbsolute": {
"codesPatterns": [
"string"
]
},
"protocolCodesRelative": {
"codesPatterns": [
"string"
]
},
"networkCodesAbsolute": {
"codesPatterns": [
"string"
]
},
"networkCodesRelative": {
"codesPatterns": [
"string"
]
},
// end of the list of possible fields`content.widgets[].chart.kpis[].selector`
},
"threshold": {
"value": "number",
"comparison": "string"
}
}
]
},
"text": {
"text": "string"
},
"title": {
"text": "string",
"size": "string"
},
// end of the list of possible fields`content.widgets[]`
}
]
}
}
Regression dashboard.
Field | Description |
---|---|
id | string ID of the dashboard. |
name | string Name of the dashboard. |
description | string Description of the dashboard. |
createdAt | string (date-time) Creation timestamp. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
updatedAt | string (date-time) Last update timestamp. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
createdBy | string UA or SA that created the dashboard. |
updatedBy | string UA or SA that updated the dashboard last time. |
etag | string Etag of the dashboard. |
content | object Dashboard content. Content of regression dashboard. |
content. widgets[] |
object Widgets. |
content. widgets[]. position |
object Widget position. |
content. widgets[]. position. x |
string (int64) X. |
content. widgets[]. position. y |
string (int64) Y. |
content. widgets[]. position. width |
string (int64) Width. |
content. widgets[]. position. height |
string (int64) Height. |
content. widgets[]. chart |
object Chart widget. content.widgets[] includes only one of the fields chart , text , title |
content. widgets[]. chart. id |
string ID of the chart. |
content. widgets[]. chart. name |
string Name of the chart. |
content. widgets[]. chart. description |
string Description of the chart. |
content. widgets[]. chart. filterStr |
string Test filter selector to show KPI values for. |
content. widgets[]. chart. testCase |
string Test case to show KPI values for. |
content. widgets[]. chart. kpis[] |
object KPIs to show. |
content. widgets[]. chart. kpis[]. selector |
object Kind of KPI. KPI selector. |
content. widgets[]. chart. kpis[]. selector. responseTime |
object Response time cummulative quantile (percentile). content.widgets[].chart.kpis[].selector includes only one of the fields responseTime , instances , imbalanceRps , protocolCodesAbsolute , protocolCodesRelative , networkCodesAbsolute , networkCodesRelative |
content. widgets[]. chart. kpis[]. selector. responseTime. quantile |
string Cummulative quantile (percentile). Quantiles (percentiles).
|
content. widgets[]. chart. kpis[]. selector. instances |
object A number of instances throughout the test. content.widgets[].chart.kpis[].selector includes only one of the fields responseTime , instances , imbalanceRps , protocolCodesAbsolute , protocolCodesRelative , networkCodesAbsolute , networkCodesRelative |
content. widgets[]. chart. kpis[]. selector. instances. agg |
string Aggregation function. Aggregation function.
|
content. widgets[]. chart. kpis[]. selector. imbalanceRps |
object An RPS at the moment the test has been auto-stopped. content.widgets[].chart.kpis[].selector includes only one of the fields responseTime , instances , imbalanceRps , protocolCodesAbsolute , protocolCodesRelative , networkCodesAbsolute , networkCodesRelative |
content. widgets[]. chart. kpis[]. selector. protocolCodesAbsolute |
object A total number of requests completed with certain protocol (HTTP, GRPC, etc.) codes. content.widgets[].chart.kpis[].selector includes only one of the fields responseTime , instances , imbalanceRps , protocolCodesAbsolute , protocolCodesRelative , networkCodesAbsolute , networkCodesRelative |
content. widgets[]. chart. kpis[]. selector. protocolCodesAbsolute. codesPatterns[] |
string Protocol (HTTP, GRPC) code patterns to match. All successful HTTP responses: ['2xx', '3xx']. All failed HTTP responses: ['0', '4xx', '5xx']. |
content. widgets[]. chart. kpis[]. selector. protocolCodesRelative |
object A percentage of requests completed with certain protocol (HTTP, GRPC, etc.) codes. content.widgets[].chart.kpis[].selector includes only one of the fields responseTime , instances , imbalanceRps , protocolCodesAbsolute , protocolCodesRelative , networkCodesAbsolute , networkCodesRelative |
content. widgets[]. chart. kpis[]. selector. protocolCodesRelative. codesPatterns[] |
string Protocol (HTTP, GRPC) code patterns to match. All successful HTTP responses: ['2xx', '3xx']. All failed HTTP responses: ['0', '4xx', '5xx']. |
content. widgets[]. chart. kpis[]. selector. networkCodesAbsolute |
object A total number of requests completed with certain network codes. content.widgets[].chart.kpis[].selector includes only one of the fields responseTime , instances , imbalanceRps , protocolCodesAbsolute , protocolCodesRelative , networkCodesAbsolute , networkCodesRelative |
content. widgets[]. chart. kpis[]. selector. networkCodesAbsolute. codesPatterns[] |
string Network code patterns to match. All successful network responses: ['0']. All failed network responses: ['xx', 'xxx']. |
content. widgets[]. chart. kpis[]. selector. networkCodesRelative |
object A percentage of requests completed with certain network codes. content.widgets[].chart.kpis[].selector includes only one of the fields responseTime , instances , imbalanceRps , protocolCodesAbsolute , protocolCodesRelative , networkCodesAbsolute , networkCodesRelative |
content. widgets[]. chart. kpis[]. selector. networkCodesRelative. codesPatterns[] |
string Network code patterns to match. All successful network responses: ['0']. All failed network responses: ['xx', 'xxx']. |
content. widgets[]. chart. kpis[]. threshold |
object A condition that should be specified. KPI threshold represents a condition that an actual value of test's KPI should satisfy. |
content. widgets[]. chart. kpis[]. threshold. value |
number (double) Value for comparison with an actual KPI value. |
content. widgets[]. chart. kpis[]. threshold. comparison |
string Comparison operator for comparing actual with the threshold value. Rule: actual (</<=/>/>=) reference Comparison operator.
|
content. widgets[]. text |
object Text widget. content.widgets[] includes only one of the fields chart , text , title |
content. widgets[]. text. text |
string content.widgets[] includes only one of the fields chart , text , title Text string. |
content. widgets[]. title |
object Title widget. content.widgets[] includes only one of the fields chart , text , title |
content. widgets[]. title. text |
string content.widgets[] includes only one of the fields chart , text , title Title string. |
content. widgets[]. title. size |
string Title size. Title size.
|