-
Notifications
You must be signed in to change notification settings - Fork 10
/
jmeter-ec2.properties
executable file
·91 lines (81 loc) · 5.02 KB
/
jmeter-ec2.properties
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#################################
# This is a java stye properties file for the jmeter-ec2 shell script
#
# It is treated like a normal shell script and must have executable permissions
#
# See README.txt for more details about each property
#################################
# absolute folder path to this script
#MY_PATH="`dirname \"$0\"`";
export MY_PATH="`pwd`";
# Setup Amazon EC2 Command-Line Tools
export EC2_HOME=${MY_PATH}/ec2
export EC2_URL=https://ec2.us-east-1.amazonaws.com
export PATH=$PATH:$EC2_HOME/bin
#echo "My EC2_HOME is $EC2_HOME"
#
# Suggested AMIs
#
# OS Type AMI id User Available sizes
# Ubuntu 64bit ami-e1e8d395 ubuntu t1.micro, m1.small, m1.medium, c1.medium, m1.large, m1.xlarge, etc.
#
# IMPORTANT - t1.micro is not recommend for anything beyond developement, it works from a shared resource pool that can fluctuate, skewing test results.
#
LOCAL_HOME="${MY_PATH}" # The root for this script - all files should be put here as per the README
REMOTE_HOME="/home/ubuntu" # This can be left as /tmp - it is a temporary working location
#AMI_ID="ami-3fec7956" # ami-e565ba8c A suitable AMI - 2 suggested AMIs are listed above. (Tested OK with SUSE Linux 32 & 64 bit.). Dont forget to find the right ID for your region.
AMI_ID="ami-a73264ce" # ami-e565ba8c A suitable AMI - 2 suggested AMIs are listed above. (Tested OK with SUSE Linux 32 & 64 bit.). Dont forget to find the right ID for your region.
INSTANCE_TYPE="t1.micro" # Should match the AMI - I do not recommend usng micros for live tests but it's useful for dev work
INSTANCE_SECURITYGROUP="jmeter" # The name of *your* security group in *your* Amazon account - clearly this needs to give your local machine ssh access
AMAZON_KEYPAIR_NAME="jmeter-ec2" # The name of the Amazon Keypair that you want to use. This kea/usery should exist in IAM.
PEM_FILE="jmeter-ec2.pem" # The full name of the pem file you downloaded from your Amazon account. Usualy .pem from AWS but you could generate your own and name it what you want.
PEM_PATH="${EC2_HOME}" # The path to your pem file
USER="ubuntu" # Should match the AMI
REMOTE_PORT="22" # The port number sshd is running on,
EMAIL="" # Email to be used when tagging instances
REGION="us-east-1" # Specify the region you will be working in. Required so that we can find the right ami in the right availability zone.
INSTANCE_AVAILABILITYZONE="us-east-1b" # Should match the AMI and be available in the region above.
#REGION="eu-west-1" # Specify the region you will be working in. Required so that we can find the right ami in the right availability zone.
#INSTANCE_AVAILABILITYZONE="eu-west-1b" # Should match the AMI and be available in the region above.
RUNNINGTOTAL_INTERVAL="3" # How often the script prints running totals to the screen (n * summariser.interval seconds)
ELASTIC_IPS="" # A list of static IPs that can be assigned to each ec2 host. Ignored if not set.
JMETER_VERSION="apache-jmeter-2.10" # The version of JMeter to be used. Must be the full name used in the dir structure. Does not work for versions prior to 2.5.1.
JAVA_VERSION_32='jre-6u32-linux-i586.bin' # Specify the JAVA binary you will be using in the case of 32Bit.
JAVA_VERSION_64='jre-6u32-linux-x64.bin' # Specify the JAVA binary you will be using in the case of 64Bit.
# these variables define filenames for output report, jenkins perf.plugin file
cfgHtmlReportFilename="index.html"
cfgHtmlReportGraphsDir="imgs"
cfgJenkinsPerfPluginResultFilename="jenkins.xml"
cfgReportGraphWidth=1680
cfgReportGraphHeight=1050
cfgReportGraphWidthForGraphsWithRelativeTime=1680
cfgReportGraphHeightForGraphsWithRelativeTime=1050
cfgGenerateAggregatedResponseTimePercentilesReports=${cfgGenerateAggregatedResponseTimePercentilesReports-true}
cfgProcessResultFiles=${cfgProcessResultFiles-true}
cfgCreateMergedFileForJenkinsPerfPlugin=${cfgCreateMergedFileForJenkinsPerfPlugin-true}
cfgCreateHTMLReport=${cfgCreateHTMLReport-true}
cfgCreateAggregateCSVReport=${cfgCreateAggregateCSVReport-true}
cfgTailRemoteJmeterLogs=${cfgTailRemoteJmeterLogs-true}
# REMOTE_HOSTS
#
# If this is set then the script will ignore INSTANCE_COUNT passed in at the command line and read in this list of hostnames to run the test over
# instead. If it is not set then n number of hosts will be requested from Amazon.
#
# Must be a comma-separated list, like this:
# REMOTE_HOSTS="ec2-46-51-135-180.eu-west-1.compute.amazonaws.com,ec2-176-34-204-10.eu-west-1.compute.amazonaws.com"
# or:
# REMOTE_HOSTS="myhost.com,antherhost.com"
# or:
# REMOTE_HOSTS="blahblah.corp.synergy:2020,10.213.45.6"
# etc.
REMOTE_HOSTS=""
# DATABASE SETTINGS
# If specified, then the script will import the results to the mysql database given here
DB_HOST=""
DB_SSH_PORT="22"
DB_NAME=""
DB_USER=""
DB_PSWD=""
DB_PEM_FILE=""
DB_PEM_PATH=""
DB_PEM_USER=""