SoapUI压力测试的指标项说明以及对测试策略的诠释

本文详细介绍了SoapUI的压力测试策略,包括Simple Strategy的基础测试、Fixed Rate Strategy的固定速率测试、Variable Load Strategies的动态负载测试,以及如何在不同场景下使用这些策略进行基准、负载和耐久性测试。同时,文章还讨论了统计计算和线程数变化对测试结果的影响,并展示了如何同时运行多个LoadTests以模拟复杂场景。
摘要由CSDN通过智能技术生成

如图:



1、Test Step:调用方法名称。
  2、min、max、avg、last:调用时的最小、最大、平均、最近一次的响应时间
  3、cnt总调用次数 ;tps平均每秒调用次数
  4、bytes接口处理的字符数;bps平均每秒接口处理的字符数
  5、err报错次数;rat报错次数/执行次数
  或
  min,最小响应时间
  max,最大响应时间
  avg,平均响应时间
  last,上一次请求响应时间
  cnt,请求数
  tps,每秒处理请求数
  bps,吞吐率
  rat,错误率
以下是对策略进行诠释:


1. Simple Strategy - Baseline, Load and Soak Testing

The Simple Strategy runs the specified number of threads with the specified delay between each run to simulate a "breathing space" for the server. For example if you want to run a functional test with 10 threads with 10 seconds delay, set Threads to 10, delay to 10000 and random to how much of the delay you want to randomize (ie setting it to 0.5 will result in delays between 5 and 10 seconds). When creating a new LoadTest this is the default strategy and set at a relatively low load (5 threads with 1000ms delay).

default-simple-strategy

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值