Skip to content

Commit

Permalink
Modified README step 4 of getting started
Browse files Browse the repository at this point in the history
  • Loading branch information
usuletw022 committed Oct 19, 2023
1 parent ec80784 commit 5449ced
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions loadtests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,8 @@ curl http://localhost:9410/api/v0/cs/cs3 -H 'content-type: application/json' -d
curl -i http://localhost:9410/api/v0/token -H 'content-type: application/json' -d '{"countryCode": "GB","partyId": "TWK","type": "RFID","uid": "38748383L7337848H823","contractId": "GBTWK012345678V","issuer": "Thoughtworks","valid": true,"cacheMode": "ALWAYS"}'
```

4. Set the load simulation in loadtests/ws_load_test.js
4. Set the load simulation for ramping virtual users in loadtests/ws_load_test.js. Please refer to https://k6.io/docs/using-k6/scenarios/executors/ramping-vus/ for guidance

```bash
scenarios: {
contacts: {
executor: 'ramping-vus',
startVUs: ,
stages: [
{ duration: '', target: },
],
gracefulRampDown: '',
}
```

5. Run the load test using the script file and output the results to the k6 dashboard
```bash
Expand Down

0 comments on commit 5449ced

Please sign in to comment.