mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `8.10`: - [test api/status for capacity (#164864)](https://github.com/elastic/kibana/pull/164864) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-09-01T16:03:50Z","message":"test api/status for capacity (#164864)\n\n## Summary\r\n\r\nAdding API capacity test for `GET /api/status`\r\n\r\n\r\nStats:\r\n```\r\n\"warmupAvgResponseTime\": 39,\r\n\"rpsAtWarmup\":10,\r\n\"warmupDuration\":30,\r\n\"rpsMax\":695,\r\n\"responseTimeMetric\":\"85%\",\r\n\"threshold1ResponseTime\":1000,\r\n\"rpsAtThreshold1\":435,\r\n\"threshold2ResponseTime\":3000,\r\n\"rpsAtThreshold2\":475,\r\n\"threshold3ResponseTime\":5000,\r\n\"rpsAtThreshold3\":495\r\n```","sha":"555f8656944cac53db36cb561b28dd5638fe08eb","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["performance","release_note:skip","v8.10.0","v8.11.0"],"number":164864,"url":"https://github.com/elastic/kibana/pull/164864","mergeCommit":{"message":"test api/status for capacity (#164864)\n\n## Summary\r\n\r\nAdding API capacity test for `GET /api/status`\r\n\r\n\r\nStats:\r\n```\r\n\"warmupAvgResponseTime\": 39,\r\n\"rpsAtWarmup\":10,\r\n\"warmupDuration\":30,\r\n\"rpsMax\":695,\r\n\"responseTimeMetric\":\"85%\",\r\n\"threshold1ResponseTime\":1000,\r\n\"rpsAtThreshold1\":435,\r\n\"threshold2ResponseTime\":3000,\r\n\"rpsAtThreshold2\":475,\r\n\"threshold3ResponseTime\":5000,\r\n\"rpsAtThreshold3\":495\r\n```","sha":"555f8656944cac53db36cb561b28dd5638fe08eb"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164864","number":164864,"mergeCommit":{"message":"test api/status for capacity (#164864)\n\n## Summary\r\n\r\nAdding API capacity test for `GET /api/status`\r\n\r\n\r\nStats:\r\n```\r\n\"warmupAvgResponseTime\": 39,\r\n\"rpsAtWarmup\":10,\r\n\"warmupDuration\":30,\r\n\"rpsMax\":695,\r\n\"responseTimeMetric\":\"85%\",\r\n\"threshold1ResponseTime\":1000,\r\n\"rpsAtThreshold1\":435,\r\n\"threshold2ResponseTime\":3000,\r\n\"rpsAtThreshold2\":475,\r\n\"threshold3ResponseTime\":5000,\r\n\"rpsAtThreshold3\":495\r\n```","sha":"555f8656944cac53db36cb561b28dd5638fe08eb"}}]}] BACKPORT--> Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
This commit is contained in:
parent
eff3aa49dd
commit
b585d12d5a
2 changed files with 95 additions and 0 deletions
48
x-pack/test/scalability/apis/api.status.json
Normal file
48
x-pack/test/scalability/apis/api.status.json
Normal 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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
47
x-pack/test/scalability/apis/api.status.no_auth.json
Normal file
47
x-pack/test/scalability/apis/api.status.no_auth.json
Normal 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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue