gatling-sample-framework/aws/aws-run.ps1

14 lines
360 B
PowerShell
Raw Normal View History

2024-10-25 22:12:59 +00:00
param ($test, $user, $pswd, $count, $ramp_in_minutes, $duration_in_minutes)
$env:TEST = $test
$env:TEST_USER = $user
$env:TEST_PWD = $pswd
$env:USER_COUNT = $count
$env:RAMP_DURATION = $ramp_in_minutes
$env:TEST_DURATION = $duration_in_minutes
$classname="com.organization.tests.${test}"
mvn install
mvn gatling:test "-DclassName=${classname}"