摘要
针对小型及个人用户进行软件性能测试的需求,提出了设计和实现一种轻量级测试工具的方法。核心设计是以多线程的并发执行来模拟多用户的并发操作,根据各线程能否正确响应及响应时间的长短等测试数据来衡量被测系统的性能。测试工具由测试用例管理、测试执行和测试报告三个模块构成,使用Java语言实现。设计中组合使用了多种设计模式,使得设计方案简洁高效、易于扩展。
Describes an approach to design and implement a lightweight software performance tool for small and individual users to fulfil their needs of performance testing. Basically, the tool is designed based on the simulation of concurrent users' operations by the multi-threads, and measure the performance by the facts that whether the response is correct, and the value of response time. The tool is composed of three modules, test case management module, test runner module, and test report module, and implemented by Java language. The collaborative use of design patterns for designing the tool results in a clear, high efficient and maintainable system.
出处
《西安邮电学院学报》
2009年第3期106-109,共4页
Journal of Xi'an Institute of Posts and Telecommunications
关键词
软件性能测试
轻量级测试工具
设计模式
software performance test
lightweight test tool
design patterns