gatling-sample-framework/local-run.ps1

16 lines
406 B
PowerShell

param ($test, $user, $pswd, $count, $ramp_in_minutes, $duration_in_minutes)
$env:BASE_URL="subdomain.organization.com"
$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}"