test api/status for capacity (#164864)

## Summary

Adding API capacity test for `GET /api/status`


Stats:
```
"warmupAvgResponseTime": 39,
"rpsAtWarmup":10,
"warmupDuration":30,
"rpsMax":695,
"responseTimeMetric":"85%",
"threshold1ResponseTime":1000,
"rpsAtThreshold1":435,
"threshold2ResponseTime":3000,
"rpsAtThreshold2":475,
"threshold3ResponseTime":5000,
"rpsAtThreshold3":495
```
This commit is contained in:
Dzmitry Lemechko 2023-09-01 18:03:50 +02:00 committed by GitHub
parent 43b3f2e1cf
commit 555f865694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 95 additions and 0 deletions

View file

@ -0,0 +1,48 @@
{
"journeyName": "POST /api/status",
"scalabilitySetup": {
"responseTimeThreshold": {
"threshold1": 1000,
"threshold2": 3000,
"threshold3": 5000
},
"warmup": [
{
"action": "constantUsersPerSec",
"userCount": 10,
"duration": "30s"
}
],
"test": [
{
"action": "rampUsersPerSec",
"minUsersCount": 10,
"maxUsersCount": 700,
"duration": "138s"
}
],
"maxDuration": "6m"
},
"testData": {
"esArchives": [],
"kbnArchives": []
},
"streams": [
{
"requests": [
{
"http": {
"method": "GET",
"path": "/api/status",
"headers": {
"Cookie": "",
"Accept-Encoding": "gzip, deflate, br",
"Content-Type": "application/json; charset=utf-8"
},
"statusCode": 200
}
}
]
}
]
}

View file

@ -0,0 +1,47 @@
{
"journeyName": "POST /api/status",
"scalabilitySetup": {
"responseTimeThreshold": {
"threshold1": 1000,
"threshold2": 3000,
"threshold3": 5000
},
"warmup": [
{
"action": "constantUsersPerSec",
"userCount": 10,
"duration": "30s"
}
],
"test": [
{
"action": "rampUsersPerSec",
"minUsersCount": 10,
"maxUsersCount": 1210,
"duration": "80s"
}
],
"maxDuration": "4m"
},
"testData": {
"esArchives": [],
"kbnArchives": []
},
"streams": [
{
"requests": [
{
"http": {
"method": "GET",
"path": "/api/status",
"headers": {
"Accept-Encoding": "gzip",
"Content-Type": "application/json; charset=utf-8"
},
"statusCode": 200
}
}
]
}
]
}