-
Notifications
You must be signed in to change notification settings - Fork 39
/
runmany.sh
executable file
·41 lines (33 loc) · 2.47 KB
/
runmany.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
#!/bin/sh
# You can put multiple calls of the runWeathervane.pl script in this file, and
# then run this file to start a series of runs. You can either use a separate
# configuration file for each run, or use command-line options to override
# options set in the configuration file. Below are some examples of
# using the script. You can uncomment them and edit as appropriate,
# This is a basic invocation that only uses options set in the specified
# configuration file. To use this you would replace weathervane.config
# with the name of your configuration file.
#./runWeathervane.pl --configFile weathervane.config
# These invocations override the runStrategy and number of users set in the
# configuration file using command-line parameters. Notice that the --
# is required between the parameters to the runWeathervane.pl script and
# the command-line parameters. The description parameter can be added to any run
# to capture relevant information about the run or the SUT.
#./runWeathervane.pl --configFile weathervane.config.cluster1 -- --runStrategy=fixed --users=500 --description="run on cluster1"
#./runWeathervane.pl --configFile weathervane.config.cluster1 -- --runStrategy=fixed --users=1000
# The following invocation can be used to run the findMaxSingleRun runStrategy,
# even if the configuration file specifies the fixed runStrategy.
#./runWeathervane.pl --configFile weathervane.config.cluster2 -- --runStrategy=findMaxSingleRun
# The following invocation can be used to run the findMaxSingleRun runStrategy,
# with a different number of application instances.
#./runWeathervane.pl --configFile weathervane.config -- --runStrategy=findMaxSingleRun --numAppInstances=2
# The following invocation can be used to run the findMaxSingleRun runStrategy,
# with a different configuration size.
#./runWeathervane.pl --configFile weathervane.config -- --runStrategy=findMaxSingleRun --configurationSize=small
# If you define multiple possible SUT clusters in the kubernetesClusters section
# of your configuration file, then you can use the appInstanceCluster parameter
# asd a command-line option to specify which to use as the SUT.
#./runWeathervane.pl --configFile weathervane.config.manyClusters -- --appInstanceCluster=cluster1 --description="Using cluster1"
#./runWeathervane.pl --configFile weathervane.config.manyClusters -- --appInstanceCluster=cluster2 --description="Using cluster2"
# You can add as many additional invocations as desired in this file. They will
# run sequentially.