- Open PowerAuth admin
- Create new application
- Create a
config.json
file according the created application
{
"applicationId": 1,
"applicationName": "Application Name",
"applicationKey": "application key in Base64",
"applicationSecret": "application secret in Base64",
"masterPublicKey": "master public key in Base64"
}
TRUNCATE pa_activation_history CASCADE;
TRUNCATE pa_signature_audit CASCADE;
TRUNCATE pa_activation CASCADE;
mvn gatling:test -Dgatling.simulationClass=com.wultra.security.powerauth.test.PowerAuthLoadTest \
-DconfigFile="directory_with_the_config_file/config.json" \
-DpowerAuthJavaServerUrl=http://localhost:8080/powerauth-java-server \
-DpowerAuthRestServerUrl=http://localhost:8080/powerauth-restful-server-spring \
-DcountOfDevices=10 \
-DmaxDevicesPerSecond=5
Command line parameters:
configFile
- file with application configuration, defaults to./config.json
powerAuthJavaServerUrl
- base url of the PowerAuth Java serverpowerAuthRestServerUrl
- base url of the PowerAuth REST serverpowerAuthTokenVerifyUrl
- full url to verify token with (optional)countOfDevices
- count of simulated devices, defaults to 100maxDevicesPerSecond
- maximum allowed number of active devices in one second, defaults to 80testDuration
- duration of the load test, defaults to15 minutes
stepLoggerType
- type of used step logger, defaults todisabled
, other allowed values (json
,object
)