9696URN ${__P(URN, 137390)} </stringProp >
9797 </Arguments >
9898 <hashTree />
99- <ConfigTestElement guiclass =" HttpDefaultsGui" testclass =" ConfigTestElement" testname =" HTTP Request Defaults" enabled = " true " >
99+ <ConfigTestElement guiclass =" HttpDefaultsGui" testclass =" ConfigTestElement" testname =" HTTP Request Defaults" >
100100 <stringProp name =" HTTPSampler.domain" >${BaseURL}</stringProp >
101101 <stringProp name =" HTTPSampler.protocol" >https</stringProp >
102102 <elementProp name =" HTTPsampler.Arguments" elementType =" Arguments" guiclass =" HTTPArgumentsPanel" testclass =" Arguments" testname =" User Defined Variables" >
@@ -172,7 +172,7 @@ log.info(vars.get("AddNewSession"))
172172 <boolProp name =" IfController.useExpression" >true</boolProp >
173173 </IfController >
174174 <hashTree >
175- <ModuleController guiclass =" ModuleControllerGui" testclass =" ModuleController" testname =" Add New Session" enabled = " true " >
175+ <ModuleController guiclass =" ModuleControllerGui" testclass =" ModuleController" testname =" Add New Session" >
176176 <collectionProp name =" ModuleController.node_path" >
177177 <stringProp name =" 764597751" >Test Plan</stringProp >
178178 <stringProp name =" 764597751" >Test Plan</stringProp >
@@ -665,7 +665,7 @@ log.info("number of patients per Vaccine required: " + props.get("
665665 </BoundaryExtractor >
666666 <hashTree />
667667 </hashTree >
668- <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" Reset session ID list" >
668+ <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" Reset session ID list" enabled = " true " >
669669 <stringProp name =" scriptLanguage" >groovy</stringProp >
670670 <stringProp name =" parameters" ></stringProp >
671671 <stringProp name =" filename" ></stringProp >
@@ -677,7 +677,7 @@ log.info("number of patients per Vaccine required: " + props.get("
677677 <stringProp name =" LoopController.loops" >4</stringProp >
678678 </LoopController >
679679 <hashTree >
680- <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" Move page range" >
680+ <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" Move page range" enabled = " true " >
681681 <stringProp name =" scriptLanguage" >groovy</stringProp >
682682 <stringProp name =" parameters" ></stringProp >
683683 <stringProp name =" filename" ></stringProp >
@@ -711,7 +711,7 @@ vars.put("SessionPage",(vars.get("__jm__SessionPageLoop__idx"
711711 <stringProp name =" script" >prev.setIgnore()</stringProp >
712712 </JSR223PostProcessor >
713713 <hashTree />
714- <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get all session ID' s" >
714+ <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get all session ID' s" enabled = " true " >
715715 <stringProp name =" RegexExtractor.useHeaders" >false</stringProp >
716716 <stringProp name =" RegexExtractor.refname" >PageSessionID</stringProp >
717717 <stringProp name =" RegexExtractor.regex" >sessions\/(.*?)" [\s\S]{1,500}> \d*? children[\s\S]{1,400}nhsuk-tag nhsuk-tag--white"> (.*?)< </stringProp >
@@ -748,15 +748,18 @@ if(PageIDCount>0){
748748 //Get each pageSessionID
749749 for(IDLoop=1;IDLoop< =PageIDCount;IDLoop++){
750750 //and add it to the sessionID list
751- sessionIDCount++;
752- vars.put(" SessionID_" + sessionIDCount.toString(),vars.get(" PageSessionID_" +IDLoop.toString()))
753- vars.put(" SessionID_matchNr" ,sessionIDCount.toString());
751+ //Exclude community clinic
752+ if(vars.get(" PageSessionID_" +IDLoop.toString())!=" nQiCIknnwF" ){
753+ sessionIDCount++;
754+ vars.put(" SessionID_" + sessionIDCount.toString(),vars.get(" PageSessionID_" +IDLoop.toString()))
755+ vars.put(" SessionID_matchNr" ,sessionIDCount.toString());
756+ }
754757 }
755758}
756759</stringProp >
757760 </JSR223Sampler >
758761 <hashTree >
759- <JSR223PostProcessor guiclass =" TestBeanGUI" testclass =" JSR223PostProcessor" testname =" Set Ignore" >
762+ <JSR223PostProcessor guiclass =" TestBeanGUI" testclass =" JSR223PostProcessor" testname =" Set Ignore" enabled = " true " >
760763 <stringProp name =" scriptLanguage" >groovy</stringProp >
761764 <stringProp name =" parameters" ></stringProp >
762765 <stringProp name =" filename" ></stringProp >
@@ -791,14 +794,14 @@ without actual network activity. This helps debugging tests.</stringProp>
791794 </JSR223PreProcessor >
792795 <hashTree />
793796 </hashTree >
794- <ForeachController guiclass =" ForeachControlPanel" testclass =" ForeachController" testname =" ForEach Controller" >
797+ <ForeachController guiclass =" ForeachControlPanel" testclass =" ForeachController" testname =" ForEach Controller" enabled = " true " >
795798 <stringProp name =" ForeachController.inputVal" >SessionID</stringProp >
796799 <stringProp name =" ForeachController.returnVal" >CurrentSessionID</stringProp >
797800 <boolProp name =" ForeachController.useSeparator" >true</boolProp >
798801 <stringProp name =" TestPlan.comments" >Go through each session, but only set sessions active and download offline files if the vaccination count is still positive</stringProp >
799802 </ForeachController >
800803 <hashTree >
801- <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" JSR223 Sampler" >
804+ <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" JSR223 Sampler" enabled = " true " >
802805 <stringProp name =" scriptLanguage" >groovy</stringProp >
803806 <stringProp name =" parameters" ></stringProp >
804807 <stringProp name =" filename" ></stringProp >
@@ -866,7 +869,7 @@ without actual network activity. This helps debugging tests.</stringProp>
866869 <intProp name =" Assertion.test_type" >16</intProp >
867870 </ResponseAssertion >
868871 <hashTree />
869- <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get Programme" >
872+ <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get Programme" enabled = " true " >
870873 <stringProp name =" RegexExtractor.useHeaders" >false</stringProp >
871874 <stringProp name =" RegexExtractor.refname" >Programme</stringProp >
872875 <stringProp name =" RegexExtractor.regex" >< h3 class=" nhsuk-heading-m nhsuk-u-margin-bottom-2"> \n *(.*?)\n *< \/h3> </stringProp >
@@ -882,7 +885,7 @@ JSR223 Sampler: HPV
882885</stringProp >
883886 </RegexExtractor >
884887 <hashTree />
885- <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get Consent Counts" >
888+ <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Get Consent Counts" enabled = " true " >
886889 <stringProp name =" RegexExtractor.useHeaders" >false</stringProp >
887890 <stringProp name =" RegexExtractor.refname" >ConsentCount</stringProp >
888891 <stringProp name =" RegexExtractor.regex" >no_response"> (\d*?) </stringProp >
@@ -892,7 +895,7 @@ JSR223 Sampler: HPV
892895 <stringProp name =" RegexExtractor.match_number" >1</stringProp >
893896 </RegexExtractor >
894897 <hashTree />
895- <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Check for ' no sessions scheduled' " >
898+ <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" Check for ' no sessions scheduled' " enabled = " true " >
896899 <stringProp name =" RegexExtractor.useHeaders" >false</stringProp >
897900 <stringProp name =" RegexExtractor.refname" >noSessions</stringProp >
898901 <stringProp name =" RegexExtractor.regex" >< strong class=" nhsuk-tag nhsuk-tag--purple"> (.*?)< /strong>< /p> </stringProp >
@@ -1013,7 +1016,7 @@ JSR223 Sampler: HPV
10131016 <boolProp name =" displaySystemProperties" >false</boolProp >
10141017 </DebugSampler >
10151018 <hashTree />
1016- <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" Determine whether the session is needed" >
1019+ <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" Determine whether the session is needed" enabled = " true " >
10171020 <stringProp name =" scriptLanguage" >groovy</stringProp >
10181021 <stringProp name =" parameters" ></stringProp >
10191022 <stringProp name =" filename" ></stringProp >
@@ -1040,7 +1043,7 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower
10401043}</stringProp >
10411044 </JSR223Sampler >
10421045 <hashTree >
1043- <JSR223PostProcessor guiclass =" TestBeanGUI" testclass =" JSR223PostProcessor" testname =" Set Ignore" >
1046+ <JSR223PostProcessor guiclass =" TestBeanGUI" testclass =" JSR223PostProcessor" testname =" Set Ignore" enabled = " true " >
10441047 <stringProp name =" scriptLanguage" >groovy</stringProp >
10451048 <stringProp name =" parameters" ></stringProp >
10461049 <stringProp name =" filename" ></stringProp >
@@ -1055,15 +1058,15 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower
10551058 <boolProp name =" IfController.useExpression" >true</boolProp >
10561059 </IfController >
10571060 <hashTree >
1058- <ModuleController guiclass =" ModuleControllerGui" testclass =" ModuleController" testname =" Set session date and in progress" >
1061+ <ModuleController guiclass =" ModuleControllerGui" testclass =" ModuleController" testname =" Set session date and in progress" enabled = " true " >
10591062 <collectionProp name =" ModuleController.node_path" >
10601063 <stringProp name =" 764597751" >Test Plan</stringProp >
10611064 <stringProp name =" 764597751" >Test Plan</stringProp >
10621065 <stringProp name =" -623375371" >Set session date and in progress</stringProp >
10631066 </collectionProp >
10641067 </ModuleController >
10651068 <hashTree />
1066- <ModuleController guiclass =" ModuleControllerGui" testclass =" ModuleController" testname =" Get offline file and load into STS" >
1069+ <ModuleController guiclass =" ModuleControllerGui" testclass =" ModuleController" testname =" Get offline file and load into STS" enabled = " true " >
10671070 <collectionProp name =" ModuleController.node_path" >
10681071 <stringProp name =" 764597751" >Test Plan</stringProp >
10691072 <stringProp name =" 764597751" >Test Plan</stringProp >
@@ -1073,7 +1076,7 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower
10731076 <hashTree />
10741077 </hashTree >
10751078 </hashTree >
1076- <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" Check and alert for sufficient data" >
1079+ <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" Check and alert for sufficient data" enabled = " true " >
10771080 <stringProp name =" scriptLanguage" >groovy</stringProp >
10781081 <stringProp name =" parameters" ></stringProp >
10791082 <stringProp name =" filename" ></stringProp >
0 commit comments