diff --git a/performance-tests/STS/nurse-journey.jmx b/performance-tests/STS/nurse-journey.jmx index ee3d757c74c..868d46c3c59 100644 --- a/performance-tests/STS/nurse-journey.jmx +++ b/performance-tests/STS/nurse-journey.jmx @@ -156,7 +156,7 @@ ${__P(AuthToken,bWFuYWdlOnZhY2NpbmF0aW9ucw==)} - + true true 6 @@ -236,7 +236,7 @@ log.info(vars.get("User")) log.info(vars.get("BaseURL")) - + Test Plan Mavis_NURSE - 4.4.0 @@ -304,7 +304,7 @@ log.info(vars.get("BaseURL")) - + 9191 true C:\apache-jmeter-5.6.3\bin @@ -312,7 +312,7 @@ log.info(vars.get("BaseURL")) - + groovy @@ -334,7 +334,7 @@ props.put("VaccineCount_td_ipv","0") - + localhost 9191 http @@ -380,7 +380,7 @@ props.put("VaccineCount_td_ipv","0") - + start true GET @@ -391,7 +391,7 @@ props.put("VaccineCount_td_ipv","0") - + groovy @@ -521,7 +521,7 @@ props.put("VaccineCount_td_ipv","0") - + (assuming they all fit on one page) sessions?q=&%5Bprogrammes%5D%5B%5D=&status=scheduled&type=school true @@ -553,7 +553,7 @@ props.put("VaccineCount_td_ipv","0") -1 - + groovy @@ -562,13 +562,13 @@ props.put("VaccineCount_td_ipv","0") - + SessionID CurrentSessionID true - + sessions/${CurrentSessionID} true GET @@ -594,7 +594,7 @@ props.put("VaccineCount_td_ipv","0") false - + sessions/${CurrentSessionID}.xlsx true GET @@ -605,7 +605,7 @@ props.put("VaccineCount_td_ipv","0") - + groovy @@ -682,7 +682,7 @@ log.info("After sessionID : " + vars.get("CurrentSessionID") - + vaccination currentVaccination true @@ -724,7 +724,7 @@ log.info("After sessionID : " + vars.get("CurrentSessionID") - + groovy @@ -757,7 +757,7 @@ while(vars.get("vaccination_" + i)){ - + localhost 9191 http @@ -771,7 +771,7 @@ while(vars.get("vaccination_" + i)){ - + true @@ -804,7 +804,7 @@ while(vars.get("vaccination_" + i)){ - + false true 200 @@ -820,7 +820,7 @@ without actual network activity. This helps debugging tests. org.apache.jmeter.samplers.SampleResult - + groovy @@ -1621,7 +1621,7 @@ vars.put("vaccineCount",vaccineCount.toString()) - + //From Flu it's 'Consent given for nasal spray' //From others it's 'Consent given' @@ -2759,13 +2759,15 @@ if(vars.get("BatchId")=="BatchId_NotFound"){ - + 1 1 + ${Duration} true + true continue - 1 + -1 false @@ -3047,8 +3049,8 @@ if(vars.get("BatchId")=="BatchId_NotFound"){ - - patients?q=${CHILD_FIRST_NAME}+${${CHILD_FIRST_NAME}}&%5Bconsent_statuses%5D%5B%5D=&triage_status=&vaccination_status=&%5Byear_groups%5D%5B%5D=&date_of_birth_day=&date_of_birth_month=&date_of_birth_year=&archived=0&missing_nhs_number=0&aged_out_of_programmes=0 + + patients?q=${CHILD_FIRST_NAME}+${CHILD_FIRST_NAME}&%5Bconsent_statuses%5D%5B%5D=&triage_status=&vaccination_status=&%5Byear_groups%5D%5B%5D=&date_of_birth_day=&date_of_birth_month=&date_of_birth_year=&archived=0&missing_nhs_number=0&aged_out_of_programmes=0 true GET true @@ -3063,7 +3065,7 @@ if(vars.get("BatchId")=="BatchId_NotFound"){ - + patients?q=&%5Bconsent_statuses%5D%5B%5D=&consent_statuses%5B%5D=no_response&triage_status=&vaccination_status=&%5Byear_groups%5D%5B%5D=&date_of_birth_day=&date_of_birth_month=&date_of_birth_year=&archived=0&missing_nhs_number=0&aged_out_of_programmes=0 true GET @@ -3079,8 +3081,40 @@ if(vars.get("BatchId")=="BatchId_NotFound"){ - - patients?q=${CHILD_FIRST_NAME}+${${CHILD_FIRST_NAME}}&%5Bconsent_statuses%5D%5B%5D=&triage_status=&vaccination_status=&%5Byear_groups%5D%5B%5D=&date_of_birth_day=&date_of_birth_month=&date_of_birth_year=&archived=0&missing_nhs_number=0&aged_out_of_programmes=0 + + patients?q=&%5Bconsent_statuses%5D%5B%5D=&triage_status=safe_to_vaccinate&vaccination_status=&%5Byear_groups%5D%5B%5D=&date_of_birth_day=&date_of_birth_month=&date_of_birth_year=&archived=0&missing_nhs_number=0&aged_out_of_programmes=0 + true + GET + true + false + + + + + + + ${__Random(3000,5000,)} + + + + + patients?q=&%5Bconsent_statuses%5D%5B%5D=&triage_status=&vaccination_status=due&%5Byear_groups%5D%5B%5D=&date_of_birth_day=&date_of_birth_month=&date_of_birth_year=&archived=0&missing_nhs_number=0&aged_out_of_programmes=0 + true + GET + true + false + + + + + + + ${__Random(3000,5000,)} + + + + + patients?q=&%5Bconsent_statuses%5D%5B%5D=&triage_status=&vaccination_status=&%5Byear_groups%5D%5B%5D=&year_groups%5B%5D=10&year_groups%5B%5D=11&date_of_birth_day=&date_of_birth_month=&date_of_birth_year=&archived=0&missing_nhs_number=0&aged_out_of_programmes=0 true GET true @@ -3099,11 +3133,11 @@ if(vars.get("BatchId")=="BatchId_NotFound"){ - + ${__jexl3("${responseCode}"!="200")} - + localhost 9191 http @@ -3117,7 +3151,7 @@ if(vars.get("BatchId")=="BatchId_NotFound"){ - + groovy @@ -3125,7 +3159,7 @@ if(vars.get("BatchId")=="BatchId_NotFound"){ vars.put("responseCode","goNoFurtherYet") - + groovy @@ -3144,7 +3178,7 @@ log.info("Response code is " + vars.get("responseCode")); - + 1000