55 <elementProp name =" TestPlan.user_defined_variables" elementType =" Arguments" guiclass =" ArgumentsPanel" testclass =" Arguments" >
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 <HeaderManager guiclass =" HeaderPanel" testclass =" HeaderManager" testname =" HTTP Header manager" >
3432 </collectionProp >
3533 </HeaderManager >
3634 <hashTree />
37- <com .blazemeter.jmeter.RandomCSVDataSetConfig guiclass =" com.blazemeter.jmeter.RandomCSVDataSetConfigGui" testclass =" com.blazemeter.jmeter.RandomCSVDataSetConfig" testname =" Cohort Data CSV Feeder" enabled =" false" >
38- <stringProp name =" filename" >${InputFile}</stringProp >
39- <stringProp name =" fileEncoding" >UTF-8</stringProp >
40- <stringProp name =" delimiter" >,</stringProp >
41- <stringProp name =" variableNames" ></stringProp >
42- <boolProp name =" randomOrder" >false</boolProp >
43- <boolProp name =" ignoreFirstLine" >true</boolProp >
44- <boolProp name =" rewindOnTheEndOfList" >true</boolProp >
45- <boolProp name =" independentListPerThread" >true</boolProp >
46- </com .blazemeter.jmeter.RandomCSVDataSetConfig>
47- <hashTree />
48- <CSVDataSet guiclass =" TestBeanGUI" testclass =" CSVDataSet" testname =" CSV Data Set Config" enabled =" true" >
35+ <CSVDataSet guiclass =" TestBeanGUI" testclass =" CSVDataSet" testname =" CSV Data Set Config" >
4936 <stringProp name =" delimiter" >,</stringProp >
5037 <stringProp name =" fileEncoding" >UTF-8</stringProp >
5138 <stringProp name =" filename" >${BaseDirectory}${InputFile}</stringProp >
5744 <stringProp name =" variableNames" ></stringProp >
5845 </CSVDataSet >
5946 <hashTree />
60- <Arguments guiclass =" ArgumentsPanel" testclass =" Arguments" testname =" User Defined Variables" enabled = " false " >
47+ <Arguments guiclass =" ArgumentsPanel" testclass =" Arguments" testname =" User Defined Variables" >
6148 <collectionProp name =" Arguments.arguments" >
6249 <elementProp name =" AuthToken" elementType =" Argument" >
6350 <stringProp name =" Argument.name" >AuthToken</stringProp >
10794 </collectionProp >
10895 </Arguments >
10996 <hashTree />
110- <Arguments guiclass =" ArgumentsPanel" testclass =" Arguments" testname =" User Defined Variables standalone" >
97+ <Arguments guiclass =" ArgumentsPanel" testclass =" Arguments" testname =" User Defined Variables standalone" enabled = " false " >
11198 <collectionProp name =" Arguments.arguments" >
11299 <elementProp name =" AuthToken" elementType =" Argument" >
113100 <stringProp name =" Argument.name" >AuthToken</stringProp >
354341 </RegexExtractor >
355342 <hashTree />
356343 </hashTree >
357- <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" Sessions page" enabled = " true " >
344+ <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" Sessions page" >
358345 <stringProp name =" HTTPSampler.path" >sessions</stringProp >
359346 <boolProp name =" HTTPSampler.follow_redirects" >true</boolProp >
360347 <stringProp name =" HTTPSampler.method" >GET</stringProp >
393380 <stringProp name =" scriptLanguage" >groovy</stringProp >
394381 </JSR223PostProcessor >
395382 <hashTree />
396- <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get all session ID' s" >
383+ <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get all session ID' s" enabled = " true " >
397384 <stringProp name =" RegexExtractor.useHeaders" >false</stringProp >
398385 <stringProp name =" RegexExtractor.refname" >SessionID</stringProp >
399386 <stringProp name =" RegexExtractor.regex" >sessions\/(.*?)" [\s\S]{1,400}nhsuk-tag nhsuk-tag--white"> (.*?)< </stringProp >
403390 <stringProp name =" RegexExtractor.match_number" >-1</stringProp >
404391 </RegexExtractor >
405392 <hashTree />
406- <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get all vaccines" >
393+ <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get all vaccines" enabled = " true " >
407394 <stringProp name =" RegexExtractor.useHeaders" >false</stringProp >
408395 <stringProp name =" RegexExtractor.refname" >SessionVaccine</stringProp >
409396 <stringProp name =" RegexExtractor.regex" >sessions\/(.*?)" [\s\S]{1,400}nhsuk-tag nhsuk-tag--white"> (.*?)< </stringProp >
@@ -428,22 +415,22 @@ for(loop=1;loop<=vaccineCount;loop++){
428415 if(vars.get(" SessionVaccine_" + loop)==" Td/IPV" ){
429416 vars.put(" SessionVaccine_" + loop," MenACWY" )
430417 }
431- vars.put(" VaccineSession_ " + vars.get(" SessionVaccine_" + loop),vars.get(" SessionID_" + loop))
432- props.put(" VaccineSession_ " + vars.get(" SessionVaccine_" + loop),vars.get(" SessionID_" + loop))
418+ vars.put(" ConsentSession_ " + vars.get(" SessionVaccine_" + loop),vars.get(" SessionID_" + loop))
419+ props.put(" ConsentSession_ " + vars.get(" SessionVaccine_" + loop),vars.get(" SessionID_" + loop))
433420 log.info(vars.get(" SessionID_" + loop))
434421 }
435422}
436423</stringProp >
437424 </JSR223Sampler >
438425 <hashTree />
439- <DebugSampler guiclass =" TestBeanGUI" testclass =" DebugSampler" testname =" Debug Sampler" enabled = " true " >
426+ <DebugSampler guiclass =" TestBeanGUI" testclass =" DebugSampler" testname =" Debug Sampler" >
440427 <boolProp name =" displayJMeterProperties" >false</boolProp >
441428 <boolProp name =" displayJMeterVariables" >true</boolProp >
442429 <boolProp name =" displaySystemProperties" >false</boolProp >
443430 </DebugSampler >
444431 <hashTree />
445432 </hashTree >
446- <LoopController guiclass =" LoopControlPanel" testclass =" LoopController" testname =" vaccineLoop" >
433+ <LoopController guiclass =" LoopControlPanel" testclass =" LoopController" testname =" vaccineLoop" enabled = " true " >
447434 <stringProp name =" LoopController.loops" >3</stringProp >
448435 </LoopController >
449436 <hashTree >
@@ -473,11 +460,11 @@ switch(loop){
473460log.info(props.get(" ConsentSession" ));</stringProp >
474461 </JSR223Sampler >
475462 <hashTree />
476- <TransactionController guiclass =" TransactionControllerGui" testclass =" TransactionController" testname =" Open Sessions List" enabled = " true " >
463+ <TransactionController guiclass =" TransactionControllerGui" testclass =" TransactionController" testname =" Open Sessions List" >
477464 <boolProp name =" TransactionController.includeTimers" >false</boolProp >
478465 </TransactionController >
479466 <hashTree >
480- <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" Sessions list" enabled = " true " >
467+ <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" Sessions list" >
481468 <stringProp name =" HTTPSampler.path" >sessions</stringProp >
482469 <boolProp name =" HTTPSampler.follow_redirects" >true</boolProp >
483470 <stringProp name =" HTTPSampler.method" >GET</stringProp >
@@ -500,11 +487,11 @@ log.info(props.get("ConsentSession"));</stringProp>
500487 <hashTree />
501488 </hashTree >
502489 </hashTree >
503- <TransactionController guiclass =" TransactionControllerGui" testclass =" TransactionController" testname =" Edit session" enabled = " true " >
490+ <TransactionController guiclass =" TransactionControllerGui" testclass =" TransactionController" testname =" Edit session" >
504491 <boolProp name =" TransactionController.includeTimers" >false</boolProp >
505492 </TransactionController >
506493 <hashTree >
507- <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" Session Edit ${ConsentSession}" enabled = " true " >
494+ <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" Session Edit ${ConsentSession}" >
508495 <boolProp name =" HTTPSampler.image_parser" >true</boolProp >
509496 <boolProp name =" HTTPSampler.concurrentDwn" >true</boolProp >
510497 <intProp name =" HTTPSampler.concurrentPool" >6</intProp >
@@ -556,7 +543,7 @@ log.info(props.get("ConsentSession"));</stringProp>
556543 </ResponseAssertion >
557544 <hashTree />
558545 </hashTree >
559- <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" Session Dates" enabled = " true " >
546+ <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" Session Dates" >
560547 <boolProp name =" HTTPSampler.image_parser" >true</boolProp >
561548 <boolProp name =" HTTPSampler.concurrentDwn" >true</boolProp >
562549 <intProp name =" HTTPSampler.concurrentPool" >6</intProp >
@@ -945,35 +932,6 @@ import java.time.temporal.ChronoUnit;
945932import java.time.format.*;
946933
947934BufferedReader reader;
948- HashMap< String, String> cohortCodes = new HashMap< String,String> ();
949-
950- //Opens file to populate HashMap of URNs and Slug
951- /*
952- try {
953- reader = new BufferedReader(new FileReader(vars.get(" BaseDirectory" ) + vars.get(" UrnMapping" )));
954- String line = reader.readLine();
955-
956- line = reader.readLine();
957-
958- while (line != null)
959- {
960- String[] lineSplit = line.split(" ," );
961-
962- cohortCodes.put(lineSplit[1],lineSplit[0])
963-
964- line = reader.readLine();
965- }
966-
967- reader.close();
968- }
969- catch (IOException e)
970- {
971- e.printStackTrace();
972- }
973- */
974-
975- //Uses HashMap above to cross reference URN code in feeder file to use a specific slug in URL
976- //vars.put(" ConsentSession" , cohortCodes.get(vars.get(" CHILD_SCHOOL_URN" )));
977935
978936DateTimeFormatter formatter = DateTimeFormatter.ofPattern(" dd/MM/yyyy" );
979937
@@ -1006,7 +964,7 @@ props.put("Vaccinations",vars.get("Vaccinations"))
1006964 <stringProp name =" scriptLanguage" >groovy</stringProp >
1007965 </JSR223Sampler >
1008966 <hashTree >
1009- <JSR223PostProcessor guiclass =" TestBeanGUI" testclass =" JSR223PostProcessor" testname =" JSR223 PostProcessor" >
967+ <JSR223PostProcessor guiclass =" TestBeanGUI" testclass =" JSR223PostProcessor" testname =" JSR223 PostProcessor" enabled = " true " >
1010968 <stringProp name =" cacheKey" >true</stringProp >
1011969 <stringProp name =" filename" ></stringProp >
1012970 <stringProp name =" parameters" ></stringProp >
@@ -1024,7 +982,7 @@ props.put("Vaccinations",vars.get("Vaccinations"))
1024982 </ModuleController >
1025983 <hashTree />
1026984 </hashTree >
1027- <ThreadGroup guiclass =" ThreadGroupGui" testclass =" ThreadGroup" testname =" Thread Group" enabled = " false " >
985+ <ThreadGroup guiclass =" ThreadGroupGui" testclass =" ThreadGroup" testname =" Thread Group" >
1028986 <stringProp name =" ThreadGroup.num_threads" >${Threads}</stringProp >
1029987 <stringProp name =" ThreadGroup.ramp_time" >${RampUp}</stringProp >
1030988 <stringProp name =" ThreadGroup.duration" >${Duration}</stringProp >
@@ -1141,13 +1099,13 @@ vars.put("SchoolYear", String.valueOf(schoolYear));
11411099 </JSR223PostProcessor >
11421100 <hashTree />
11431101 </hashTree >
1144- <DebugSampler guiclass =" TestBeanGUI" testclass =" DebugSampler" testname =" Debug Sampler" enabled = " true " >
1102+ <DebugSampler guiclass =" TestBeanGUI" testclass =" DebugSampler" testname =" Debug Sampler" >
11451103 <boolProp name =" displayJMeterProperties" >false</boolProp >
11461104 <boolProp name =" displayJMeterVariables" >true</boolProp >
11471105 <boolProp name =" displaySystemProperties" >false</boolProp >
11481106 </DebugSampler >
11491107 <hashTree />
1150- <ModuleController guiclass =" ModuleControllerGui" testclass =" ModuleController" testname =" Submit consents" enabled = " true " >
1108+ <ModuleController guiclass =" ModuleControllerGui" testclass =" ModuleController" testname =" Submit consents" >
11511109 <collectionProp name =" ModuleController.node_path" >
11521110 <stringProp name =" 764597751" >Test Plan</stringProp >
11531111 <stringProp name =" -111960216" >Mavis_Parental</stringProp >
0 commit comments