如何計劃一個壓力會話load session
what application are you going to test?
What functionality do you want to test – what actions will the users perform?
How many Virtual Clients you want to simulate?
How long your test will run?
What are acceptable results? Acceptable results are defined by your test objective. For example, you can verify:
Acceptable user response times
Reliability by running stress tests
Performance degradation after updates
What resources are required for performing the test?
創建測試議程agenda
用WebLoad Visual AAT創建測試議程agenda:
打開Visual Agenda Authoring Tool
選擇[Create a new project],并[確定]
創建測試議程agenda
設置清除瀏覽器的cache和cookie:
選擇[tools]->[default project options]->[IE playback settings]
選擇[clear cache]和[clear cookie]
點擊[ok]
目的:防止記錄腳本時將IE的相關信息保存到cache或cookie里引起不必要的麻煩.
創建測試議程agenda
點擊[start record]按鈕,彈出提示,點擊ok
自動打開一個IE,手工輸入要測試的地址,進入系統
在測試系統里完成一系列操作
點擊[stop record]停止錄制,一個agenda腳本創建完畢;保存腳本
注意:
創建壓力模板load templates
用WebLOAD Console創建load templates-將一系列壓力事件定義到一個壓力會話load session里:
I.用webload wizard創建一個簡單的壓力模板
II.用Cruise Control Wizard創建一個預期性能參數的壓力測試模板
III.用webload console手工創建壓力模板
說明:打開webload console時提示選擇用哪個方式