软件开发系统性能测试报告

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

订单系统二期_Order接口性能测试报告修订历史记录日期版本号说明作者审核2013-02-26V1.0罗晴目录1.术语..................................................................................................................32.测试环境............................................................................................................32.1服务器&客户端环境信息................................................................................33.测试场景............................................................................................................44.测试目的&策略.....................................................................................................55.结果分析............................................................................................................55.1基本数据统计分析&对比................................................................................55.1.1.测试场景PT1......................................................................................55.1.2.测试场景PT2......................................................................................55.1.3.测试场景PT3......................................................................................65.2.详细数据分析.............................................................................................65.2.1.测试场景PT1(getOrderListInterface)....................................................65.2.2.测试场景PT2(getOrderRowInterface)....................................................95.2.3.测试场景PT3(getOrderGoodsList)........................................................146.测试结论..........................................................................................................171.术语名称解释MaximumRunningVusers虚拟用户总数Duration结果用时(分)AverageHitsperSecond每秒点击数Failed测试失败数(个)Passed测试通过数(个)Minimum最小响应时间(秒)Average瓶颈响应时间(秒)Maximum最大响应时间(秒)2.测试环境2.1服务器&客户端环境信息服务端配置:10.19.141.57应用服务器:CPU:Intel(R)Xeon(R)CPUE5620@2.40GHz8个逻辑CPU内存:15GB网卡:1000M操作系统:CentOSrelease5.8(Final)辅助软件:nmon10.19.141.58数据库服务器:CPU:Intel(R)Xeon(R)CPUE5620@2.40GHz8个逻辑CPU内存:8GB网卡:1000M操作系统:CentOSrelease5.8(Final)辅助软件:nmon客户端配置:(2台)CPU:4核8线程Intel(R)Xeon(R)CPUE5620@2.40GHz内存:8.00GB网卡:1000M操作系统:Windows2008浏览器/版本号:IE9.0测试工具:LoadRunner11.0、nmon3.测试场景数据库中初始化数据:约300000条测试场景编号:PT1(getOrderListInterface)测试项:模拟500用户并发访问接口=Order.getOrderList&api_key=9418fa3f9865f0d1e7e7e631f8791b09&fields=%5B%22wms_flag%22%2C%22user_id%22%5D&where=id%2B%253D%2B583&api_sign=350855fb043f730bce302cc8f81648b4预置条件:性能测试环境已部署,系统功能测试已完成.操作步骤:(业务描述)无场景描述:模拟500用户并发访问接口,持续时间1小时.通过返回页面字符串状态,判断事务是否成功.测试场景编号:PT2(getOrderRowInterface)测试项:模拟500用户并发访问接口=9418fa3f9865f0d1e7e7e631f8791b09&order_id=5706699&api_sign=350855fb043f730bce302cc8f81648b4预置条件:性能测试环境已部署,系统功能测试已完成.操作步骤:(业务描述)无场景描述:模拟500用户并发访问接口,持续时间1小时.通过返回页面字符串状态,判断事务是否成功.测试场景编号:PT3(getOrderGoodsListInterface)测试项:模拟500用户同时并发访问接口,持续时间1小时.=Order.Test&api_key=9418fa3f9865f0d1e7e7e631f8791b09&order_id=5706699&api_sign=350855fb043f730bce302cc8f81648b4预置条件:性能测试环境已部署,系统功能测试已完成.操作步骤:(业务描述)无场景描述:模拟500用户并发访问接口,持续时间1小时.通过返回页面字符串状态,判断事务是否成功.4.测试目的&策略目的:分别检查各接口性能,及服务器处理情况.策略:采用持续执行方式进行.5.结果分析5.1基本数据统计分析&对比5.1.1.测试场景PT1测试场景PT1(getOrderListInterface)Duration:1hour,7minutesand17seconds.MaximumRunningVusers:500AverageHitperSecond:457.912AverageThroughput(bytes/second):210583≈205.6KBTotalThroughput(bytes):850334409≈810.9MBTransactionResponseTime&TransactionSummaryTotalPassed:1849047TotalFailed:0TotalStopped:0Minimum:0.008’sAverage:0.02’sMaximum:0.074’s5.1.2.测试场景PT2测试场景PT2(getOrderRowInterface)Duration:1hour,12minutesand51seconds.MaximumRunningVusers:500AverageHitperSecond:1.51AverageThroughput(bytes/second):1081≈1.05KBTotalThroughput(bytes):4727207≈4.5MBTransactionResponseTime&TransactionSummaryTotalPassed:3211TotalFailed:3940TotalStopped:0Minimum:8.466’sAverage:227.534’sMaximum:885.792’s5.1.3.测试场景PT3测试场景PT3(getOrderGoodsListInterface)Duration:1hour,7minutesand18seconds.MaximumRunningVusers:500AverageHitperSecond:232.508AverageThroughput(bytes/second):93003≈90.8KBTotalThroughput(bytes):375640400≈358MBTransactionResponseTime&TransactionSummaryTotalPassed:939101TotalFailed:0TotalStopped:0Minimum:0.009’sAverage:0.018’sMaximum:0.047’s5.2.详细数据分析5.2.1.测试场景PT1(getOrderListInterface)图1-1脚本持续执行1小时:成功事务:1849047图1-2图1-3图1-4最大TPS:457平均TPS:500TPS:及系统在同一时间内,能处理业务的最大能力.服务器主要指标图表展现:10.19.141.57应用服务器:图1-5图1-610.19.141.58数据库服务器:图1-7图1-85.2.2.测试场景PT2(getOrderRowInterface)图2-1脚本持续执行1小时:成功事务:3211失败事务:3940图2-2图2-3图2-4当前场景下成功事务最大TPS:1.984成功事务平均TPS:0.734图2-5Error-26608错误数:2753个Error-26608:Action.c(13)Error-26608HTTPStatus-Code=504(GatewayTime-out)forhttp//xxx.xxx.xxx/getXXX.aspx?api_key=9418fa3f9865f0d1e7e7e631f8791b09&order_id=5706699&api_sign=350855fb043f730bce302cc8f81648b4Error-26610错误数:653个Error-26610:Action.c(13)Error-26610HTTPStatus-Code=502(BadGateway)forhttp//xxx.xxx.xxx/getXXX.aspx?api_key=9418fa3f9865f0d1e7e7e631f8791b09&order_id=5706699&api_sign=350855fb043f730bce302cc8f81648b4Error-27728错误数:89个Error-27728:Action.c(13)Error-27728Stepdownloadtimeout(900seconds)hasexp

1 / 17
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功