JMeter and Amazon Cloud Workshop T3DD2012
-
Upload
axel-jung -
Category
Technology
-
view
4 -
download
1
description
Transcript of JMeter and Amazon Cloud Workshop T3DD2012
JMeter and Amazon Cloud
About Me
Axel Jung Software Developer
AOE media GmbH
JMeter
http://jmeter.apache.org/
Why Jmeter?
Be carefull!
BUILD A SIMPLE WEB TESTPLAN
JMeter
JMeter Gui
Add Thread Group
Name Group
Add HTTP Defaults
Set Server
Add HTTP Sampler
Set Path
Add Listener
Start Tests
View Results
RECORD WITH PROXYJMeter
Add Recording Controller
Add Proxy Server
Exclude Assets
Escape
• .*\.png
Start
Configure Browser
Browse
View results
ADVANCEDJMeter
Add Asserts
Match Text
Constant Timer
Set the Base
Summary Report
Graph Report
Define Variables
Use Variables
CSV Files
CSV Settings
Use CSV Vars
Command Line
• /…/jmeter -n -t plan.jmx -l build/logs/testplan.jtl -j build/logs/testplan.log
Jenkins and JMeter
Detail Report
Use Properties
-p ${properties}
DISTRIBUTED TESTINGJMeter + Cloud
Start Server
jmeter.properties
remote_hosts=127.0.0.1
Run Slaves
AMAZON CLOUDhttp://aws.amazon.com/
Create User
EC2
Create Key
Name Key
Download Key
Create Security Groups
Launch
Select AMI ami-3586be41
Minimum Small
Configure Firewall
Connect
Start Cloud Tool
Start Instances
Wait for Slaves
Slave Log
Close JMeter
All Slave will be terminated
Slave AMI
• ami-963e0ce2• Autostart JMeter im Server Mode
Costs
Want to know more?
European HQ: AOE media GmbH Borsigstraße 3
65205 Wiesbaden
Tel.: +49 (0)6122 70 70 7 - 0 Fax: +49 (0)6122 70 70 7 - 199E-Mail:[email protected]: http://www.aoemedia.de