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 30 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 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 Runs after first thread group. false 1 1 1 1194880755000 1194880755000 false continue file testfiles/BatchTestLocal.jmx GET false true true false 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