性能測試需求分析
性能測試需求是由產品提出,客戶溝通,或者依據業界標準來獲取, 首先目前測試現狀來看, 性能需求都會有,但不會很明確. 通過溝通討論來逐步將客戶(或者開發)性能需求轉換為測試性能需求,如上圖測試過程中的
<!--[if !supportLists]-->1. <!--[endif]-->確定測試環境 Identify Test Environment
<!--[if !supportLists]-->2. <!--[endif]-->確定性能可接收標準
性能測試設計 Plan and Design Tests
性能測試設計先總體來描述, 編寫性能測試方案, 必須包括如下方面:
<!--[if !supportLists]-->1. <!--[endif]-->測試用機和測試軟件LoadRunner的部署
<!--[if !supportLists]-->2. <!--[endif]-->分析測試用機對本性能測試設計是否存在影響
<!--[if !supportLists]-->3. <!--[endif]-->被測Web應用服務器的部署
<!--[if !supportLists]-->4. <!--[endif]-->描述測試和被測服務器的網絡TOPO
<!--[if !supportLists]-->5. <!--[endif]-->分析描述網絡TOPO可能對本測試設計存在的影響
<!--[if !supportLists]-->6. <!--[endif]-->性能測試可接收標準(從性能測試需求分析得到)
<!--[if !supportLists]-->7. <!--[endif]-->性能測試用例設計
<!--[if !supportLists]-->a) <!--[endif]-->測試目的
<!--[if !supportLists]-->b) <!--[endif]-->性能測試輸入
<!--[if !supportLists]-->c) <!--[endif]-->數據及數據流向
<!--[if !supportLists]-->d) <!--[endif]-->性能測試操作過程
<!--[if !supportLists]-->e) <!--[endif]-->LoadRunner中的Init Action中初始化功能
<!--[if !supportLists]-->f) <!--[endif]-->LoadRunner中的集合點處理
<!--[if !supportLists]-->g) <!--[endif]-->Loadrunner中的虛擬用戶并發量
<!--[if !supportLists]-->h) <!--[endif]-->LoadRunner中的End Action中清理功能
<!--[if !supportLists]-->i) <!--[endif]-->性能測試輸出
<!--[if !supportLists]-->8. <!--[endif]-->LoadRunner性能測試場景設計
<!--[if !supportLists]-->a) <!--[endif]-->Manual模式
非Web用戶只能使用Manual模式,
場景設計要包括多少虛擬用戶, 虛擬用戶啟動過程,虛擬用戶停止過程, 虛擬用戶運行時間;是否使用IP地址池等
原文轉自:http://www.anti-gravitydesign.com