Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mdebarros committed Jul 31, 2023
1 parent e13bec5 commit 7c672ed
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 182 deletions.
4 changes: 0 additions & 4 deletions docker/k6/.env

This file was deleted.

112 changes: 0 additions & 112 deletions docker/k6/scripts/test-ws.js

This file was deleted.

43 changes: 0 additions & 43 deletions docker/k6/scripts/test.js

This file was deleted.

7 changes: 0 additions & 7 deletions docker/k6/scripts/utils.js

This file was deleted.

26 changes: 10 additions & 16 deletions packages/k6-tests/config/test.js
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
// Main configuration for Scripts

const config = {
"scenarios": { // define scenarios
// warm-up
"accountLookup": { // original scenario for accountLookup
// # define scenarios
"scenarios": {
"accountLookup": { // # original scenario for accountLookup
"executor": "ramping-vus",
"exec": "accountLookupScenarios",
"startVUs": 1,
"stages": [
{ "duration": "2m", "target": 1 },
{ "duration": "15m", "target": 1 },
{ "duration": "2m", "target": 6 },
{ "duration": "5m", "target": 6 },
{ "duration": "2m", "target": 0 }
]
},
// # Example using "ramping-arrival-rate" executor
// "accountLookup": {
// "executor": "ramping-arrival-rate",
// "exec": "accountLookupScenarios",
// "preAllocatedVUs": 1,
// "preAllocatedVUs": 10,
// "timeUnit": "1s",
// "startRate": 1,
// "stages": [
// { "target": 1, "duration": "30s" },
// // { "target": 200, "duration": "30s" },
// // { "target": 200, "duration": "1m" },
// // { "target": 0, "duration": "30s"},
// // { "target": 300, "duration": "30s" },
// // { "target": 0, "duration": "30s"},
// // { "target": 100, "duration": "30s" },
// // { "target": 100, "duration": "2m" },
// // { "target": 0, "duration": "30s"},
// // { "target": 10000, "duration": "10m" }
// { "target": 400, "duration": "2m" },
// { "target": 400, "duration": "15m" },
// { "target": 0, "duration": "2m"},
// ]
// }
},
Expand Down

0 comments on commit 7c672ed

Please sign in to comment.