Load Testing API, gRPC: RegressionDashboardService.List
Retrieves the list of regression dashboards in the specified folder.
gRPC request
rpc List (ListRegressionDashboardsRequest) returns (ListRegressionDashboardsResponse)
ListRegressionDashboardsRequest
{
"folderId": "string",
"pageSize": "int64",
"pageToken": "string",
"filter": "string"
}
Field |
Description |
folderId |
string Required field. ID of the folder to list dashboards in. |
pageSize |
int64 The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters dashboards listed in the response. The filter expression may contain multiple field expressions joined by
Currently supported fields:
Examples:
|
ListRegressionDashboardsResponse
{
"dashboards": [
{
"id": "string",
"name": "string",
"description": "string",
"createdAt": "google.protobuf.Timestamp",
"updatedAt": "google.protobuf.Timestamp",
"createdBy": "string",
"updatedBy": "string",
"etag": "string",
"content": {
"widgets": [
{
"position": {
"x": "int64",
"y": "int64",
"width": "int64",
"height": "int64"
},
// Includes only one of the fields `chart`, `text`, `title`
"chart": {
"id": "string",
"name": "string",
"description": "string",
"filterStr": "string",
"testCase": "string",
"kpis": [
{
"selector": {
// Includes only one of the fields `responseTime`, `instances`, `imbalanceRps`, `protocolCodesAbsolute`, `protocolCodesRelative`, `networkCodesAbsolute`, `networkCodesRelative`
"responseTime": {
"quantile": "QuantileType"
},
"instances": {
"agg": "Aggregation"
},
"imbalanceRps": "ImbalanceRps",
"protocolCodesAbsolute": {
"codesPatterns": [
"string"
]
},
"protocolCodesRelative": {
"codesPatterns": [
"string"
]
},
"networkCodesAbsolute": {
"codesPatterns": [
"string"
]
},
"networkCodesRelative": {
"codesPatterns": [
"string"
]
}
// end of the list of possible fields
},
"threshold": {
"value": "double",
"comparison": "Comparison"
}
}
]
},
"text": {
"text": "string"
},
"title": {
"text": "string",
"size": "TitleSize"
}
// end of the list of possible fields
}
]
}
}
],
"nextPageToken": "string"
}
Field |
Description |
dashboards[] |
List of dashboards in the specified folder. |
nextPageToken |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
Dashboard
Regression dashboard.
Field |
Description |
id |
string ID of the dashboard. |
name |
string Name of the dashboard. |
description |
string Description of the dashboard. |
createdAt |
Creation timestamp. |
updatedAt |
Last update timestamp. |
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 |
Dashboard content. |
Content
Content of regression dashboard.
Field |
Description |
widgets[] |
Widgets. |
Widget
Regression dashboard widget.
Field |
Description |
position |
Widget position. |
chart |
Chart widget. Includes only one of the fields |
text |
Text widget. Includes only one of the fields |
title |
Title widget. Includes only one of the fields |
LayoutPosition
Widget position.
Field |
Description |
x |
int64 X. |
y |
int64 Y. |
width |
int64 Width. |
height |
int64 Height. |
ChartWidget
Regression chart.
Field |
Description |
id |
string ID of the chart. |
name |
string Name of the chart. |
description |
string Description of the chart. |
filterStr |
string Test filter selector to show KPI values for. |
testCase |
string Test case to show KPI values for. |
kpis[] |
KPIs to show. |
Kpi
KPI (Key Performance Indicator) represents some integral indicator measured during test.
Field |
Description |
selector |
Kind of KPI. |
threshold |
A condition that should be specified. |
KpiSelector
KPI selector.
Field |
Description |
responseTime |
Response time cummulative quantile (percentile). Includes only one of the fields |
instances |
A number of instances throughout the test. Includes only one of the fields |
imbalanceRps |
An RPS at the moment the test has been auto-stopped. Includes only one of the fields |
protocolCodesAbsolute |
A total number of requests completed with certain protocol (HTTP, GRPC, etc.) codes. Includes only one of the fields |
protocolCodesRelative |
A percentage of requests completed with certain protocol (HTTP, GRPC, etc.) codes. Includes only one of the fields |
networkCodesAbsolute |
A total number of requests completed with certain network codes. Includes only one of the fields |
networkCodesRelative |
A percentage of requests completed with certain network codes. Includes only one of the fields |
ResponseTime
Response time.
Field |
Description |
quantile |
enum QuantileType Cummulative quantile (percentile).
|
Instances
Aggregated number of instances.
Field |
Description |
agg |
enum Aggregation Aggregation function.
|
ImbalanceRps
Imbalance RPS.
Field |
Description |
Empty |
ProtocolCodesAbsolute
Field |
Description |
codesPatterns[] |
string Protocol (HTTP, GRPC) code patterns to match. All successful HTTP responses: ['2xx', '3xx']. |
ProtocolCodesRelative
Field |
Description |
codesPatterns[] |
string Protocol (HTTP, GRPC) code patterns to match. All successful HTTP responses: ['2xx', '3xx']. |
NetworkCodesAbsolute
Field |
Description |
codesPatterns[] |
string Network code patterns to match. All successful network responses: ['0']. |
NetworkCodesRelative
Field |
Description |
codesPatterns[] |
string Network code patterns to match. All successful network responses: ['0']. |
KpiThreshold
KPI threshold represents a condition that an actual value of test's KPI should satisfy.
Field |
Description |
value |
double Value for comparison with an actual KPI value. |
comparison |
enum Comparison Comparison operator for comparing actual with the threshold value. Rule: actual (</<=/>/>=) reference
|
TextWidget
Text widget.
Field |
Description |
text |
string Text string. |
TitleWidget
Title widget.
Field |
Description |
text |
string Title string. |
size |
enum TitleSize Title size.
|