jmeter plugins
- standard set 對線程組進行擴展
- extras set 監聽器進一步擴展
- extras with libs set 提供對json的支持
- webDriver set 與webDriver進行了集成
- hadoop set 提供hadoop 測試
插件安裝
- 下載插件包
- 複製到 %JMETER_HOME%\lib\ext 目錄下
線程組
- ultimate thread group
- setpping thread group
ultimate thread group
設置多條線程做業計劃web
浪涌場景json
![](http://static.javashuo.com/static/loading.gif)
- start thread count 開始線程數量
- initial delay sec 線程延遲多長時間開始運行
- startup time ,sec 線程加載多長時間
- hold load fro ,sec 線程持續運行多長時間
- shutdown time 線程中止時長,在多長時間內停下來
setpping thread group
持續增長負載 ,檢驗服務在不一樣負載下的性能(tps,tr等)併發
100 個線程按階梯狀遞增運行,每 5秒內加載20個線程直到100,每一個階遞是600秒,是後一個階梯是1000秒(併發100線程時運行1000秒),最後每秒中止10個線程oop
![](http://static.javashuo.com/static/loading.gif)
- this group will start 加載多少個線程
- first ,wait for 等待多長時間開始加載線程 (第一線程延遲多少秒開始加載)
- then start 初次加載多少個線程
- next ,add 下一次加載多少個線程
- threads every 當前運行多長時間後,再次加載線程
- using ramp-up 加載線程時間,
- then hold load for 線程所有加載完成後運行多長時間
- finally,stop/threads every 多長時間中止多少個線程