[转帖]性能测试指标
1、SQL数据库: 1. User 0 Connections (用户连接数,也就是数据库的连接数量); 2. Number of deadlocks/Sec/-Total (数据库死锁) 3. Memory\ Availalle Mbyte 内存监控 (可用内存) 4. Physicsdisk \disk time \-Total(磁盘读写总时间)(出现瓶颈时检查读磁盘的时间长还是写磁盘的时间长) 5. Butter Caile hit(数据库缓存的选取命中率) 6. 数据库的命中率不能低于92% 2、Web Server: 1. Processor \ Processon time \ Tatol cpu时间 2. Memory \ Availalle MbyteAvai 应用服务器的内存 3. Requst Quened 进入HTTP队列的时间;队列/每秒 4. Total request 总请求数时间 5. Avg Rps 平均每秒钟响应次数= 总请求时间 / 秒数 6. Avg time to last byte per terstion (mstes)平均每秒迭代次数 ; 上一个页面到下一个页面的时间是你录入角本的一个过程的执行 7. Http Error 无效请求次数 8. Send 发送请求次数字节数 Webload的压力参数: l Load Size(压力规模大小) l Round Time(请求时间) l Rounds (请求数) l Successful Rounds(成功的请求) l Failed Rounds (失败的请求) l Rounds Per Second (每秒请求次数)(是指你录入角本的任务在一秒中执行的次数,类似Avg time to last byte per terstion (mstes)) l Successful Rounds Per Second(每秒成功的请求次数) l Failed Rounds Per Second(每秒失败的请求次数) l Page Time 页面响应时间 l Pages (页面数) l Pages Per Second (每秒页面响应数) l H it Time(点击时间) l Hits(点击次数,也可以是请求次数,不过有一些不一样) l Successful Hits (成功的点击次数) l Failed Hits (失败的点击次数) l Hits Per Second (每秒点击数) l Successful Hits Per Second (每秒成功的点击次数) l Failed Hits Per Second (每秒失败的点击次数) l Attempted Connections (尝试链接数) l Successful Connections(成功的连接数) l Failed Connections(失败的连接数) l Connect Time(连接时间) l Process Time(系统执行时间,一般用来显示CPU的运算量,服务器端与客户端都要记录) l Receive Time(接受时间) l Send Time(请求时间) l Time To First Byte () l Throughput (Bytes Per Second)() l Response Time(回应时间) l Response Data Size() l Responses() Transactions per second(每秒处理事务数) http连接Get or Post方法的事务数 Rounds per second(每秒完成数) 每秒完全执行Agenda〔代理〕的数量 Throughput(吞吐量)(bytes per second〔每秒字节数〕) 测试服务器每秒传送的字节数 Round Time 完成一次事务所用的必要时间,单位是秒 Transaction Time是完成一次事务的必须时间。事务:包括连接时间,发送、响应和处理时间。 Connect Time 客户端到测试服务器的一个连接完成的时间,单位秒(包括建立和收到的TCP/IP时间) Send Time 是将事务写入测试服务器的缓冲必要时间 ,单位秒 Response Time 是客户端请求接受测试服务器响应的必要时间,单位秒 Process Time 处理数据的必要时间 Load Size 负载测试时开启的虚拟客户数量〕 Rounds 在测试会话期间执行议程脚本的时间数 Attempted Connections 尝试连接测试服务器的数量 HTTP Response Status 每一个http响应被结束的时间数量 Response Data Size 由测试服务器发送的响应大小,单位字节。 |