Introduction to Software Performance Testing Part

本文介绍了软件性能测试的基础概念,包括负载测试、压力测试、可扩展性测试及可靠性测试等类型。并提供了一个清晰且简洁的性能测试过程图,涵盖了从需求收集到报告的全过程。

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

Before starting to dig into LoadRunner, we will try to get some basics of Software Performance

Testing. I would like to introduce some concepts regarding performance testing and types of performance      testing.

The basics introduced here are not limited to LoadRunner,

these can be applied across all performance testing strategies (using any other performance testing tool).

 

Performance testing is the process of studying the application behavior under varying load conditions.       It ensures that the application is capable of functioning satisfactorily

when processing peak data and user load.

Types of Performance Testing can be:

  • Load Testing
    • Testing the system under varying workloads to measure the performance behavior of the application such as response time, transaction rate, system resource utilization, etc.
  • Stress Testing
    • To ensure that the system is stable under the peak load conditions.
  • Scalability Testing
    • Testing whether the system is Scalable in terms of the number of users.
    • Testing whether the system is Scalable in terms of the volume of data processed.
  • Reliability & High Availability Testing
    • To ensure that the system is available continuously over a specified period of time without failure.
    • To measure the Mean Time To Failure (MTTF).

 

 

 

 

 

 

The process diagram below depicts the Performance Testing process in a clear and consice manner.       It shows an end-to-end process that can be used for any load testing need.

image

 

 

 

 

 

 

Requirements Gathering and Tool Selection:

  • Identify Load Test Requirements — What all needs to be load test?
  • Identify Performance Objectives — What are the performance goals for your application?  Example: number of concurrent connections and/or hits per second to expect against the Web site.
  • Evaluate and Select Load Test Tool and Monitoring Tool — Evaluate the tool to find out which      tool can provide the best ROI in terms of the above defined performance objectives,                 cost of the tool, expertise pool available.

Planning and Analysis:

  • Design Load Test Plan
  • Identify and Prioritize Scenarios
  • Identify Load Test Monitors: System( like perfmon for windows) or Non System Monitors ( like Apache Web Server) [Note: Monitors are programs that keep a check on your system's performance, For Ex: type perfmon in Start -> Run command and check for yourself! ]
  • Design Load Test Framework
    • Set Load Test Environment
    • Design Scripting Guidelines
    • Assign the scripts among team members

Scripting and Configuration:

  • Test Script Development and Unit Testing
  • Configuring Test Scripts and Test Groups
  • Develop Load Test Automation Suite
  • Design and Deploy Monitors

Execution, Monitoring and Reporting:

  • Perform Preliminary Tests
  • Perform Formal Test- Various Loads: Under various loads condition as agreed upon with the client.
  • Monitor Server and Resources
  • Analysis and Bottleneck Identification
  • Defect tracking and Configuration Management
  • Reporting and Closure

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值