如何計(jì)劃一個(gè)壓力會(huì)話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?
創(chuàng)建測(cè)試議程agenda
用WebLoad Visual AAT創(chuàng)建測(cè)試議程agenda:
打開Visual Agenda Authoring Tool
選擇[Create a new project],并[確定]
創(chuàng)建測(cè)試議程agenda
設(shè)置清除瀏覽器的cache和cookie:
選擇[tools]->[default project options]->[IE playback settings]
選擇[clear cache]和[clear cookie]
點(diǎn)擊[ok]
目的:防止記錄腳本時(shí)將IE的相關(guān)信息保存到cache或cookie里引起不必要的麻煩.
創(chuàng)建測(cè)試議程agenda
點(diǎn)擊[start record]按鈕,彈出提示,點(diǎn)擊ok
自動(dòng)打開一個(gè)IE,手工輸入要測(cè)試的地址,進(jìn)入系統(tǒng)
在測(cè)試系統(tǒng)里完成一系列操作
點(diǎn)擊[stop record]停止錄制,一個(gè)agenda腳本創(chuàng)建完畢;保存腳本
注意:
創(chuàng)建壓力模板load templates
用WebLOAD Console創(chuàng)建load templates-將一系列壓力事件定義到一個(gè)壓力會(huì)話load session里:
I.用webload wizard創(chuàng)建一個(gè)簡(jiǎn)單的壓力模板
II.用Cruise Control Wizard創(chuàng)建一個(gè)預(yù)期性能參數(shù)的壓力測(cè)試模板
III.用webload console手工創(chuàng)建壓力模板
說明:打開webload console時(shí)提示選擇用哪個(gè)方式