性能测试流程

Perfromance Testing

Performance testing classification

  • Baseline Testing
  • Peak Testing
  • Load Testing
  • Stress Testing
  • Soak/Endurance Testing
  • Concurrency Testing
  • Spike Testing

Indicators

  • Number of concurrent/virtual user
  • Average Response time
  • TPS
  • Errors
  • Resource utilization
  • Hit

Performance testing flow

Requirement research

  • The total number of users expected for the application?
  • The concurrency users expected during peak day or hour?
  • Business critical transaction
  • % of load from business critical transacton
  • expected response time SLA for the transaction
  • throughtput SLA per day/hour/minute
  • will the user use the application for 24*7
  • system architecture

Requirement Analysis

  • Concurrent User C=nL/T
  • C’=C+3*radical C
  • TPS
  • 90th percentile Response Time<1s
  • error% less than 0.02%
  • CPU utilization<75%
  • Memory Utilization<75%
  • JVM Full GC none during the scenario

Test Preparation

Env
  • Stress testing machine
  • Service ENV
Base Data

need to have enough base data in DB,
we can use the business api call, or the produce

Test Tool
  • Stress test tool,Loadrunner,JMeter
  • Monitor tool,Nmon,APM
Prepare Script and Scenario

desigh the performance testing script, and the scenario

Exe Scenario and correct the data

Jmeter -n -t xxx.jmx -l xx.jtl -e -o \report
####Analys the Result
####Report

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值