JMeter and Amazon Cloud Workshop T3DD2012

Post on 30-Oct-2014

4 views 1 download

Tags:

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

Password

Contact me for Password

axel.jung@aoemedia.de

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:postfach@aoemedia.deWeb: http://www.aoemedia.de