true false Batch Test using only local resources. **N.B. If this file is updated, then the expected test data files need to be updated with the new length of this file** 1172922900000 2 false false 2 1172922900000 continue 40 N.B. The ramp-up period is set so that the first thread will finish before the second. This is to ensure the test output is predictable, whilst still allowing testing of unshared counter etc 1 1 C1 true Should increment for each TG loop true 3 Sleep_Time 100 = Sleep_Mask 0xFF = Label Java 1 C1=${C1} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData SamplerData = ResultData ResultData = org.apache.jmeter.protocol.java.test.JavaTest true 5 Sleep_Time 100 = Sleep_Mask 0xFF = Label Loop5 C1=${C1} C2=${C2} C3=${C3} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest ${__StringFromFile(testfiles/BatchTestLocal.txt)} > 2 false Sleep_Time 100 = Sleep_Mask 0xFF = Label If Test C1=${C1} C2=${C2} C3=${C3} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest true 3 Sleep_Time 100 = Sleep_Mask 0xFF = Label Loop3 C1=${C1} C2=${C2} C3=${C3} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest WorkBench Test Plan Thread Group Simple Controller for Module Controller 1 5 1 C2 true 1 1 C3 false false saveConfig false false true true true true true false true true true true false true true true false true 0 true true true true true ${__P(CSVFILE)} false saveConfig false false true true true true true false true true true true true true true true false true 0 true true true true true BatchTestLocal.xml false saveConfig false true true true true true true false true true false false false false false false false false 0 false saveConfig true true true true true true true false true true false false true false false false false false 0 true true 2 ${JMeterThread.last_sample_ok} false Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode = ResponseMessage = Status BAD = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest ${JMeterThread.last_sample_ok} true Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode = ResponseMessage = Status BAD = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest for Module Controller Sleep_Time 100 = Sleep_Mask 0xFF = Label ${__P(module)} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest true Test zero loops 0 Just in case the loop accidentally runs 2 2 Runs after first thread group. false 1 1 1 1194880755000 1194880755000 false continue file testfiles/BatchTestLocal.jmx GET false true true false Java false N.B. The file that is loaded must have a fixed size, so HTML won't do as it will be different on Unix and Windows. We use this file, which has eol=LF - but of course any changes need to be reflected in the expected test data. false saveConfig true true true true true true true true true true false true true false true true false true 0 true true true true false saveConfig false false true true true true true false true true false true false true true true false true 0 true true true true true ${__P(CSVFILE)} false saveConfig false false true true true true true false true true false true true true true true false true 0 true true true true true BatchTestLocal.xml true 4 ${__counter(TRUE,COUNT)} 0 Sleep_Time 100 = Sleep_Mask 0xFF = Label 0 ${COUNT} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest Sleep_Time 100 = Sleep_Mask 0xFF = Label 1 ${COUNT} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest Sleep_Time 100 = Sleep_Mask 0xFF = Label 2 ${COUNT} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest Sleep_Time 100 = Sleep_Mask 0xFF = Label 3 ${COUNT} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest false 1 1 1 1226668173000 1226668173000 false continue NAME USER1 false Sleep_Time 100 = Sleep_Mask 0xFF = Label NAME ${NAME} = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest false saveConfig false false true true true true true false true true true true false true true true false true 0 true true true true true ${__P(CSVFILE)} false saveConfig false true true true true true true false true true false false false false false false false false 0 Once Only Controller tests false 3 1 1 1242238972000 1242238972000 false continue Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest true 3 Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest Does not work currently - should only run once, as SC should be ignored Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest false saveConfig false false true true true true true false true true false true false true true true false true 0 true true true true true ${__P(CSVFILE)} false saveConfig false false true true true true true false true true false true true true true true false true 0 true true true true true BatchTestLocal.xml false saveConfig true true true true true true true false true true false false true false false false false false 0 true false saveConfig true true true true true true true false true true false false true false false false false false 0 true false 0 1 1 1242238814000 1242238814000 false continue Just in case Thread Group runs 2 2 continue false 1 1 1 1296159999000 1296159999000 false Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest false saveConfig false false true true true true true false true true false true false true true true false true 0 true true true true true ${__P(CSVFILE)} false saveConfig false false true true true true true false true true false true true true true true false true 0 true true true true true BatchTestLocal.xml continue false 1 1 1 1296160031000 1296160031000 false Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest false saveConfig false false true true true true true false true true false true false true true true false true 0 true true true true true ${__P(CSVFILE)} false saveConfig false false true true true true true false true true false true true true true true false true 0 true true true true true BatchTestLocal.xml , BatchTestLocal.txt false true All threads false CSV_VAR continue false 4 1 1 1296160584000 1296160584000 false Sleep_Time 100 = Sleep_Mask 0xFF = Label = ResponseCode 200 = ResponseMessage OK = Status OK = SamplerData = ResultData = org.apache.jmeter.protocol.java.test.JavaTest false saveConfig false false true true true true true false true true false true false true true true false true 0 true true true true true ${__P(CSVFILE)} false saveConfig false false true true true true true false true true false true true true true true false true 0 true true true true true BatchTestLocal.xml continue false 3 1 1 1316002322000 1316002322000 false SampleResult.setSampleLabel("BSH Counter: ${__counter(FALSE)}"); false false saveConfig false false true true true true true false true true false true true true true true false true 0 true true true true true BatchTestLocal.xml false saveConfig false false true true true true true false true true false true false true true true false true 0 true true true true true ${__P(CSVFILE)} false saveConfig true true true true true true true false true true false false true false false false false false 0 true