【译】怎样为性能测试设计好的测试用例?

2010-06-30  陈秋歌 

A test case ideal for performance testing has a prime aim of establishing the level of performance delivered by the present system. The gathered information is helpful in doing benchmarking in future. Every test case related to the performance requirements essentially describes all inputs to the system as well as all outputs expected from the system.

优秀的性能测试用例可以验证被测系统随表现出的性能质量。测试所收集到的信息为将来评估系统提供了依据。每个测试用例都是针对性能需求设计的,从根本上描述了系统的所有输入和预计的系统输出。

At the time of designing the performance test cases, following important factors are given adequate consideration:

在设计性能测试用例时,下面给出的重要因素应该充分考虑:

1) Capacity Handled: refers to the maximum amount, which can be handled, or can be produced, or can completely occupy the entity.

1)容量:指的是系统可以处理的或产生的或完全占有实体的最大事务数。

2) Security: Ensure that the component or system maintains user confidentiality, data integrity, and authorized permissions.

2)安全:确保组件或系统保证用户信息机密性、数据完整性、授权的允许性。

3) Reliability: Ensure that it consistently produces the desired results for a given set of functions.

3)可靠:确保系统始终能为给定的功能产生预期的结果。

4) Stress: Should be able to move the system or its component beyond the specified limits of performance expectations.

4)压力:系统或组件能够超越性能指标指定的极限。

5) Response time: Should be able to discover the total time taken by a response to be received after initiating a request for it.

5)响应时间:能够反映出从最初发出请求到收到响应之间所花费的全部时间。

6) Bandwidth: Provide consideration to the bandwidth, or a particular quantum of data passing across a physical entity.

6)宽带:要对宽带或通过物理实体特定的数据总量进行考虑。

7) Efficiency: Provide consideration to the efficiency in terms of the ratio of quantum of data processed to the amount of resources utilized to process.

7)效率:应该考虑处理数据时资源利用率的问题。

8) Recovery: Refers to the ability of the system to return to normal processing after removal or reduction of the load. It includes estimation of time period for such a recovery

8)恢复能力:指的是当负载消失或减少时,系统重新回到正常处理过程的能力。恢复过程所需时间应该有一个评估。

9) Scalability: Provide consideration to the ability of the system to handle increased loads by adding additional hardware components, without the addition of extra software.

9) 可扩展性:应该考虑 系统 通过增加额外的硬件可以提高处理增长的负载的能力,不考虑增加额外的软件。

http://www.softwaretestinggenius.com

文章来源:http://ezinearticles.com/?How-to-Design-a-Good-Test-Case-For- Performance-Testing&id=1775093

译者水平有限,有译的不对的地方,还请批评指导。
239°/2394 人阅读/0 条评论 发表评论

登录 后发表评论