2
我有一個包含100個記錄/行的CSV,我希望使用JMeter執行(通過服務)。對於CSV中的每個記錄,Jmeter多次執行
現在,我想執行每個記錄3次(每次延遲5秒後),並對CSV中的所有100條記錄執行相同操作。
如何使用JMeter做到這一點?
我有一個包含100個記錄/行的CSV,我希望使用JMeter執行(通過服務)。對於CSV中的每個記錄,Jmeter多次執行
現在,我想執行每個記錄3次(每次延遲5秒後),並對CSV中的所有100條記錄執行相同操作。
如何使用JMeter做到這一點?
這看起來並不是很難用jmeter的standard components實現。
架構可能看起來像:
Thread Group Number of Threads = 1 Loop Count = 1 . . . While Controller // this will iterate through your csv-file Condition = ${__javaScript("${var1}"!="",)} // this will repeat until EOF CSV Data Set Config Filename = ... // path to your csv file Variable Names = var1,... // these are records read from file into pointed variables Delimiter = , Recycle on EOF? = False Stop thread on EOF? = True Sharing Mode = Current thread group Loop Controller Loop Count = 3 HTTP Request Sampler Constant Timer Thread Delay (in ms) = 5000 . . .
您的問題不明確,可能的數據,應該怎麼DOND可以幫助 –
例如[?得到的答案](http://stackoverflow.com/FAQ#howtoask) –