-
Notifications
You must be signed in to change notification settings - Fork 10
/
run-samples.sh
executable file
·47 lines (39 loc) · 1.99 KB
/
run-samples.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/sh
# Run all the samples being documented
mvn clean package
echo "\n================================================================================"
echo "Computer Database BasicSimulation"
echo "================================================================================\n"
mvn -Dgatling.simulationClass=computerdatabase.BasicSimulation gatling:test
echo "--- FINISHED ---"
sleep 5
echo "\n================================================================================"
echo "Computer Database AdvancedSimulationStep05"
echo "================================================================================\n"
mvn -Dgatling.simulationClass=computerdatabase.advanced.AdvancedSimulationStep05 gatling:test
echo "--- FINISHED ---"
sleep 5
echo "\n================================================================================"
echo "Computer Database Smoketest Blueprint"
echo "================================================================================\n"
mvn -Dgatling.simulationClass=computerdatabase.gatling.smoketest.Test gatling:test
echo "--- FINISHED ---"
sleep 5
echo "\n================================================================================"
echo "GitHub API Functional Blueprint"
echo "================================================================================\n"
mvn -Dgatling.simulationClass=githubapi.github.functional.Test gatling:test
echo "--- FINISHED ---"
sleep 5
echo "\n================================================================================"
echo "Postman API Blueprint"
echo "================================================================================\n"
mvn -Dgatling.simulationClass=postman.Test gatling:test
echo "--- FINISHED ---"
sleep 5
echo "\n================================================================================"
echo "PostMan API using Using Minimal POM"
echo "================================================================================\n"
mvn -Dgatling.simulationClass=postman.Test gatling:test
echo "--- FINISHED ---"
sleep 5