jmeter配件元素
- CSV Data Set Config
- 名詞解釋
- 測試場景
- Recycle on EOF:False
- 配置
- 測試結果
- Recycle on EOF:True
- 配置
- 測試結果
- Sharing mode:All Threads
- 配置
- 測試結果
- Sharing mode:Current thread group
- 配置
- 測試結果
- Sharing mode:Current thread
- 配置
- 測試結果
- HTTP Header Manager
- User Defined Variables
CSV Data Set Config
名詞解釋
- Filename:csv所有的目錄,也可以導入txt格式文件
- File encoding:選擇UTF-8
- Variable Names(comma-delimited):從文件中讀取出來的字段命名
- Ignore first line:當存在標題時選擇True,不存在標題時選擇否
- Delimiter:使用逗號分隔
- 是否允許帶引號:False
- Recycle on EOF:文件結束是否從頭開始-True(比如文件存在4行,但并發了5個用戶。則讀到最后又會從頭開始讀)
- Stop thread on EOF:文件結束是否停止線程-False
- Sharing mode:
All threads-所有線程共享:包括同一測試計劃中的不同線程組(測試計劃下所有的線程組下的所有線程共享參數文件)
Current thread group當前線程組:當前線程組中的線程共享(當前線程組下的所有線程公用,同一個線程組下的線程之間取值相互影響)
Current thread group當前線程:僅對當前線程(每個線程獲取一個參數文件,各線程之間參數取值互不影響)
測試場景
Recycle on EOF:False
配置
測試結果
Recycle on EOF:True
配置
測試結果
Sharing mode:All Threads
配置
測試結果
Sharing mode:Current thread group
配置
測試結果
Sharing mode:Current thread
配置
測試結果