基于LoadRunner的性能测试
摘 要:在软件出现的早期,并没有软件测试这个概念。因为那时的软件都是基于少量用户的,没有形成规模。但是随着计算机的迅速发展,软件的使用者越来越多,对软件的功能和性能的要求也越来越高。这就出现了软件质量保证这一名词,而软件的质量是通过测试来保证的。软件测试在软件生命周期中占有重要的地位。近年来,软件工程界趋于一种新的观点,即认为软件生命周期每一阶段中都应包含测试。测试从软件开发的过程按阶段划分有:单元测试、集成测试、确认测试、系统测试和验收测试。而性能测试就属于软件系统级测试,其目的就是保证产品发布后系统的性能满足用户需求。在所有的性能测试工具中,LoadRunner是比较成熟的。
本文简单的介绍了引入软件测试的原因,以及软件测试、性能测试的一些基本概念。并通过一个简单的例子介绍了Vuser开发脚本的自动生成过程,这里涉及软件系统架构、计算机编程技巧和Vuser本身的功能特性。结合邮件系统,介绍如何使用Vuser生成基于SMTP/IMAP协议的脚本。使用Vuser录制发送邮件操作,并对登录邮箱和发送邮件进行了简单的性能测试。
关键词:软件测试、性能测试、LoadRunner
Performance Testing Based on LoadRunner
Abstract:Appeared early in the software,there was no concept of Software in that days,most of the software was based on a small number of users and hardly development in the market. However,with the swift development of computer,the users of software were increased as well as the requirements of the software functionality and ,SQA(Software quality assurance) was the quality of software was ensured through Software testing occupy an important position in software recent years,there is a new point of view in the software engineering that Software testing should be included in every stage of software the process of software development,testing can be divided into five periods:unit testing,integration testing,validation testing,system testing and acceptation test is belong to system testing and its purpose is to secure the performance of system can meet the demands of all the Performance Test Instruments,LoadRunner is comparative maturity.
This article simply describes the reason for the introduction of software testing and the primary concept of performance ,we also introduced the automatically generates process of Vuser development script through a brief refers to software architecture,techniques of computer programming,and Vu
基于LoadRunner的性能测试 来自淘豆网m.daumloan.com转载请标明出处.