55 <elementProp name =" TestPlan.user_defined_variables" elementType =" Arguments" guiclass =" ArgumentsPanel" testclass =" Arguments" testname =" User Defined Variables" >
66 <collectionProp name =" Arguments.arguments" />
77 </elementProp >
8- <boolProp name =" TestPlan.functional_mode" >false</boolProp >
9- <boolProp name =" TestPlan.serialize_threadgroups" >false</boolProp >
108 </TestPlan >
119 <hashTree >
1210 <ThreadGroup guiclass =" ThreadGroupGui" testclass =" ThreadGroup" testname =" Thread Group" >
@@ -102,7 +100,9 @@ writer = new PrintStream(new File(vars.get("BaseDirectory") + "co
102100
103101writer.println(" CHILD_ADDRESS_LINE_1,CHILD_ADDRESS_LINE_2,CHILD_POSTCODE,CHILD_TOWN,CHILD_PREFERRED_GIVEN_NAME,CHILD_DATE_OF_BIRTH,CHILD_FIRST_NAME,CHILD_LAST_NAME,CHILD_NHS_NUMBER,PARENT_1_EMAIL,PARENT_1_NAME,PARENT_1_PHONE,PARENT_1_RELATIONSHIP,PARENT_2_EMAIL,PARENT_2_NAME,PARENT_2_PHONE,PARENT_2_RELATIONSHIP,CHILD_SCHOOL_URN" )
104102
105- for(outrow=1;outrow< 21;outrow++){
103+ rowcount=vars.get(" RowCount" ).toInteger()
104+
105+ for(outrow=1;outrow< =rowcount;outrow++){
106106vars.put(" CHILD_ADDRESS_LINE_1" ,r.nextInt(100000).toString() + " " + CHILD_ADDRESS_LINE_1.get(r.nextInt(CHILD_ADDRESS_LINE_1.size())).tokenize(' ' )[-2] + " " + CHILD_ADDRESS_LINE_1.get(r.nextInt(CHILD_ADDRESS_LINE_1.size())).tokenize(' ' ).last())
107107vars.put(" CHILD_ADDRESS_LINE_2" ,CHILD_ADDRESS_LINE_2.get(r.nextInt(CHILD_ADDRESS_LINE_2.size())).tokenize(' ' ).first() + " " + CHILD_ADDRESS_LINE_2.get(r.nextInt(CHILD_ADDRESS_LINE_2.size())).tokenize(' ' ).last())
108108vars.put(" CHILD_POSTCODE" ,CHILD_POSTCODE.get(r.nextInt(CHILD_POSTCODE.size())).tokenize(' ' ).first() + " " + CHILD_POSTCODE.get(r.nextInt(CHILD_POSTCODE.size())).tokenize(' ' ).last())
@@ -146,14 +146,8 @@ writer.close();</stringProp>
146146 <stringProp name =" scriptLanguage" >groovy</stringProp >
147147 </JSR223Sampler >
148148 <hashTree />
149- <DebugSampler guiclass =" TestBeanGUI" testclass =" DebugSampler" testname =" Debug Sampler" enabled =" true" >
150- <boolProp name =" displayJMeterProperties" >false</boolProp >
151- <boolProp name =" displayJMeterVariables" >true</boolProp >
152- <boolProp name =" displaySystemProperties" >false</boolProp >
153- </DebugSampler >
154- <hashTree />
155149 </hashTree >
156- <Arguments guiclass =" ArgumentsPanel" testclass =" Arguments" testname =" User Defined Variables" enabled = " true " >
150+ <Arguments guiclass =" ArgumentsPanel" testclass =" Arguments" testname =" User Defined Variables" >
157151 <collectionProp name =" Arguments.arguments" >
158152 <elementProp name =" BaseDirectory" elementType =" Argument" >
159153 <stringProp name =" Argument.name" >BaseDirectory</stringProp >
@@ -170,10 +164,15 @@ writer.close();</stringProp>
170164 <stringProp name =" Argument.value" >${__P(URN, 114624)}</stringProp >
171165 <stringProp name =" Argument.metadata" >=</stringProp >
172166 </elementProp >
167+ <elementProp name =" RowCount" elementType =" Argument" >
168+ <stringProp name =" Argument.name" >RowCount</stringProp >
169+ <stringProp name =" Argument.value" >${__P(RowCount,1000)}</stringProp >
170+ <stringProp name =" Argument.metadata" >=</stringProp >
171+ </elementProp >
173172 </collectionProp >
174173 </Arguments >
175174 <hashTree />
176- <ResultCollector guiclass =" ViewResultsFullVisualizer" testclass =" ResultCollector" testname =" View Results Tree" enabled = " true " >
175+ <ResultCollector guiclass =" ViewResultsFullVisualizer" testclass =" ResultCollector" testname =" View Results Tree" >
177176 <boolProp name =" ResultCollector.error_logging" >false</boolProp >
178177 <objProp >
179178 <name >saveConfig</name >
0 commit comments