Performance Testing

本文探讨了为何要进行性能测试及负载测试应用的原因,包括预防关键应用的昂贵故障、确保实际工作条件下的性能与功能、提前发现潜在问题、缩短开发周期及减少基础设施成本。文章还列举了性能测试的目标,如响应时间、配置大小、稳定性等,并提供了如何确定并发事务数量的具体计算案例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1: Why Performance Testing? Why Load Test Your Application?

 

   Prevents costly failures of mission-critical applications.

 

   Assures performance and functionality under rea-worls conditions.

 

   Locates potential problems before your customers do.

 

   Reduces development time.

 

  Reduces infrastructure costs.

 

 

2: Examples of Perfoemance Test Objectives

 

 

   Application response time:

 

   How long does it take to complete a task?

 

   Configuration sizing:

 

   Regression:

 

   Reliability:

 

   How stable is the system under a heavy work load?

 

3: Determine Transation Concurrency

   How many transactions will need to be run per minute if a load test has to be run for two hours with

   1000 users, assuming an average trasaction length of five minutes

 

    Determine how many transactions run per minute:

            .120 min / 5 min = 24 iterations for each user

            . 1000 users * 24 iterations = 24000 transactions

            . 24000 transactions / 120 minutes = 200 transactions per minute

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值