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

被折叠的 条评论
为什么被折叠?



