性能测试培训_性能测试工具Avalanche

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Creating a New Test
Quick = minimal configuration, minimal control
Advanced = full control over all aspects of configuration, maximum complexity
Avalanche Building Blocks
Layer 4 - 7 Testing
Layer 4 - 7 Performance Metrics •Connections/sec •Transactions/sec •Max number of concurrent users (open TCP conns) •Average time to setup TCP connection •Goodput (Object size/time to transfer)
Client Load Profile > Load Specification Types & HTTP Versions
z
Java based tool for both WA and WR
Avalanche Commander GUI
•Test configs are broken down into Projects (upper level) and Tests within the project. • Certain tabs are shared among tests within a project: • Client •Actions •Profiles •Subnets •Server •Profiles •Transactions •Subnets
¾ ¾
Implemented in HTTP 1.0 Default behavior in HTTP 1.1 Without Persistence
(HTTP 1.0 Default)
SYN
With Persistence
(HTTP 1.1 Default)
SYN-ACK ACK HTTP GET
¾
Simulated User Actions– 1 user going through a list of actions
z
What the user is going to do
• HTTP request, download a streaming file or making a voice call...
z z z z
Web switches and SSL accelerators Caches and HTTP proxies Firewalls and intrusion detection systems Web infrastructures, including web servers
¾
2
L4–7 Testing – What is It?
Device Testing: Server Load Balancers (SLB), Firewalls, Caches, SSL Accelerators, IDS, IPS, etc.
Firewall
Load Balancer
Router
SYN SYN-ACK ACK
Client
HTTP Response TCP Reset SYN
Server
Client
HTTP GET HTTP Response HTTP GET HTTP Response TCP Reset
Server
SYN-ACK ACK HTTP GET HTTP Response
Overview
¾ Introduction ¾ Introduction to Avalanche ¾ Avalanche Commander - Client Config ¾ Avalanche Commander - Server Config ¾ Running a Test ¾ Analyzing Results
Avalanche Administration
Spirent TestCenter
•Set media, speed duplex, neg
Avalanche Administration
Smartbits
•Set card IP, Mask and GW
•Set port media, speed duplex, neg
Quick Test Mode – Client Tab
Enter list of URLs
Enter client IP address range
Configure desired load profile
Choose which ports to send traffic from
Advanced Test Mode
Client Load Profile
¾ ¾ ¾
Load Specification Time Scale Phase Editor
z z z
Default 4 phases (Ramp Up, Stair, Steady State, Ramp Down) Can remove any phases Can add multiple phases (Flat, Stair, Burst, Sinusoid, Random)
Client Load Profile > SimUsers, Connections, Transactions
Connection
Transaction Transaction Transaction Transaction…
SimUser
Connection
Transaction Transaction Transaction Transaction…
Avalanche 介绍
目录
¾ Introduction ¾ Introduction to Avalanche ¾ Avalanche Commander - Client Config ¾ Avalanche Commander - Server Config ¾ Running a Test ¾ Analyzing Results
¾
Pool of source Addresses
z z
Static DHCP Bandwidth Connections or Connections/Sec SimUsers or SimUsers/Sec
¾
Desired Amount of Load
z z z
¾
Test Ports – which ports you want to send traffic to/from
Wide Protocol Support
L4-L7 Testing – Protocol Support
Protocol Support
• HTTP • HTTPS (SSL) • FTP • Telnet • DNS • POP3/SMTP • Quicktime Streaming • Real/Microsoft Streaming • Multicast • SIP • Capture/Replay • Denial of Service • IPSec •AAA / RADIUS / NAC • IPv4 / IPv6
Avalanche - Clients and Servers
¾
Avalanche emulates clients establishing thousands of user transactions per second. ¾ Reflector emulates hundreds of application web servers. ¾ Supports the functional and performance testing of:
Client Load Profile - Specification
HTTP-Versions

HTTP 1.0 vs. HTTP 1.1
¾
Primary difference is Persistence
• A technique that keeps the TCP connection open after an initial HTTP exchange
Overview
¾ Introduction ¾ Introduction to Avalanche ¾ Avalanche Commander – Administration ¾ Avalanche Commander - Client Confiቤተ መጻሕፍቲ ባይዱ ¾ Avalanche Commander - Server Config ¾ Running a Test ¾ Analyzing Results
SSL Scaler Web Server Application Server Database Server
General “Real World” Testing
Traditional Testing (L2 / L3)
Traditional Performance Metrics •Packets/sec •Throughput •Frame loss •Packet Latency •IMIX
Avalanche Administration
Appliances
Nothing to set here...
Overview
¾ Introduction ¾ Introduction to Avalanche ¾ Avalanche Commander - Client Config ¾ Avalanche Commander - Server Config ¾ Running a Test ¾ Analyzing Results
Configuring Client (Avalanche)
¾
¾ ¾
¾ ¾
General Steps Create a Load profile, create a URL list (Action), create all user Profiles, setup all address Subnets and host addresses. Decide which Ports you want to use in the test Assign (Associate) user Profiles and Subnets to the interfaces Network tab allows control of TCP stack Note that all Actions, Profiles, etc configured in a test are available to be used by any other test under the same project
Cisco Groups • ISBU, BEMR, STG, MMABU, MCEBU, Manufacturing, CPOC,NSITE, and many others
Results Analysis Software
¾
All results in .csv format (Excel) ¾ Avalanche Analyzer
Application = Client emulation ONLY Device = Client and Server emulation Methodology configures and runs a series of tests consecutively to benchmark a device
Creating a New Project
Click File New -> Project, or click
¾
Name the project... then Finish
Creating a New Test
Click File New -> Test, or click
¾
4)
Select which project test will be part of (1 of 4) , then name the test (2 of
相关文档
最新文档