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.
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
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
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
./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