gatling-sample-framework/aws-run.ps1

14 lines
360 B
PowerShell

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}"