Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 955 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 955 Bytes

Person Data Vault load tests

K6 scripts to run load tests for Personal Data Vault api(s)

Important some of these load tests use the k6 extension xk6-faker. Please follow the instructions in github to install it.

01 Put tokens

k6 run -e HOST_NAME=[api.tokenizer.pdv.pagopa.it|api.uat.tokenizer.pdv.pagopa.it] \
-e API_KEY=<application gateway api key>
01-put-tokens.js

02 Get tokens

k6 run -e HOST_NAME=[api.tokenizer.pdv.pagopa.it|api.uat.tokenizer.pdv.pagopa.it] -e API_KEY=<application gateway api key> \
-e TOKEN=<token id> 02-get-token.js

03 Post token

k6 run -e HOST_NAME=[api.tokenizer.pdv.pagopa.it|api.uat.tokenizer.pdv.pagopa.it] \
-e API_KEY=<application gateway api key> 03-post-token.js

04 Patch users

./k6 run -e HOST_NAME=[api.pdv.pagopa.it|api.uat.pdv.pagopa.it] \
-e API_KEY=<application gateway api key> 04-patch-users.js