diff --git a/performance-tests/STS/consent-journey.jmx b/performance-tests/STS/consent-journey.jmx index 2e96f43b44e..216b86c61da 100644 --- a/performance-tests/STS/consent-journey.jmx +++ b/performance-tests/STS/consent-journey.jmx @@ -5,6 +5,8 @@ + false + false @@ -55,7 +57,7 @@ Threads - ${__P(Threads, 140)} + ${__P(Threads, 70)} = @@ -84,7 +86,7 @@ URN ${__P(URN, 137390)} - + qa.mavistesting.com https @@ -117,7 +119,7 @@ URN ${__P(URN, 137390)} false - + Because I'm no longer using a data file, this set up thread group can be here purely to set up sessions and data 1 1 @@ -394,11 +396,11 @@ for(loop=1;loop<=vaccineCount;loop++){ - + 3 - + groovy @@ -496,7 +498,7 @@ log.info(vars.get("ConsentSession")); - + true true 6 @@ -570,7 +572,7 @@ log.info(vars.get("ConsentSession")); - + true true 6 @@ -643,7 +645,7 @@ log.info(vars.get("ConsentSession")); - + This adds tomorrow as a session date, if it already exists then it will intentionally fail true true @@ -767,7 +769,7 @@ vars.put("postbody",postbody); - + sec-ch-ua @@ -914,7 +916,7 @@ vars.put("postbody",postbody); - + groovy @@ -973,7 +975,7 @@ log.info("For thread " + Threadnum.toString() + " session ID is & - + groovy @@ -1178,7 +1180,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo - + While there is only one patient list for consents, I'm applying consent for all programmes and ignoring the programme value in the STS file localhost 9191 @@ -1193,7 +1195,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo - + false CHILD_FIRST_NAME <body>(.*?), @@ -1203,7 +1205,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false CHILD_LAST_NAME <body>.*?,(.*?), @@ -1213,7 +1215,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false CHILD_DATE_OF_BIRTH <body>.*?,.*?,(.*?), @@ -1223,7 +1225,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false CHILD_ADDRESS_LINE_1 <body>.*?,.*?,.*?,(.*?), @@ -1233,7 +1235,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false CHILD_POSTCODE <body>.*?,.*?,.*?,.*?,(.*?), @@ -1243,7 +1245,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false PARENT_1_NAME <body>.*?,.*?,.*?,.*?,.*?,.*?,(.*?), @@ -1253,7 +1255,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false PARENT_1_RELATIONSHIP <body>.*?,.*?,.*?,.*?,.*?,.*?,.*?,(.*?), @@ -1263,7 +1265,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false PARENT_1_EMAIL <body>.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,(.*?), @@ -1273,7 +1275,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false Programme <body>.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,(.*?), @@ -1283,7 +1285,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false SessionID <body>.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,(.*?)< @@ -1293,7 +1295,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + false Result <html><title>(.*?)</title> @@ -1303,7 +1305,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo 1 - + true @@ -1312,7 +1314,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo - + ${__jexl3("${Result}" == "KO")} false true @@ -1334,7 +1336,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo - + Test Plan Test Plan @@ -1343,13 +1345,13 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo - + 9191 true C:\apache-jmeter-5.6.3\bin - + false saveConfig @@ -1388,7 +1390,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo - + localhost 9191 http @@ -1411,7 +1413,7 @@ vars.get("VaccineCount_td_ipv",props.get("VaccineCount_td_ipv&quo - + localhost 9191 http @@ -1459,7 +1461,7 @@ log.info("number of patients per Vaccine required: " + props.get(" - + localhost 9191 http @@ -1482,7 +1484,7 @@ log.info("number of patients per Vaccine required: " + props.get(" - + localhost 9191 http @@ -1626,7 +1628,7 @@ log.info("number of patients per Vaccine required: " + props.get(" - + sessions true GET @@ -1637,7 +1639,7 @@ log.info("number of patients per Vaccine required: " + props.get(" - + groovy @@ -1645,7 +1647,7 @@ log.info("number of patients per Vaccine required: " + props.get(" prev.setIgnore() - + false SessionID sessions\/(.*?)"[\s\S]{1,500}>\d*? children[\s\S]{1,400}nhsuk-tag nhsuk-tag--white">(.*?)< @@ -1683,7 +1685,7 @@ without actual network activity. This helps debugging tests. org.apache.jmeter.samplers.SampleResult - + groovy @@ -1692,14 +1694,14 @@ without actual network activity. This helps debugging tests. - + SessionID CurrentSessionID true Go through each session, but only set sessions active and download offline files if the vaccination count is still positive - + groovy @@ -1707,7 +1709,7 @@ without actual network activity. This helps debugging tests. log.info("Currently working with " + vars.get("CurrentSessionID")) - + true true 6 @@ -1738,7 +1740,7 @@ without actual network activity. This helps debugging tests. - + false Authenticity_Token name="authenticity_token" value="(.*?)" @@ -1748,7 +1750,7 @@ without actual network activity. This helps debugging tests. 1 - + Manage vaccinations in schools</title> @@ -1758,10 +1760,10 @@ without actual network activity. This helps debugging tests. 16 - + false Programme - class="nhsuk-caption-l.*?\n *([a-zA-Z]*) + <h3 class="nhsuk-heading-m nhsuk-u-margin-bottom-2">\n *(.*?)\n *<\/h3> $1$ ProgrammeNotFound false @@ -1774,7 +1776,7 @@ JSR223 Sampler: HPV - + false ConsentCount no_response">(\d*?) @@ -1784,7 +1786,7 @@ JSR223 Sampler: HPV 1 - + false noSessions <strong class="nhsuk-tag nhsuk-tag--purple">(.*?)</strong></p> @@ -1794,7 +1796,7 @@ JSR223 Sampler: HPV 1 - + groovy @@ -1803,13 +1805,13 @@ JSR223 Sampler: HPV - + true true false - + groovy @@ -1836,7 +1838,7 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower } - + groovy @@ -1845,13 +1847,13 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower - + ${__jexl3("${ViableSession}"=="True")} false true - + Test Plan Test Plan @@ -1859,7 +1861,7 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower - + Test Plan Test Plan @@ -1872,7 +1874,7 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower - + true true 6 @@ -1913,7 +1915,7 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower 1 - + <title>Edit session – Manage vaccinations in schools</title> @@ -1924,7 +1926,7 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower - + true true 6 @@ -1998,7 +2000,7 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower - + true true 6 @@ -2018,7 +2020,7 @@ if(props.get("VaccineCount_" + vars.get("Programme").toLower - + groovy @@ -2092,7 +2094,7 @@ vars.put("sessionDatesArray",fullArray) - + This adds tomorrow as a session date, if it already exists then it will intentionally fail true true @@ -2113,7 +2115,7 @@ vars.put("sessionDatesArray",fullArray) - + groovy @@ -2220,19 +2222,19 @@ vars.put("postbody",postbody); - + ${__jexl3("${DateAlreadyUsed}" == "noError")} false true - + ${__jexl3("${ImportedRecords}" == "Have you imported")} false true - + true true 6 @@ -2295,7 +2297,7 @@ vars.put("postbody",postbody); - + true true 6 @@ -2348,11 +2350,11 @@ vars.put("postbody",postbody); - + false - + sessions true GET @@ -2363,7 +2365,7 @@ vars.put("postbody",postbody); - + true true 6 @@ -2425,7 +2427,7 @@ vars.put("postbody",postbody); - + sessions/${CurrentSessionID}/make-in-progress true POST @@ -2503,7 +2505,7 @@ switch(Threadnum%3){ log.info("For thread " + Threadnum.toString() + " session ID is " + vars.get("SessionId")); - + true @@ -2512,7 +2514,7 @@ log.info("For thread " + Threadnum.toString() + " session ID is & - + sessions/${CurrentSessionID} true GET @@ -2523,7 +2525,7 @@ log.info("For thread " + Threadnum.toString() + " session ID is & - + sessions/${CurrentSessionID}.xlsx true GET @@ -2534,7 +2536,7 @@ log.info("For thread " + Threadnum.toString() + " session ID is & - + groovy @@ -2624,7 +2626,7 @@ props.put(sessionProgramme,((props.get(sessionProgramme).toInteger()-consentCoun - + true @@ -2633,13 +2635,13 @@ props.put(sessionProgramme,((props.get(sessionProgramme).toInteger()-consentCoun - + consent currentConsent true - + localhost 9191 http @@ -2675,7 +2677,7 @@ props.put(sessionProgramme,((props.get(sessionProgramme).toInteger()-consentCoun - + true @@ -2685,7 +2687,7 @@ props.put(sessionProgramme,((props.get(sessionProgramme).toInteger()-consentCoun - + localhost 9191 http @@ -2711,7 +2713,7 @@ props.put(sessionProgramme,((props.get(sessionProgramme).toInteger()-consentCoun - + groovy @@ -2757,7 +2759,7 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); groovy - + true @@ -2766,18 +2768,18 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); - + ${__jexl3("${Programme}" == "flu")} false false - + true false - + true true 6 @@ -2791,7 +2793,7 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); - + sec-ch-ua @@ -2818,7 +2820,7 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); 1 - + false Authenticity_Token consents" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="(.*?)" @@ -2828,7 +2830,7 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); - + false Session_Slug <input type="hidden" name="session_slug" id="session_slug" value=" @@ -2838,7 +2840,7 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); 1 - + false Programme_Types <input type="hidden" name="programme_types" id="programme_types" value=" @@ -2848,7 +2850,7 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); 1 - + <h1 class="nhsuk-heading-xl">Give or refuse consent for vaccinations</h1> @@ -2860,12 +2862,12 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); - + true false - + true true 6 @@ -2901,7 +2903,7 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); - + sec-ch-ua @@ -2942,7 +2944,7 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); - + false ConsentId <form action="/consents/ @@ -2967,7 +2969,7 @@ vars.put("SchoolYear", String.valueOf(schoolYear)); - + true true 6 @@ -3896,7 +3898,7 @@ vars.put("question_number",questionNumber.toString()) - + groovy @@ -3987,18 +3989,18 @@ vars.put("Authenticity_Token",vars.get("Confirm_Authenticity_Toke - + ${__jexl3("${Programme}" == "hpv")} false false - + true false - + true true 6 @@ -5113,18 +5115,18 @@ vars.put("Authenticity_Token",vars.get("Confirm_Authenticity_Toke - + ${__jexl3("${Programme}" == "menacwy")} false false - + true false - + true true 6 @@ -5195,7 +5197,7 @@ vars.put("Authenticity_Token",vars.get("Confirm_Authenticity_Toke 1 - + <h1 class="nhsuk-heading-xl">Give or refuse consent for vaccinations</h1> @@ -5207,12 +5209,12 @@ vars.put("Authenticity_Token",vars.get("Confirm_Authenticity_Toke - + true false - + true true 6 @@ -5897,12 +5899,12 @@ else - + true false - + true true 6 @@ -6016,7 +6018,7 @@ else - + This transaction controller starts with an authenticity token from the previous request, and question_number of 0. The request for health-question needs to increment question_number and loop until the title is; <title>Check and confirm – Give or refuse consent for vaccinations</title> @@ -6158,7 +6160,7 @@ vars.put("Authenticity_Token",vars.get("Confirm_Authenticity_Toke - + true false