From 81295719b398c3b6308c76cd5e68430b7e8171d5 Mon Sep 17 00:00:00 2001 From: Dean Cullen Date: Thu, 3 Apr 2025 10:49:06 +0100 Subject: [PATCH 01/52] debug --- src/gatling/conf/logback.xml | 2 +- .../scenarios/Solicitor_PRL_C100.scala | 4 ++-- .../scenarios/Solicitor_PRL_FL401.scala | 24 +++++++++++++++++++ .../simulations/XUI_Simulation.scala | 23 +++++++++--------- 4 files changed, 39 insertions(+), 14 deletions(-) diff --git a/src/gatling/conf/logback.xml b/src/gatling/conf/logback.xml index 543c2a63..ec977927 100644 --- a/src/gatling/conf/logback.xml +++ b/src/gatling/conf/logback.xml @@ -10,7 +10,7 @@ - + diff --git a/src/gatling/simulations/scenarios/Solicitor_PRL_C100.scala b/src/gatling/simulations/scenarios/Solicitor_PRL_C100.scala index 4d2ce3f8..919bd4ef 100644 --- a/src/gatling/simulations/scenarios/Solicitor_PRL_C100.scala +++ b/src/gatling/simulations/scenarios/Solicitor_PRL_C100.scala @@ -1554,7 +1554,7 @@ object Solicitor_PRL_C100 { group("XUI_PRL_C100_650_SubmitAndPayRedirect") { exec(http("XUI_PRL_C100_650_005_SubmitAndPayRedirect") - .get("/cases/case-details/#{caseId}/trigger/submitAndPay/submitAndPay1") + .get("/cases/case-details/#{caseId}/trigger/***PurposeFullError/submitAndPay/submitAndPay1") .headers(Headers.navigationHeader) .header("x-xsrf-token", "#{XSRFToken}") .check(substring("HMCTS Manage cases"))) @@ -1687,7 +1687,7 @@ object Solicitor_PRL_C100 { group("XUI_PRL_C100_710_HearingsTab") { exec(http("XUI_PRL_C100_710_GetHearings") - .get("/api/hearings/getHearings?caseId=#{caseId}") + .get("/api/hearings/getHearings?caseId=#{caseId}***PurposeFullError") .headers(Headers.commonHeader) .header("Accept", "application/json, text/plain, */*") .check(status.in(200, 403))) diff --git a/src/gatling/simulations/scenarios/Solicitor_PRL_FL401.scala b/src/gatling/simulations/scenarios/Solicitor_PRL_FL401.scala index 4f201576..e5011db6 100644 --- a/src/gatling/simulations/scenarios/Solicitor_PRL_FL401.scala +++ b/src/gatling/simulations/scenarios/Solicitor_PRL_FL401.scala @@ -179,6 +179,8 @@ object Solicitor_PRL_FL401 { .check(jsonPath("$.id").is("fl401TypeOfApplication"))) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -298,6 +300,8 @@ object Solicitor_PRL_FL401 { .check(jsonPath("$.id").is("withoutNoticeOrderDetails"))) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -460,6 +464,8 @@ object Solicitor_PRL_FL401 { .header("accept", "application/json, text/plain, */*")) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -572,6 +578,8 @@ object Solicitor_PRL_FL401 { .header("accept", "application/json, text/plain, */*")) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -681,6 +689,10 @@ object Solicitor_PRL_FL401 { .check(jsonPath("$.id").is("fl401ApplicantFamilyDetails"))) .exec(Common.userDetails) + .exec(Common.userDetails) + .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -782,6 +794,8 @@ object Solicitor_PRL_FL401 { .check(jsonPath("$.id").is("respondentRelationship"))) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -901,6 +915,8 @@ object Solicitor_PRL_FL401 { .check(jsonPath("$.id").is("respondentBehaviour"))) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -1002,6 +1018,8 @@ object Solicitor_PRL_FL401 { .check(jsonPath("$.id").is("fl401Home"))) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -1105,6 +1123,8 @@ object Solicitor_PRL_FL401 { .check(jsonPath("$.id").is("fl401UploadDocuments"))) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -1234,6 +1254,8 @@ object Solicitor_PRL_FL401 { .check(jsonPath("$.id").is("viewPdfDocument"))) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) @@ -1335,6 +1357,8 @@ object Solicitor_PRL_FL401 { .check(jsonPath("$.id").is("fl401StatementOfTruthAndSubmit"))) .exec(Common.userDetails) + + .exec(getCookieValue(CookieKey("XSRF-TOKEN").withDomain(BaseURL.replace("https://", "")).withSecure(true).saveAs("XSRFToken"))) } .pause(MinThinkTime, MaxThinkTime) diff --git a/src/gatling/simulations/simulations/XUI_Simulation.scala b/src/gatling/simulations/simulations/XUI_Simulation.scala index 42a22334..88da78ab 100644 --- a/src/gatling/simulations/simulations/XUI_Simulation.scala +++ b/src/gatling/simulations/simulations/XUI_Simulation.scala @@ -68,7 +68,7 @@ class XUI_Simulation extends Simulation { val caseworkerTargetPerHour: Double = 1000 //This determines the percentage split of PRL journeys, by C100 or FL401 - val prlC100Percentage = 66 //Percentage of C100s (the rest will be FL401s) - should be 66 for the 2:1 ratio + val prlC100Percentage = 100//66 //Percentage of C100s (the rest will be FL401s) - should be 66 for the 2:1 ratio val rampUpDurationMins = 5 val rampDownDurationMins = 5 @@ -567,16 +567,17 @@ class XUI_Simulation extends Simulation { } setUp( - BailsScenario.inject(simulationProfile(testType, bailsTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), - ProbateSolicitorScenario.inject(simulationProfile(testType, probateTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), - ImmigrationAndAsylumSolicitorScenario.inject(simulationProfile(testType, iacTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), - FamilyPublicLawSolicitorScenario.inject(simulationProfile(testType, fplTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), - // DivorceSolicitorScenario.inject(simulationProfile(testType, divorceTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), - FinancialRemedySolicitorScenario.inject(simulationProfile(testType, frTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), - CaseworkerScenario.inject(simulationProfile(testType, caseworkerTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), - NoFaultDivorceSolicitorSoleScenario.inject(simulationProfile(testType, nfdSoleTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), - NoFaultDivorceSolicitorJointScenario.inject(simulationProfile(testType, nfdJointTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), - PRLSolicitorScenario.inject(simulationProfile(testType, prlTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption) + // BailsScenario.inject(simulationProfile(testType, bailsTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), + // ProbateSolicitorScenario.inject(simulationProfile(testType, probateTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), + // ImmigrationAndAsylumSolicitorScenario.inject(simulationProfile(testType, iacTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), + // FamilyPublicLawSolicitorScenario.inject(simulationProfile(testType, fplTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), + // // DivorceSolicitorScenario.inject(simulationProfile(testType, divorceTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), + // FinancialRemedySolicitorScenario.inject(simulationProfile(testType, frTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), + // CaseworkerScenario.inject(simulationProfile(testType, caseworkerTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), + // NoFaultDivorceSolicitorSoleScenario.inject(simulationProfile(testType, nfdSoleTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), + // NoFaultDivorceSolicitorJointScenario.inject(simulationProfile(testType, nfdJointTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption), + PRLSolicitorScenario.inject(constantConcurrentUsers(1).during(10)) + //PRLSolicitorScenario.inject(simulationProfile(testType, prlTargetPerHour, numberOfPipelineUsers)).pauses(pauseOption) ).protocols(httpProtocol) .assertions(assertions(testType)) .maxDuration(75 minutes) From 22282f7b719f464bf10de604007edc2921030b18 Mon Sep 17 00:00:00 2001 From: Dean Cullen Date: Thu, 3 Apr 2025 15:25:07 +0100 Subject: [PATCH 02/52] C100 Dummy payment steps added --- .../bodies/prl/c100/PRLCheckYourAnswers.json | 2 +- .../prl/c100/PRLDummyPaymentSubmit.json | 10 ++++ ...LSubmitAndPayConfidentialityStatement.json | 6 ++- .../prl/c100/PRLSubmitAndPayContinue.json | 2 +- .../prl/c100/PRLSubmitAndPayDeclaration.json | 4 +- .../bodies/prl/c100/PRLSubmitAndPayNow.json | 2 +- .../scenarios/Solicitor_PRL_C100.scala | 53 ++++++++++++++++--- .../simulations/XUI_Simulation.scala | 2 +- 8 files changed, 65 insertions(+), 16 deletions(-) create mode 100644 src/gatling/resources/bodies/prl/c100/PRLDummyPaymentSubmit.json diff --git a/src/gatling/resources/bodies/prl/c100/PRLCheckYourAnswers.json b/src/gatling/resources/bodies/prl/c100/PRLCheckYourAnswers.json index 969d71fd..ce40375d 100644 --- a/src/gatling/resources/bodies/prl/c100/PRLCheckYourAnswers.json +++ b/src/gatling/resources/bodies/prl/c100/PRLCheckYourAnswers.json @@ -95,7 +95,7 @@ } ] }, - "applicantCaseName": "Perf Test case" + "applicantCaseName": "Perf Test Case C100" }, "event": { "id": "solicitorCreate", diff --git a/src/gatling/resources/bodies/prl/c100/PRLDummyPaymentSubmit.json b/src/gatling/resources/bodies/prl/c100/PRLDummyPaymentSubmit.json new file mode 100644 index 00000000..5bed1a02 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLDummyPaymentSubmit.json @@ -0,0 +1,10 @@ +{ + "data": {}, + "event": { + "id": "testingSupportPaymentSuccessCallback", + "summary": "", + "description": "" + }, + "event_token": "#{event_token}", + "ignore_warning": false +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayConfidentialityStatement.json b/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayConfidentialityStatement.json index 033f7560..ff2b9858 100644 --- a/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayConfidentialityStatement.json +++ b/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayConfidentialityStatement.json @@ -6,7 +6,8 @@ ] }, "applicantSolicitorEmailAddress": "#{user}", - "caseworkerEmailAddress": "prl_caseworker_solicitor@mailinator.com" + "caseworkerEmailAddress": "prl_caseworker_solicitor@mailinator.com", + "courtName": "#{courtName}" }, "event": { "id": "submitAndPay", @@ -20,7 +21,8 @@ ] }, "applicantSolicitorEmailAddress": "#{user}", - "caseworkerEmailAddress": "prl_caseworker_solicitor@mailinator.com" + "caseworkerEmailAddress": "prl_caseworker_solicitor@mailinator.com", + "courtName": "#{courtName}" }, "event_token": "#{event_token}", "ignore_warning": false, diff --git a/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayContinue.json b/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayContinue.json index 51465033..79bbada2 100644 --- a/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayContinue.json +++ b/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayContinue.json @@ -19,7 +19,7 @@ "payAgreeStatement": [ "agree" ], - "feeAmount": "£232.00", + "feeAmount": "#{feeAmount}", "submitAndPayDownloadApplicationWelshLink": null, "submitAndPayDownloadApplicationLink": { "document_url": "#{DocumentUrl}", diff --git a/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayDeclaration.json b/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayDeclaration.json index fe8693bb..7c14bf04 100644 --- a/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayDeclaration.json +++ b/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayDeclaration.json @@ -1,7 +1,7 @@ { "data": { "solicitorName": "#{C100SolicitorName}", - "feeAmount": "£232.00", + "feeAmount": "#{feeAmount}", "submitAndPayDownloadApplicationWelshLink": null, "submitAndPayDownloadApplicationLink": { "document_url": "#{DocumentUrl}", @@ -22,7 +22,7 @@ "applicantSolicitorEmailAddress": "#{user}", "caseworkerEmailAddress": "prl_caseworker_solicitor@mailinator.com", "solicitorName": "#{C100SolicitorName}", - "feeAmount": "£232.00", + "feeAmount": "#{feeAmount}", "submitAndPayDownloadApplicationWelshLink": null, "submitAndPayDownloadApplicationLink": { "document_url": "#{DocumentUrl}", diff --git a/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayNow.json b/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayNow.json index 0f29373c..9d28f073 100644 --- a/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayNow.json +++ b/src/gatling/resources/bodies/prl/c100/PRLSubmitAndPayNow.json @@ -12,7 +12,7 @@ "payAgreeStatement": [ "agree" ], - "feeAmount": "£232.00", + "feeAmount": "#{feeAmount}", "isEngDocGen": null, "submitAndPayDownloadApplicationWelshLink": null, "submitAndPayDownloadApplicationLink": { diff --git a/src/gatling/simulations/scenarios/Solicitor_PRL_C100.scala b/src/gatling/simulations/scenarios/Solicitor_PRL_C100.scala index 919bd4ef..5f41e155 100644 --- a/src/gatling/simulations/scenarios/Solicitor_PRL_C100.scala +++ b/src/gatling/simulations/scenarios/Solicitor_PRL_C100.scala @@ -1534,7 +1534,7 @@ object Solicitor_PRL_C100 { .body(ElFileBody("bodies/prl/c100/PRLViewPdfContinueSubmit.json"))) .exec(http("XUI_PRL_C100_640_010_ViewPdfSubmit") - .get("/data/internal/cases/#{caseId}") + .get("/data/internal/cases/#{caseId}") .headers(Headers.commonHeader) .header("accept", "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-case-view.v2+json") .header("x-xsrf-token", "#{XSRFToken}") @@ -1554,7 +1554,7 @@ object Solicitor_PRL_C100 { group("XUI_PRL_C100_650_SubmitAndPayRedirect") { exec(http("XUI_PRL_C100_650_005_SubmitAndPayRedirect") - .get("/cases/case-details/#{caseId}/trigger/***PurposeFullError/submitAndPay/submitAndPay1") + .get("/cases/case-details/#{caseId}/trigger/submitAndPay/submitAndPay1") .headers(Headers.navigationHeader) .header("x-xsrf-token", "#{XSRFToken}") .check(substring("HMCTS Manage cases"))) @@ -1581,6 +1581,8 @@ object Solicitor_PRL_C100 { .headers(Headers.commonHeader) .header("accept", "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-start-event-trigger.v2+json;charset=UTF-8") .check(jsonPath("$.event_token").saveAs("event_token")) + .check(jsonPath("$.case_fields[17].value").saveAs("courtName")) + .check(jsonPath("$.case_fields[7].value").saveAs("feeAmount")) .check(jsonPath("$.id").is("submitAndPay"))) .exec(Common.userDetails) @@ -1679,20 +1681,55 @@ object Solicitor_PRL_C100 { .pause(MinThinkTime, MaxThinkTime) + /*====================================================================================== + * Select Dummy Payment Confirmation + ======================================================================================*/ + + .exec(http("XUI_PRL_C100_710_DummyPaymentEventTrigger") + .get("/data/internal/cases/#{caseId}/event-triggers/testingSupportPaymentSuccessCallback?ignore-warning=false") + .headers(Headers.commonHeader) + .header("accept", "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-start-event-trigger.v2+json;charset=UTF-8") + .header("x-xsrf-token", "#{XSRFToken}") + .check(jsonPath("$.event_token").saveAs("event_token")) + .check(jsonPath("$.id").is("testingSupportPaymentSuccessCallback"))) + + .pause(MinThinkTime, MaxThinkTime) + + .group("XUI_PRL_C100_720_DummySubmitAndPayNow") { + exec(http("XUI_PRL_C100_720_005_DummySubmitAndPayNow") + .post("/data/cases/#{caseId}/events") + .headers(Headers.commonHeader) + .header("accept", "application/vnd.uk.gov.hmcts.ccd-data-store-api.create-event.v2+json;charset=UTF-8") + .header("x-xsrf-token", "#{XSRFToken}") + .body(ElFileBody("bodies/prl/c100/PRLDummyPaymentSubmit.json")) + .check(substring("created_on"))) + + .exec(http("XUI_PRL_C100_730_010_DummySubmitAndPayNowViewCase") + .get("/data/internal/cases/#{caseId}") + .headers(Headers.commonHeader) + .header("accept", "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-case-view.v2+json") + .header("x-xsrf-token", "#{XSRFToken}") + .check(jsonPath("$.events[?(@.event_id=='testingSupportPaymentSuccessCallback')]"))) + + .exec(Common.userDetails) + } + + .pause(MinThinkTime, MaxThinkTime) + val HearingsTab = /*====================================================================================== * Click on the Hearings tab to view any Hearings ======================================================================================*/ - group("XUI_PRL_C100_710_HearingsTab") { - exec(http("XUI_PRL_C100_710_GetHearings") - .get("/api/hearings/getHearings?caseId=#{caseId}***PurposeFullError") + group("XUI_PRL_C100_730_HearingsTab") { + exec(http("XUI_PRL_C100_730_GetHearings") + .get("/api/hearings/getHearings?caseId=#{caseId") .headers(Headers.commonHeader) .header("Accept", "application/json, text/plain, */*") .check(status.in(200, 403))) - .exec(http("XUI_PRL_C100_710_GetHearingsJurisdiction") + .exec(http("XUI_PRL_C100_730_GetHearingsJurisdiction") .post("/api/hearings/loadServiceHearingValues?jurisdictionId=PRIVATELAW") .headers(Headers.commonHeader) .header("Content-Type", "application/json; charset=utf-8") @@ -1701,12 +1738,12 @@ object Solicitor_PRL_C100 { .body(StringBody("""{"caseReference":"#{caseId}"}""")) .check(substring("hearing-facilities"))) - .exec(http("XUI_PRL_C100_710_GetRoleAssignments") + .exec(http("XUI_PRL_C100_730_GetRoleAssignments") .get("/api/user/details?refreshRoleAssignments=undefined") .headers(Headers.commonHeader) .header("Accept", "application/json, text/plain, */*")) - .exec(http("XUI_PRL_C100_710_GetHearingTypes") + .exec(http("XUI_PRL_C100_730_GetHearingTypes") .get("/api/prd/lov/getLovRefData?categoryId=HearingType&serviceId=ABA5&isChildRequired=N") .headers(Headers.commonHeader) .header("Accept", "application/json, text/plain, */*") diff --git a/src/gatling/simulations/simulations/XUI_Simulation.scala b/src/gatling/simulations/simulations/XUI_Simulation.scala index b560d205..f8e03dd3 100644 --- a/src/gatling/simulations/simulations/XUI_Simulation.scala +++ b/src/gatling/simulations/simulations/XUI_Simulation.scala @@ -68,7 +68,7 @@ class XUI_Simulation extends Simulation { val caseworkerTargetPerHour: Double = 1000 //This determines the percentage split of PRL journeys, by C100 or FL401 - val prlC100Percentage = 100//66 //Percentage of C100s (the rest will be FL401s) - should be 66 for the 2:1 ratio + val prlC100Percentage = 0//66 //Percentage of C100s (the rest will be FL401s) - should be 66 for the 2:1 ratio val rampUpDurationMins = 5 val rampDownDurationMins = 5 From 509135296ad5bea150ab94fa259a307e2ead021d Mon Sep 17 00:00:00 2001 From: Dean Cullen Date: Thu, 24 Apr 2025 17:34:41 +0100 Subject: [PATCH 03/52] Updates for PRL NRO XUI Test --- src/gatling/conf/logback.xml | 2 +- src/gatling/resources/TestFile.pdf | Bin 0 -> 10240 bytes src/gatling/resources/TestFile2.pdf | Bin 0 -> 11264 bytes .../resources/UserDataPRLCourtAdmin.csv | 2 + .../resources/bodies/la/ListHearingC100.json | 140 +++ .../resources/bodies/la/ListHearingFl401.json | 140 +++ .../bodies/prl/c100/PRLAddGateKeeper.json | 474 ++++++++++ .../prl/c100/PRLAddGateKeeperSubmit.json | 241 +++++ .../bodies/prl/c100/PRLC100SubmitHearing.json | 156 +++ .../bodies/prl/c100/PRLCheckOrder.json | 60 ++ .../bodies/prl/c100/PRLCheckYourAnswers.json | 2 +- .../bodies/prl/c100/PRLCreateOrder.json | 18 + .../bodies/prl/c100/PRLGuardianName.json | 54 ++ .../bodies/prl/c100/PRLLocalCourt.json | 166 ++++ .../bodies/prl/c100/PRLLocalCourtSubmit.json | 87 ++ .../bodies/prl/c100/PRLOrderDetails.json | 49 + .../bodies/prl/c100/PRLOrderRecipients.json | 55 ++ .../bodies/prl/c100/PRLOrderServe.json | 62 ++ .../bodies/prl/c100/PRLOrderSubmit.json | 86 ++ .../bodies/prl/c100/PRLOrderToServeList.json | 90 ++ .../PRLOrderToServeRespondentOptions.json | 82 ++ .../bodies/prl/c100/PRLSelectOrder.json | 29 + .../bodies/prl/c100/PRLSoADocuments.json | 72 ++ .../bodies/prl/c100/PRLSoARecipients.json | 95 ++ .../bodies/prl/c100/PRLSoASubmit.json | 72 ++ .../bodies/prl/fl401/PRLAddGateKeeper.json | 474 ++++++++++ .../prl/fl401/PRLAddGateKeeperSubmit.json | 241 +++++ .../bodies/prl/fl401/PRLCheckOrderFL401.json | 572 +++++++++++ .../bodies/prl/fl401/PRLCreateOrder.json | 18 + .../prl/fl401/PRLFL401SubmitHearing.json | 156 +++ .../bodies/prl/fl401/PRLHearingOutcome.json | 132 +++ .../bodies/prl/fl401/PRLHearingType.json | 435 +++++++++ .../bodies/prl/fl401/PRLHearingTypeOld.json | 497 ++++++++++ .../bodies/prl/fl401/PRLLocalCourt.json | 166 ++++ .../bodies/prl/fl401/PRLLocalCourtSubmit.json | 87 ++ .../prl/fl401/PRLOrderDetailsFL401.json | 49 + .../prl/fl401/PRLOrderRecipientsFL401.json | 567 +++++++++++ .../bodies/prl/fl401/PRLOrderServeFL401.json | 574 +++++++++++ .../bodies/prl/fl401/PRLOrderSubmitFL401.json | 678 +++++++++++++ .../prl/fl401/PRLOrderToServeListFL401.json | 602 ++++++++++++ ...PRLOrderToServeRespondentOptionsFL401.json | 590 ++++++++++++ .../bodies/prl/fl401/PRLSelectOrderFL401.json | 29 + .../prl/fl401/PRLSoADocumentsFL401.json | 64 ++ .../prl/fl401/PRLSoARecipientsFL401.json | 43 + .../bodies/prl/fl401/PRLSoASubmitFL401.json | 47 + .../scenarios/CourtAdmin_PRL_C100.scala | 892 ++++++++++++++++++ .../scenarios/CourtAdmin_PRL_FL401.scala | 763 +++++++++++++++ .../simulations/scenarios/ListHearingLA.scala | 86 ++ .../scenarios/Solicitor_PRL_C100.scala | 6 +- .../simulations/XUI_Simulation.scala | 72 +- src/gatling/simulations/utils/Common.scala | 23 +- .../simulations/utils/Environment.scala | 1 + 52 files changed, 10071 insertions(+), 27 deletions(-) create mode 100644 src/gatling/resources/TestFile.pdf create mode 100644 src/gatling/resources/TestFile2.pdf create mode 100644 src/gatling/resources/UserDataPRLCourtAdmin.csv create mode 100644 src/gatling/resources/bodies/la/ListHearingC100.json create mode 100644 src/gatling/resources/bodies/la/ListHearingFl401.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLAddGateKeeper.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLAddGateKeeperSubmit.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLC100SubmitHearing.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLCheckOrder.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLCreateOrder.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLGuardianName.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLLocalCourt.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLLocalCourtSubmit.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLOrderDetails.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLOrderRecipients.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLOrderServe.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLOrderSubmit.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLOrderToServeList.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLOrderToServeRespondentOptions.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLSelectOrder.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLSoADocuments.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLSoARecipients.json create mode 100644 src/gatling/resources/bodies/prl/c100/PRLSoASubmit.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLAddGateKeeper.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLAddGateKeeperSubmit.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLCheckOrderFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLCreateOrder.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLFL401SubmitHearing.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLHearingOutcome.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLHearingType.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLHearingTypeOld.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLLocalCourt.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLLocalCourtSubmit.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLOrderDetailsFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLOrderRecipientsFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLOrderServeFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLOrderSubmitFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLOrderToServeListFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLOrderToServeRespondentOptionsFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLSelectOrderFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLSoADocumentsFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLSoARecipientsFL401.json create mode 100644 src/gatling/resources/bodies/prl/fl401/PRLSoASubmitFL401.json create mode 100644 src/gatling/simulations/scenarios/CourtAdmin_PRL_C100.scala create mode 100644 src/gatling/simulations/scenarios/CourtAdmin_PRL_FL401.scala create mode 100644 src/gatling/simulations/scenarios/ListHearingLA.scala diff --git a/src/gatling/conf/logback.xml b/src/gatling/conf/logback.xml index ec977927..543c2a63 100644 --- a/src/gatling/conf/logback.xml +++ b/src/gatling/conf/logback.xml @@ -10,7 +10,7 @@ - + diff --git a/src/gatling/resources/TestFile.pdf b/src/gatling/resources/TestFile.pdf new file mode 100644 index 0000000000000000000000000000000000000000..9df64990f7be3c1f7194a0c22852a1ab3a09f3c5 GIT binary patch literal 10240 zcmeIu0Sy2E0K%a6Pi+o2h(KY$fB^#r3>YwAz<>b*1`HT5V8DO@0|pEjFkrxd0RsjM P7%*VKfB^#r47?2tC;$Kf literal 0 HcmV?d00001 diff --git a/src/gatling/resources/TestFile2.pdf b/src/gatling/resources/TestFile2.pdf new file mode 100644 index 0000000000000000000000000000000000000000..258e2e6c1020c8beda1a0954af1f65ff42e3ac6d GIT binary patch literal 11264 zcmeIu0Sy2E0K%a6Pi+o2h(KY$fB^#r3>YwAz<>b*1`HT5V8DO@0|pEjFkrxd0RsjM U7%*VKfB^#r3>YwAz`)DE04x9i0RR91 literal 0 HcmV?d00001 diff --git a/src/gatling/resources/UserDataPRLCourtAdmin.csv b/src/gatling/resources/UserDataPRLCourtAdmin.csv new file mode 100644 index 00000000..36326f6e --- /dev/null +++ b/src/gatling/resources/UserDataPRLCourtAdmin.csv @@ -0,0 +1,2 @@ +user,password +prl_pt_ca_swansea@justice.gov.uk,Nagoya0102 \ No newline at end of file diff --git a/src/gatling/resources/bodies/la/ListHearingC100.json b/src/gatling/resources/bodies/la/ListHearingC100.json new file mode 100644 index 00000000..653ed708 --- /dev/null +++ b/src/gatling/resources/bodies/la/ListHearingC100.json @@ -0,0 +1,140 @@ +{ + "hearingResponse":{ + "meta":{ + "transactionIdCaseHQ":"#{LARandomString}-1667-4e33-8048-perf000#{LARandomNumber}", + "timestamp":"#{todayDate}T10:00:00Z" + }, + "hearing":{ + "hearingCaseIdHMCTS":"#{caseId}", + "hearingCaseVersionId":1, + "hearingCaseStatus":{ + "code":"100", + "description":"Listed" + }, + "hearingCaseJurisdiction":{ + "code":"AB", + "description":"Family" + }, + "listingRequestId":"#{hearingRequestId}", + "hearingCreatedDate":"#{todayDate}T09:00:00Z", + "hearingCreatedBy":"Perf.Test@hmcts.net", + "hearingIdCaseHQ":"4511#{LARandomNumber}", + "hearingType":{ + "code":"243", + "description":"Case Management Conference (Private Law)" + }, + "hearingStatus":{ + "code":"FIXED", + "description":"Fixed - Unlikely to be moved" + }, + "hearingStartTime":"#{futureDate}T10:00:00Z", + "hearingEndTime":"#{futureDate}T11:00:00Z", + "hearingPrivate":false, + "hearingRisk":false, + "hearingTranslatorRequired":false, + "hearingLanguage":"eng", + "hearingVenue":{ + "locationIdCaseHQ":"21000", + "locationName":"Brentford County Court", + "locationRegion":{ + "code":"1", + "description":"London" + }, + "locationCluster":{ + "code":"5", + "description":"London Civil and Family" + }, + "locationReferences":[ + { + "key":"EPIMS", + "value":"234946" + }, + { + "key":"EXTERNAL", + "value":"21000" + } + ] + }, + "hearingRoom":{ + "locationIdCaseHQ":"21008", + "locationName":"Brentford County Court Counter", + "locationRegion":{ + "code":"1", + "description":"London" + }, + "locationCluster":{ + "code":"5", + "description":"London Civil and Family" + }, + "locationReferences":[ + { + "key":"EXTERNAL", + "value":"21008" + } + ] + }, + "hearingVhStatus":"VH Not Required", + "hearingAttendees":[ + { + "entityIdCaseHQ":"4511#{LARandomNumber}", + "entityId":"#{applicantPartyId}", + "entityType":"IND", + "entityClass":"PERSON", + "entityName":"#{C100ApplicantFirstName1} #{C100ApplicantLastName1}", + "entityYouth":false, + "entityRole":{ + "code":"APPL", + "description":"Applicant" + }, + "hearingChannel":{ + "code":"INTER", + "description":" In Person" + } + }, + { + "entityIdCaseHQ":"4511#{LARandomNumber}", + "entityId":"#{respondentPartyId}", + "entityType":"IND", + "entityClass":"PERSON", + "entityName":"#{C100RespondentFirstName} #{C100RespondentLastName}", + "entityYouth":false, + "entityRole":{ + "code":"RESP", + "description":"Respondent" + }, + "hearingChannel":{ + "code":"INTER", + "description":" In Person" + } + }, + { + "entityIdCaseHQ":"4511#{LARandomNumber}", + "entityId":"#{applicantSolicitorPartyId}", + "entityType":"IND", + "entityClass":"PERSON", + "entityName":"#{C100RepresentativeFirstName} #{C100RepresentativeLastName}", + "entityYouth":false, + "entityRole":{ + "code":"LGRP", + "description":"Legal Representative" + }, + "hearingChannel":{ + "code":"INTER", + "description":" In Person" + } + }, + { + "entityIdCaseHQ":"4511#{LARandomNumber}", + "entityId":"#{solicitorOrgId}", + "entityType":"ORG", + "entityClass":"ORG", + "entityName":"perf-prl-aALof", + "entityRole":{ + "code":"LGRP", + "description":"Legal Representative" + } + } + ] + } + } +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/la/ListHearingFl401.json b/src/gatling/resources/bodies/la/ListHearingFl401.json new file mode 100644 index 00000000..f1d09a6e --- /dev/null +++ b/src/gatling/resources/bodies/la/ListHearingFl401.json @@ -0,0 +1,140 @@ +{ + "hearingResponse":{ + "meta":{ + "transactionIdCaseHQ":"#{LARandomString}-1667-4e33-8048-perf000#{LARandomNumber}", + "timestamp":"#{todayDate}T10:00:00Z" + }, + "hearing":{ + "hearingCaseIdHMCTS":"#{caseId}", + "hearingCaseVersionId":1, + "hearingCaseStatus":{ + "code":"100", + "description":"Listed" + }, + "hearingCaseJurisdiction":{ + "code":"AB", + "description":"Family" + }, + "listingRequestId":"#{hearingRequestId}", + "hearingCreatedDate":"#{todayDate}T09:00:00Z", + "hearingCreatedBy":"Perf.Test@hmcts.net", + "hearingIdCaseHQ":"4511#{LARandomNumber}", + "hearingType":{ + "code":"243", + "description":"Case Management Conference (Private Law)" + }, + "hearingStatus":{ + "code":"FIXED", + "description":"Fixed - Unlikely to be moved" + }, + "hearingStartTime":"#{futureDate}T10:00:00Z", + "hearingEndTime":"#{futureDate}T11:00:00Z", + "hearingPrivate":false, + "hearingRisk":false, + "hearingTranslatorRequired":false, + "hearingLanguage":"eng", + "hearingVenue":{ + "locationIdCaseHQ":"21000", + "locationName":"Brentford County Court", + "locationRegion":{ + "code":"1", + "description":"London" + }, + "locationCluster":{ + "code":"5", + "description":"London Civil and Family" + }, + "locationReferences":[ + { + "key":"EPIMS", + "value":"234946" + }, + { + "key":"EXTERNAL", + "value":"21000" + } + ] + }, + "hearingRoom":{ + "locationIdCaseHQ":"21008", + "locationName":"Brentford County Court Counter", + "locationRegion":{ + "code":"1", + "description":"London" + }, + "locationCluster":{ + "code":"5", + "description":"London Civil and Family" + }, + "locationReferences":[ + { + "key":"EXTERNAL", + "value":"21008" + } + ] + }, + "hearingVhStatus":"VH Not Required", + "hearingAttendees":[ + { + "entityIdCaseHQ":"4511#{LARandomNumber}", + "entityId":"#{applicantPartyId}", + "entityType":"IND", + "entityClass":"PERSON", + "entityName":"#{ApplicantFirstName} #{ApplicantLastName}", + "entityYouth":false, + "entityRole":{ + "code":"APPL", + "description":"Applicant" + }, + "hearingChannel":{ + "code":"INTER", + "description":" In Person" + } + }, + { + "entityIdCaseHQ":"4511#{LARandomNumber}", + "entityId":"#{respondentPartyId}", + "entityType":"IND", + "entityClass":"PERSON", + "entityName":"#{RespondentFirstName} #{RespondentLastName}", + "entityYouth":false, + "entityRole":{ + "code":"RESP", + "description":"Respondent" + }, + "hearingChannel":{ + "code":"INTER", + "description":" In Person" + } + }, + { + "entityIdCaseHQ":"4511#{LARandomNumber}", + "entityId":"#{applicantSolicitorPartyId}", + "entityType":"IND", + "entityClass":"PERSON", + "entityName":"SolFirst SolLast", + "entityYouth":false, + "entityRole":{ + "code":"LGRP", + "description":"Legal Representative" + }, + "hearingChannel":{ + "code":"INTER", + "description":" In Person" + } + }, + { + "entityIdCaseHQ":"4511#{LARandomNumber}", + "entityId":"#{solicitorOrgId}", + "entityType":"ORG", + "entityClass":"ORG", + "entityName":"perf-prl-aALof", + "entityRole":{ + "code":"LGRP", + "description":"Legal Representative" + } + } + ] + } + } +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLAddGateKeeper.json b/src/gatling/resources/bodies/prl/c100/PRLAddGateKeeper.json new file mode 100644 index 00000000..4c82e865 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLAddGateKeeper.json @@ -0,0 +1,474 @@ +{ + "data": { + "isSpecificGateKeeperNeeded": "Yes", + "isJudgeOrLegalAdviserGatekeeping": "legalAdviser", + "legalAdviserList": { + "value": { + "code": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)", + "label": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)" + }, + "list_items": [ + { + "code": "am test la(prl_perftest_am_test_la@justice.gov.uk)", + "label": "am test la(prl_perftest_am_test_la@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_007@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_007@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_008@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_008@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_009@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_009@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_010@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_010@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_011@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_011@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_012@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_012@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_013@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_013@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_014@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_014@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_015@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_015@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_002@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_002@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_016@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_016@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_018@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_018@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_019@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_019@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_020@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_020@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_021@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_021@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_022@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_022@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_023@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_023@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_024@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_024@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_025@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_025@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_026@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_026@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_027@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_027@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_028@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_028@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_029@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_029@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_030@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_030@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_031@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_031@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_032@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_032@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_033@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_033@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_034@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_034@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_035@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_035@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_036@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_036@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_037@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_037@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_038@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_038@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_039@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_039@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_040@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_040@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_041@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_041@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_042@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_042@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_043@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_043@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_044@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_044@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_017@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_017@justice.gov.uk)" + }, + { + "code": "Caseworker(perftribunalcw_001@justice.gov.uk)", + "label": "Caseworker(perftribunalcw_001@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_001@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_001@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_003@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_003@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_004@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_004@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_005@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_005@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_006@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_006@justice.gov.uk)" + }, + { + "code": "FPL(perfsupervisorfpl_001@justice.gov.uk)", + "label": "FPL(perfsupervisorfpl_001@justice.gov.uk)" + }, + { + "code": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)", + "label": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)" + }, + { + "code": "Legal Leader(prl_legalopsleader@justice.gov.uk)", + "label": "Legal Leader(prl_legalopsleader@justice.gov.uk)" + }, + { + "code": "Legal ops(prl_legalops_swansea@justice.gov.uk)", + "label": "Legal ops(prl_legalops_swansea@justice.gov.uk)" + }, + { + "code": "Legal ops(prl_legal_ops@justice.gov.uk)", + "label": "Legal ops(prl_legal_ops@justice.gov.uk)" + }, + { + "code": "Legal Ops Leader(prl_legal_leader@justice.gov.uk)", + "label": "Legal Ops Leader(prl_legal_leader@justice.gov.uk)" + }, + { + "code": "Legal Ops One(prl_legalopstwo@justice.gov.uk)", + "label": "Legal Ops One(prl_legalopstwo@justice.gov.uk)" + }, + { + "code": "Officer(crd_func_test_demo_tcw@justice.gov.uk)", + "label": "Officer(crd_func_test_demo_tcw@justice.gov.uk)" + }, + { + "code": "Officer(crd_func_test_demo_tcw1@justice.gov.uk)", + "label": "Officer(crd_func_test_demo_tcw1@justice.gov.uk)" + } + ] + } + }, + "event": { + "id": "sendToGateKeeper", + "summary": "", + "description": "" + }, + "event_data": { + "isSpecificGateKeeperNeeded": "Yes", + "isJudgeOrLegalAdviserGatekeeping": "legalAdviser", + "legalAdviserList": { + "value": { + "code": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)", + "label": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)" + }, + "list_items": [ + { + "code": "am test la(prl_perftest_am_test_la@justice.gov.uk)", + "label": "am test la(prl_perftest_am_test_la@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_007@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_007@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_008@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_008@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_009@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_009@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_010@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_010@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_011@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_011@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_012@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_012@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_013@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_013@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_014@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_014@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_015@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_015@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_002@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_002@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_016@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_016@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_018@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_018@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_019@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_019@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_020@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_020@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_021@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_021@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_022@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_022@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_023@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_023@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_024@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_024@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_025@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_025@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_026@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_026@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_027@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_027@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_028@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_028@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_029@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_029@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_030@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_030@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_031@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_031@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_032@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_032@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_033@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_033@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_034@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_034@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_035@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_035@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_036@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_036@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_037@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_037@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_038@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_038@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_039@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_039@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_040@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_040@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_041@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_041@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_042@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_042@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_043@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_043@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_044@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_044@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_017@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_017@justice.gov.uk)" + }, + { + "code": "Caseworker(perftribunalcw_001@justice.gov.uk)", + "label": "Caseworker(perftribunalcw_001@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_001@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_001@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_003@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_003@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_004@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_004@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_005@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_005@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_006@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_006@justice.gov.uk)" + }, + { + "code": "FPL(perfsupervisorfpl_001@justice.gov.uk)", + "label": "FPL(perfsupervisorfpl_001@justice.gov.uk)" + }, + { + "code": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)", + "label": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)" + }, + { + "code": "Legal Leader(prl_legalopsleader@justice.gov.uk)", + "label": "Legal Leader(prl_legalopsleader@justice.gov.uk)" + }, + { + "code": "Legal ops(prl_legalops_swansea@justice.gov.uk)", + "label": "Legal ops(prl_legalops_swansea@justice.gov.uk)" + }, + { + "code": "Legal ops(prl_legal_ops@justice.gov.uk)", + "label": "Legal ops(prl_legal_ops@justice.gov.uk)" + }, + { + "code": "Legal Ops Leader(prl_legal_leader@justice.gov.uk)", + "label": "Legal Ops Leader(prl_legal_leader@justice.gov.uk)" + }, + { + "code": "Legal Ops One(prl_legalopstwo@justice.gov.uk)", + "label": "Legal Ops One(prl_legalopstwo@justice.gov.uk)" + }, + { + "code": "Officer(crd_func_test_demo_tcw@justice.gov.uk)", + "label": "Officer(crd_func_test_demo_tcw@justice.gov.uk)" + }, + { + "code": "Officer(crd_func_test_demo_tcw1@justice.gov.uk)", + "label": "Officer(crd_func_test_demo_tcw1@justice.gov.uk)" + } + ] + } + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLAddGateKeeperSubmit.json b/src/gatling/resources/bodies/prl/c100/PRLAddGateKeeperSubmit.json new file mode 100644 index 00000000..e41c3596 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLAddGateKeeperSubmit.json @@ -0,0 +1,241 @@ +{ + "data": { + "isSpecificGateKeeperNeeded": "Yes", + "isJudgeOrLegalAdviserGatekeeping": "legalAdviser", + "legalAdviserList": { + "value": { + "code": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)", + "label": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)" + }, + "list_items": [ + { + "code": "am test la(prl_perftest_am_test_la@justice.gov.uk)", + "label": "am test la(prl_perftest_am_test_la@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_007@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_007@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_008@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_008@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_009@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_009@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_010@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_010@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_011@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_011@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_012@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_012@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_013@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_013@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_014@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_014@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_015@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_015@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_002@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_002@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_016@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_016@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_018@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_018@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_019@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_019@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_020@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_020@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_021@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_021@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_022@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_022@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_023@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_023@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_024@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_024@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_025@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_025@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_026@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_026@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_027@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_027@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_028@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_028@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_029@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_029@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_030@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_030@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_031@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_031@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_032@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_032@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_033@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_033@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_034@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_034@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_035@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_035@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_036@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_036@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_037@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_037@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_038@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_038@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_039@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_039@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_040@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_040@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_041@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_041@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_042@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_042@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_043@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_043@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_044@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_044@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_017@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_017@justice.gov.uk)" + }, + { + "code": "Caseworker(perftribunalcw_001@justice.gov.uk)", + "label": "Caseworker(perftribunalcw_001@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_001@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_001@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_003@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_003@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_004@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_004@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_005@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_005@justice.gov.uk)" + }, + { + "code": "Caseworker(perfsupervisorcw_006@justice.gov.uk)", + "label": "Caseworker(perfsupervisorcw_006@justice.gov.uk)" + }, + { + "code": "FPL(perfsupervisorfpl_001@justice.gov.uk)", + "label": "FPL(perfsupervisorfpl_001@justice.gov.uk)" + }, + { + "code": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)", + "label": "Legal advisors(prl_pt_la_swansea@justice.gov.uk)" + }, + { + "code": "Legal Leader(prl_legalopsleader@justice.gov.uk)", + "label": "Legal Leader(prl_legalopsleader@justice.gov.uk)" + }, + { + "code": "Legal ops(prl_legalops_swansea@justice.gov.uk)", + "label": "Legal ops(prl_legalops_swansea@justice.gov.uk)" + }, + { + "code": "Legal ops(prl_legal_ops@justice.gov.uk)", + "label": "Legal ops(prl_legal_ops@justice.gov.uk)" + }, + { + "code": "Legal Ops Leader(prl_legal_leader@justice.gov.uk)", + "label": "Legal Ops Leader(prl_legal_leader@justice.gov.uk)" + }, + { + "code": "Legal Ops One(prl_legalopstwo@justice.gov.uk)", + "label": "Legal Ops One(prl_legalopstwo@justice.gov.uk)" + }, + { + "code": "Officer(crd_func_test_demo_tcw@justice.gov.uk)", + "label": "Officer(crd_func_test_demo_tcw@justice.gov.uk)" + }, + { + "code": "Officer(crd_func_test_demo_tcw1@justice.gov.uk)", + "label": "Officer(crd_func_test_demo_tcw1@justice.gov.uk)" + } + ] + } + }, + "event": { + "id": "sendToGateKeeper", + "summary": "", + "description": "" + }, + "event_token": "#{event_token}", + "ignore_warning": false +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLC100SubmitHearing.json b/src/gatling/resources/bodies/prl/c100/PRLC100SubmitHearing.json new file mode 100644 index 00000000..029edd25 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLC100SubmitHearing.json @@ -0,0 +1,156 @@ +{ + "hearingDetails": { + "duration": 180, + "hearingType": "ABA5-APL", + "hearingLocations": [ + { + "locationType": "court", + "locationId": "#{locationId}" + } + ], + "hearingIsLinkedFlag": false, + "hearingWindow": null, + "privateHearingRequiredFlag": false, + "panelRequirements": { + "roleType": [ + "45" + ], + "panelPreferences": [] + }, + "autolistFlag": false, + "hearingPriorityType": "Standard", + "numberOfPhysicalAttendees": 3, + "hearingInWelshFlag": false, + "facilitiesRequired": [], + "listingComments": "Extra details add here, some details about the hearing for performance test purposes.", + "hearingRequester": "", + "leadJudgeContractType": "", + "amendReasonCodes": null, + "hearingChannels": [ + "INTER" + ], + "listingAutoChangeReasonCode": "user-added-comments", + "isPaperHearing": false + }, + "caseDetails": { + "hmctsServiceCode": "ABA5", + "caseRef": "#{caseId}", + "requestTimeStamp": null, + "hearingID": null, + "caseDeepLink": "https://manage-case.perftest.platform.hmcts.net/cases/case-details/#{caseId}#Case File View", + "hmctsInternalCaseName": "#{caseName}", + "publicCaseName": "#{C100ApplicantLastName1} and #{C100RespondentLastName}", + "caseAdditionalSecurityFlag": false, + "caseInterpreterRequiredFlag": false, + "caseCategories": [ + { + "categoryType": "caseType", + "categoryValue": "ABA5-PRL", + "categoryParent": null + }, + { + "categoryType": "caseSubType", + "categoryValue": "ABA5-PRL", + "categoryParent": "ABA5-PRL" + } + ], + "caseManagementLocationCode": "#{locationId}", + "caserestrictedFlag": false, + "caseSLAStartDate": "#{todayDate}", + "externalCaseReference": "" + }, + "partyDetails": [ + { + "partyID": "#{applicantPartyId}", + "partyType": "IND", + "partyRole": "APPL", + "partyName": "#{C100ApplicantFirstName1} #{C100ApplicantLastName1}", + "individualDetails": { + "firstName": "#{C100ApplicantFirstName1}", + "lastName": "#{C100ApplicantLastName1}", + "preferredHearingChannel": "INTER", + "interpreterLanguage": "", + "reasonableAdjustments": [], + "relatedParties": [], + "title": null, + "vulnerableFlag": false, + "vulnerabilityDetails": "", + "hearingChannelEmail": [ + "applicant@perftest12345.com" + ], + "hearingChannelPhone": [ + "07000000000" + ], + "custodyStatus": null, + "otherReasonableAdjustmentDetails": null + }, + "unavailabilityDOW": null, + "unavailabilityRanges": null + }, + { + "partyID": "#{applicantSolicitorPartyId}", + "partyType": "IND", + "partyRole": "LGRP", + "partyName": "#{C100RepresentativeFirstName} #{C100RepresentativeLastName}", + "individualDetails": { + "firstName": "#{C100RepresentativeFirstName}", + "lastName": "#{C100RepresentativeLastName}", + "preferredHearingChannel": "INTER", + "interpreterLanguage": "", + "reasonableAdjustments": [], + "relatedParties": [], + "title": null, + "vulnerableFlag": false, + "vulnerabilityDetails": "", + "hearingChannelEmail": [ + "sol@perftest12345.com" + ], + "hearingChannelPhone": [ + "07000000000" + ], + "custodyStatus": null, + "otherReasonableAdjustmentDetails": null + }, + "unavailabilityDOW": null, + "unavailabilityRanges": null + }, + { + "partyID": "#{respondentPartyId}", + "partyType": "IND", + "partyRole": "RESP", + "partyName": "#{C100RespondentFirstName} #{C100RespondentLastName}", + "individualDetails": { + "firstName": "#{C100RespondentFirstName}", + "lastName": "#{C100RespondentLastName}", + "preferredHearingChannel": "INTER", + "interpreterLanguage": "", + "reasonableAdjustments": [], + "relatedParties": [], + "title": null, + "vulnerableFlag": false, + "vulnerabilityDetails": "", + "hearingChannelEmail": [ + "respondent@perftest12345.com" + ], + "hearingChannelPhone": [ + "07000000000" + ], + "custodyStatus": null, + "otherReasonableAdjustmentDetails": null + }, + "unavailabilityDOW": null, + "unavailabilityRanges": null + }, + { + "partyID": "#{solicitorOrgId}", + "partyType": "ORG", + "partyName": "perf-prl-aALof", + "partyRole": "LGRP", + "organisationDetails": { + "name": "perf-prl-aALof", + "organisationType": "ORG", + "cftOrganisationID": "U1NS7EH" + } + } + ] +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLCheckOrder.json b/src/gatling/resources/bodies/prl/c100/PRLCheckOrder.json new file mode 100644 index 00000000..c92fbb44 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLCheckOrder.json @@ -0,0 +1,60 @@ +{ + "data": { + "previewOrderDocWelsh": null, + "previewOrderDoc": { + "document_url": "#{document_url}", + "document_binary_url": "#{document_url}/binary", + "document_filename": "Special_Guardianship_Order_C43A_Draft.pdf", + "document_hash": "#{document_hash}" + } + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder", + "isSdoSelected": "No", + "sdoPreamblesTempList": null, + "sdoCafcassOrCymruTempList": null, + "sdoLocalAuthorityTempList": null, + "sdoCourtTempList": null, + "sdoDocumentationAndEvidenceTempList": null, + "sdoOtherTempList": null, + "sdoHearingsAndNextStepsTempList": null, + "listElementsSetToDefaultValue": null, + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": "Special guardianship order (C43A)\n\n<\/span>", + "daOrderForCaCase": "No", + "typeOfC21Order": "", + "isTheOrderByConsent": "Yes", + "wasTheOrderApprovedAtHearing": "No", + "judgeOrMagistrateTitle": "herHonourJudge", + "judgeOrMagistratesLastName": "Judge First", + "justiceLegalAdviserFullName": "Judge Last", + "dateOrderMade": "2024-07-14", + "isTheOrderAboutAllChildren": "Yes", + "recitalsOrPreamble": "Some details", + "orderDirections": null, + "appointedGuardianName": [ + { + "value": { + "guardianFullName": "#{PRLRandomString}First #{PRLRandomString}Last" + }, + "id": "#{guardianId}" + } + ], + "previewOrderDocWelsh": null, + "previewOrderDoc": { + "document_url": "#{document_url}", + "document_binary_url": "#{document_url}/binary", + "document_filename": "Special_Guardianship_Order_C43A_Draft.pdf", + "document_hash": "#{document_hash}" + } + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLCheckYourAnswers.json b/src/gatling/resources/bodies/prl/c100/PRLCheckYourAnswers.json index ce40375d..186736a5 100644 --- a/src/gatling/resources/bodies/prl/c100/PRLCheckYourAnswers.json +++ b/src/gatling/resources/bodies/prl/c100/PRLCheckYourAnswers.json @@ -95,7 +95,7 @@ } ] }, - "applicantCaseName": "Perf Test Case C100" + "applicantCaseName": "Perf Test C100 Case" }, "event": { "id": "solicitorCreate", diff --git a/src/gatling/resources/bodies/prl/c100/PRLCreateOrder.json b/src/gatling/resources/bodies/prl/c100/PRLCreateOrder.json new file mode 100644 index 00000000..19ec2a2f --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLCreateOrder.json @@ -0,0 +1,18 @@ +{ + "data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder" + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder" + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLGuardianName.json b/src/gatling/resources/bodies/prl/c100/PRLGuardianName.json new file mode 100644 index 00000000..c22eb1c0 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLGuardianName.json @@ -0,0 +1,54 @@ +{ + "data": { + "appointedGuardianName": [ + { + "value": { + "guardianFullName": "#{PRLRandomString}First #{PRLRandomString}Last" + }, + "id": "#{guardianId}" + } + ] + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder", + "isSdoSelected": "No", + "sdoPreamblesTempList": null, + "sdoCafcassOrCymruTempList": null, + "sdoLocalAuthorityTempList": null, + "sdoCourtTempList": null, + "sdoDocumentationAndEvidenceTempList": null, + "sdoOtherTempList": null, + "sdoHearingsAndNextStepsTempList": null, + "listElementsSetToDefaultValue": null, + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": "Special guardianship order (C43A)\n\n<\/span>", + "daOrderForCaCase": "No", + "typeOfC21Order": "", + "isTheOrderByConsent": "Yes", + "wasTheOrderApprovedAtHearing": "No", + "judgeOrMagistrateTitle": "herHonourJudge", + "judgeOrMagistratesLastName": "Judge First", + "justiceLegalAdviserFullName": "Judge Last", + "dateOrderMade": "2024-07-14", + "isTheOrderAboutAllChildren": "Yes", + "recitalsOrPreamble": "Some details", + "orderDirections": null, + "appointedGuardianName": [ + { + "value": { + "guardianFullName": "#{PRLRandomString}First #{PRLRandomString}Last" + }, + "id": "#{guardianId}" + } + ] + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLLocalCourt.json b/src/gatling/resources/bodies/prl/c100/PRLLocalCourt.json new file mode 100644 index 00000000..20558ca9 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLLocalCourt.json @@ -0,0 +1,166 @@ +{ + "data": { + "courtList": { + "value": { + "code": "234946:", + "label": "Swansea Civil Justice Centre - Quay West, Quay Parade - SA1 1SP" + }, + "list_items": [ + { + "code": "827534:", + "label": "Aberystwyth Justice Centre - Trefechan - SY23 1AS" + }, + { + "code": "101959:", + "label": "Carmarthen County Court and Tribunal Hearing Centre - Hill House, Picton Terrace, Carmarthen - SA31 3BT" + }, + { + "code": "816875:family.chelmsford.countycourt@test.com", + "label": "Chelmsford County and Family Court - Priory Place - CM2 0PP" + }, + { + "code": "497679:Coventryprivatelawapplications@test.com", + "label": "Coventry Combined Court Centre - Much Park Street, Coventry - CV1 2SN" + }, + { + "code": "898213:eastlondonfamilypr@test.com", + "label": "East London Family Court - Westferry Circus (Westferry House), Part Ground, 6th And 7th Floors, 11 Westferry Circus, Canary Wharf, London, E14 4HE - E14 4HD" + }, + { + "code": "735217:family.exeter.countycourt@test.com", + "label": "Exeter Combined Court Centre - Southernhay Gardens, Exeter - EX1 1UH" + }, + { + "code": "198592:family.gloucester.countycourt@test.com", + "label": "Gloucestershire Family and Civil Court - Kimbrose Way, Gloucester Docks - GL1 2DE" + }, + { + "code": "700596:", + "label": "Haverfordwest County and Family - Penffynnon, Hawthorn Rise - SA61 2AZ" + }, + { + "code": "195520:hull.private.filing@test.com", + "label": "Kingston-upon-Hull Combined Court Centre - The Combined Court Centre - HU1 2EZ" + }, + { + "code": "195465:PLP.LINCOLN@test.com", + "label": "Lincoln County Court and Family Court - High Street - LN5 7PS" + }, + { + "code": "390932:", + "label": "Llanelli Law Courts - Town Hall Square, Llanelli - SA15 3AW" + }, + { + "code": "487294:KentPRL@test.com", + "label": "Medway County Court and Family Court - 47-67 High Street Chatham Kent - ME4 4DW" + }, + { + "code": "366796:newcastle.c100applications@test.com", + "label": "Newcastle Civil & Family Courts and Tribunals Centre - Barras Bridge, Newcastle-Upon-Tyne - NE99 1NA" + }, + { + "code": "471569:family.peterborough.countycourt@test.com", + "label": "Peterborough Combined Court Centre - Crown Buildings, Rivergate - PE1 1EJ" + }, + { + "code": "846055:", + "label": "Port Talbot Justice Centre - Harbourside Road - SA13 1SB" + }, + { + "code": "43104:family.southampton.countycourt@test.com", + "label": "Southampton Combined Court Centre - The Courts of Justice, London Road - SO15 2XQ" + }, + { + "code": "234946:", + "label": "Swansea Civil Justice Centre - Quay West, Quay Parade - SA1 1SP" + } + ] + } + }, + "event": { + "id": "issueAndSendToLocalCourtCallback", + "summary": "", + "description": "" + }, + "event_data": { + "courtList": { + "value": { + "code": "234946:", + "label": "Swansea Civil Justice Centre - Quay West, Quay Parade - SA1 1SP" + }, + "list_items": [ + { + "code": "827534:", + "label": "Aberystwyth Justice Centre - Trefechan - SY23 1AS" + }, + { + "code": "101959:", + "label": "Carmarthen County Court and Tribunal Hearing Centre - Hill House, Picton Terrace, Carmarthen - SA31 3BT" + }, + { + "code": "816875:family.chelmsford.countycourt@test.com", + "label": "Chelmsford County and Family Court - Priory Place - CM2 0PP" + }, + { + "code": "497679:Coventryprivatelawapplications@test.com", + "label": "Coventry Combined Court Centre - Much Park Street, Coventry - CV1 2SN" + }, + { + "code": "898213:eastlondonfamilypr@test.com", + "label": "East London Family Court - Westferry Circus (Westferry House), Part Ground, 6th And 7th Floors, 11 Westferry Circus, Canary Wharf, London, E14 4HE - E14 4HD" + }, + { + "code": "735217:family.exeter.countycourt@test.com", + "label": "Exeter Combined Court Centre - Southernhay Gardens, Exeter - EX1 1UH" + }, + { + "code": "198592:family.gloucester.countycourt@test.com", + "label": "Gloucestershire Family and Civil Court - Kimbrose Way, Gloucester Docks - GL1 2DE" + }, + { + "code": "700596:", + "label": "Haverfordwest County and Family - Penffynnon, Hawthorn Rise - SA61 2AZ" + }, + { + "code": "195520:hull.private.filing@test.com", + "label": "Kingston-upon-Hull Combined Court Centre - The Combined Court Centre - HU1 2EZ" + }, + { + "code": "195465:PLP.LINCOLN@test.com", + "label": "Lincoln County Court and Family Court - High Street - LN5 7PS" + }, + { + "code": "390932:", + "label": "Llanelli Law Courts - Town Hall Square, Llanelli - SA15 3AW" + }, + { + "code": "487294:KentPRL@test.com", + "label": "Medway County Court and Family Court - 47-67 High Street Chatham Kent - ME4 4DW" + }, + { + "code": "366796:newcastle.c100applications@test.com", + "label": "Newcastle Civil & Family Courts and Tribunals Centre - Barras Bridge, Newcastle-Upon-Tyne - NE99 1NA" + }, + { + "code": "471569:family.peterborough.countycourt@test.com", + "label": "Peterborough Combined Court Centre - Crown Buildings, Rivergate - PE1 1EJ" + }, + { + "code": "846055:", + "label": "Port Talbot Justice Centre - Harbourside Road - SA13 1SB" + }, + { + "code": "43104:family.southampton.countycourt@test.com", + "label": "Southampton Combined Court Centre - The Courts of Justice, London Road - SO15 2XQ" + }, + { + "code": "234946:", + "label": "Swansea Civil Justice Centre - Quay West, Quay Parade - SA1 1SP" + } + ] + } + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLLocalCourtSubmit.json b/src/gatling/resources/bodies/prl/c100/PRLLocalCourtSubmit.json new file mode 100644 index 00000000..908a515a --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLLocalCourtSubmit.json @@ -0,0 +1,87 @@ +{ + "data": { + "courtList": { + "value": { + "code": "234946:", + "label": "Swansea Civil Justice Centre - Quay West, Quay Parade - SA1 1SP" + }, + "list_items": [ + { + "code": "827534:", + "label": "Aberystwyth Justice Centre - Trefechan - SY23 1AS" + }, + { + "code": "101959:", + "label": "Carmarthen County Court and Tribunal Hearing Centre - Hill House, Picton Terrace, Carmarthen - SA31 3BT" + }, + { + "code": "816875:family.chelmsford.countycourt@test.com", + "label": "Chelmsford County and Family Court - Priory Place - CM2 0PP" + }, + { + "code": "497679:Coventryprivatelawapplications@test.com", + "label": "Coventry Combined Court Centre - Much Park Street, Coventry - CV1 2SN" + }, + { + "code": "898213:eastlondonfamilypr@test.com", + "label": "East London Family Court - Westferry Circus (Westferry House), Part Ground, 6th And 7th Floors, 11 Westferry Circus, Canary Wharf, London, E14 4HE - E14 4HD" + }, + { + "code": "735217:family.exeter.countycourt@test.com", + "label": "Exeter Combined Court Centre - Southernhay Gardens, Exeter - EX1 1UH" + }, + { + "code": "198592:family.gloucester.countycourt@test.com", + "label": "Gloucestershire Family and Civil Court - Kimbrose Way, Gloucester Docks - GL1 2DE" + }, + { + "code": "700596:", + "label": "Haverfordwest County and Family - Penffynnon, Hawthorn Rise - SA61 2AZ" + }, + { + "code": "195520:hull.private.filing@test.com", + "label": "Kingston-upon-Hull Combined Court Centre - The Combined Court Centre - HU1 2EZ" + }, + { + "code": "195465:PLP.LINCOLN@test.com", + "label": "Lincoln County Court and Family Court - High Street - LN5 7PS" + }, + { + "code": "390932:", + "label": "Llanelli Law Courts - Town Hall Square, Llanelli - SA15 3AW" + }, + { + "code": "487294:KentPRL@test.com", + "label": "Medway County Court and Family Court - 47-67 High Street Chatham Kent - ME4 4DW" + }, + { + "code": "366796:newcastle.c100applications@test.com", + "label": "Newcastle Civil & Family Courts and Tribunals Centre - Barras Bridge, Newcastle-Upon-Tyne - NE99 1NA" + }, + { + "code": "471569:family.peterborough.countycourt@test.com", + "label": "Peterborough Combined Court Centre - Crown Buildings, Rivergate - PE1 1EJ" + }, + { + "code": "846055:", + "label": "Port Talbot Justice Centre - Harbourside Road - SA13 1SB" + }, + { + "code": "43104:family.southampton.countycourt@test.com", + "label": "Southampton Combined Court Centre - The Courts of Justice, London Road - SO15 2XQ" + }, + { + "code": "234946:", + "label": "Swansea Civil Justice Centre - Quay West, Quay Parade - SA1 1SP" + } + ] + } + }, + "event": { + "id": "issueAndSendToLocalCourtCallback", + "summary": "", + "description": "" + }, + "event_token": "#{event_token}", + "ignore_warning": false +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLOrderDetails.json b/src/gatling/resources/bodies/prl/c100/PRLOrderDetails.json new file mode 100644 index 00000000..edf58110 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLOrderDetails.json @@ -0,0 +1,49 @@ +{ + "data": { + "daOrderForCaCase": "No", + "typeOfC21Order": "", + "isTheOrderByConsent": "Yes", + "wasTheOrderApprovedAtHearing": "No", + "judgeOrMagistrateTitle": "districtJudge", + "judgeOrMagistratesLastName": "#{JudgeLastName}", + "justiceLegalAdviserFullName": "#{LegalAdviserName}", + "dateOrderMade": "#{todayDate}", + "isTheOrderAboutAllChildren": "Yes", + "recitalsOrPreamble": "Some details", + "orderDirections": null + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder", + "isSdoSelected": "No", + "sdoPreamblesTempList": null, + "sdoCafcassOrCymruTempList": null, + "sdoLocalAuthorityTempList": null, + "sdoCourtTempList": null, + "sdoDocumentationAndEvidenceTempList": null, + "sdoOtherTempList": null, + "sdoHearingsAndNextStepsTempList": null, + "listElementsSetToDefaultValue": null, + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": "Special guardianship order (C43A)\n\n<\/span>", + "daOrderForCaCase": "No", + "typeOfC21Order": "", + "isTheOrderByConsent": "Yes", + "wasTheOrderApprovedAtHearing": "No", + "judgeOrMagistrateTitle": "districtJudge", + "judgeOrMagistratesLastName": "#{JudgeLastName}", + "justiceLegalAdviserFullName": "#{LegalAdviserName}", + "dateOrderMade": "#{OrderDateYear}-#{OrderDateMonth}-#{OrderDateMonth}", + "isTheOrderAboutAllChildren": "Yes", + "recitalsOrPreamble": "Some details", + "orderDirections": null + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLOrderRecipients.json b/src/gatling/resources/bodies/prl/c100/PRLOrderRecipients.json new file mode 100644 index 00000000..484346bb --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLOrderRecipients.json @@ -0,0 +1,55 @@ +{ + "data": { + "amendOrderSelectCheckOptions": "noCheck" + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder", + "isSdoSelected": "No", + "sdoPreamblesTempList": null, + "sdoCafcassOrCymruTempList": null, + "sdoLocalAuthorityTempList": null, + "sdoCourtTempList": null, + "sdoDocumentationAndEvidenceTempList": null, + "sdoOtherTempList": null, + "sdoHearingsAndNextStepsTempList": null, + "listElementsSetToDefaultValue": null, + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": "Special guardianship order (C43A)\n\n<\/span>", + "daOrderForCaCase": "No", + "typeOfC21Order": "", + "isTheOrderByConsent": "Yes", + "wasTheOrderApprovedAtHearing": "No", + "judgeOrMagistrateTitle": "districtJudge", + "judgeOrMagistratesLastName": "#{JudgeLastName}", + "justiceLegalAdviserFullName": "#{LegalAdviserName}", + "dateOrderMade": "#{todayDate}", + "isTheOrderAboutAllChildren": "Yes", + "recitalsOrPreamble": "Some details", + "orderDirections": null, + "appointedGuardianName": [ + { + "value": { + "guardianFullName": "#{PRLRandomString}First #{PRLRandomString}Last" + }, + "id": "#{guardianId}" + } + ], + "previewOrderDocWelsh": null, + "previewOrderDoc": { + "document_url": "#{document_url}", + "document_binary_url": "#{document_url}/binary", + "document_filename": "Special_Guardianship_Order_C43A_Draft.pdf", + "document_hash": "#{document_hash}" + }, + "amendOrderSelectCheckOptions": "noCheck" + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLOrderServe.json b/src/gatling/resources/bodies/prl/c100/PRLOrderServe.json new file mode 100644 index 00000000..fd934e99 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLOrderServe.json @@ -0,0 +1,62 @@ +{ + "data": { + "selectTypeOfOrder": "interim", + "cafcassOrCymruNeedToProvideReport": "No", + "orderEndsInvolvementOfCafcassOrCymru": "No", + "doYouWantToServeOrder": "Yes" + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder", + "isSdoSelected": "No", + "sdoPreamblesTempList": null, + "sdoCafcassOrCymruTempList": null, + "sdoLocalAuthorityTempList": null, + "sdoCourtTempList": null, + "sdoDocumentationAndEvidenceTempList": null, + "sdoOtherTempList": null, + "sdoHearingsAndNextStepsTempList": null, + "listElementsSetToDefaultValue": null, + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": "Special guardianship order (C43A)\n\n<\/span>", + "daOrderForCaCase": "No", + "typeOfC21Order": "", + "isTheOrderByConsent": "Yes", + "wasTheOrderApprovedAtHearing": "No", + "judgeOrMagistrateTitle": "districtJudge", + "judgeOrMagistratesLastName": "#{JudgeLastName}", + "justiceLegalAdviserFullName": "#{LegalAdviserName}", + "dateOrderMade": "#{todayDate}", + "isTheOrderAboutAllChildren": "Yes", + "recitalsOrPreamble": "Some details", + "orderDirections": null, + "appointedGuardianName": [ + { + "value": { + "guardianFullName": "#{PRLRandomString}First #{PRLRandomString}Last" + }, + "id": "#{guardianId}" + } + ], + "previewOrderDocWelsh": null, + "previewOrderDoc": { + "document_url": "#{document_url}", + "document_binary_url": "#{document_url}/binary", + "document_filename": "Special_Guardianship_Order_C43A_Draft.pdf", + "document_hash": "#{document_hash}" + }, + "amendOrderSelectCheckOptions": "noCheck", + "selectTypeOfOrder": "interim", + "cafcassOrCymruNeedToProvideReport": "No", + "orderEndsInvolvementOfCafcassOrCymru": "No", + "doYouWantToServeOrder": "Yes" + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLOrderSubmit.json b/src/gatling/resources/bodies/prl/c100/PRLOrderSubmit.json new file mode 100644 index 00000000..d637dd5e --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLOrderSubmit.json @@ -0,0 +1,86 @@ +{ + "data": { + "manageOrderHeader1": null, + "caseTypeOfApplication": "C100", + "manageOrdersOptions": "createAnOrder", + "performingUser": null, + "performingAction": null, + "judgeLaReviewRequired": null, + "isHearingTaskNeeded": null, + "hearingOptionSelected": null, + "isOrderApproved": null, + "whoApprovedTheOrder": null, + "isMultipleHearingSelected": null, + "judgeLaManagerReviewRequired": null, + "isSdoSelected": "No", + "sdoPreamblesTempList": null, + "sdoCafcassOrCymruTempList": null, + "sdoLocalAuthorityTempList": null, + "sdoCourtTempList": null, + "sdoDocumentationAndEvidenceTempList": null, + "sdoOtherTempList": null, + "sdoHearingsAndNextStepsTempList": null, + "listElementsSetToDefaultValue": null, + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": "Special guardianship order (C43A)\n\n<\/span>", + "daOrderForCaCase": "No", + "typeOfC21Order": "", + "isTheOrderByConsent": "Yes", + "wasTheOrderApprovedAtHearing": "No", + "judgeOrMagistrateTitle": "districtJudge", + "judgeOrMagistratesLastName": "#{JudgeLastName}", + "justiceLegalAdviserFullName": "#{LegalAdviserName}", + "dateOrderMade": "#{todayDate}", + "isTheOrderAboutAllChildren": "Yes", + "recitalsOrPreamble": "Some details", + "orderDirections": null, + "appointedGuardianName": [ + { + "value": { + "guardianFullName": "#{PRLRandomString}First #{PRLRandomString}Last" + }, + "id": "#{guardianId}" + } + ], + "previewOrderDoc": { + "document_url": "#{document_url}", + "document_binary_url": "#{document_url}/binary", + "document_filename": "Special_Guardianship_Order_C43A_Draft.pdf", + "document_hash": "#{document_hash}" + }, + "amendOrderSelectCheckOptions": "noCheck", + "selectTypeOfOrder": "interim", + "cafcassOrCymruNeedToProvideReport": "No", + "orderEndsInvolvementOfCafcassOrCymru": "No", + "doYouWantToServeOrder": "Yes", + "serveOrderDynamicList": { + "value": [ + { + "code": "#{orderCode}", + "label": "#{orderLabel}" + } + ], + "list_items": [ + { + "code": "#{orderCode}", + "label": "#{orderLabel}" + } + ] + }, + "serveOrderAdditionalDocuments": [], + "ordersNeedToBeServed": "Yes", + "isOnlyC47aOrderSelectedToServe": "No", + "displayLegalRepOption": "No", + "serveToRespondentOptions": "Yes", + "servingOptionsForNonLegalRep": "courtBailiff", + "cafcassCymruServedOptions": "No", + "serveOtherPartiesCA": [] + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_token": "#{event_token}", + "ignore_warning": false +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLOrderToServeList.json b/src/gatling/resources/bodies/prl/c100/PRLOrderToServeList.json new file mode 100644 index 00000000..7b019d53 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLOrderToServeList.json @@ -0,0 +1,90 @@ +{ + "data": { + "serveOrderDynamicList": { + "value": [ + { + "code": "#{orderCode}", + "label": "#{orderLabel}" + } + ], + "list_items": [ + { + "code": "#{orderCode}", + "label": "#{orderLabel}" + } + ] + }, + "serveOrderAdditionalDocuments": [], + "isOnlyC47aOrderSelectedToServe": null + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder", + "isSdoSelected": "No", + "sdoPreamblesTempList": null, + "sdoCafcassOrCymruTempList": null, + "sdoLocalAuthorityTempList": null, + "sdoCourtTempList": null, + "sdoDocumentationAndEvidenceTempList": null, + "sdoOtherTempList": null, + "sdoHearingsAndNextStepsTempList": null, + "listElementsSetToDefaultValue": null, + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": "Special guardianship order (C43A)\n\n<\/span>", + "daOrderForCaCase": "No", + "typeOfC21Order": "", + "isTheOrderByConsent": "Yes", + "wasTheOrderApprovedAtHearing": "No", + "judgeOrMagistrateTitle": "districtJudge", + "judgeOrMagistratesLastName": "#{JudgeLastName}", + "justiceLegalAdviserFullName": "#{LegalAdviserName}", + "dateOrderMade": "#{todayDate}", + "isTheOrderAboutAllChildren": "Yes", + "recitalsOrPreamble": "Some details", + "orderDirections": null, + "appointedGuardianName": [ + { + "value": { + "guardianFullName": "#{PRLRandomString}First #{PRLRandomString}Last" + }, + "id": "#{guardianId}" + } + ], + "previewOrderDocWelsh": null, + "previewOrderDoc": { + "document_url": "#{document_url}", + "document_binary_url": "#{document_url}binary", + "document_filename": "Special_Guardianship_Order_C43A_Draft.pdf", + "document_hash": "#{document_hash}" + }, + "amendOrderSelectCheckOptions": "noCheck", + "selectTypeOfOrder": "interim", + "cafcassOrCymruNeedToProvideReport": "No", + "orderEndsInvolvementOfCafcassOrCymru": "No", + "doYouWantToServeOrder": "Yes", + "serveOrderDynamicList": { + "value": [ + { + "code": "#{orderCode}", + "label": "#{orderLabel}" + } + ], + "list_items": [ + { + "code": "#{orderCode}", + "label": "#{orderLabel}" + } + ] + }, + "serveOrderAdditionalDocuments": [], + "isOnlyC47aOrderSelectedToServe": null + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLOrderToServeRespondentOptions.json b/src/gatling/resources/bodies/prl/c100/PRLOrderToServeRespondentOptions.json new file mode 100644 index 00000000..a8d25dea --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLOrderToServeRespondentOptions.json @@ -0,0 +1,82 @@ +{ + "data": { + "serveToRespondentOptions": "Yes", + "servingOptionsForNonLegalRep": "courtBailiff", + "cafcassCymruServedOptions": "No", + "serveOtherPartiesCA": [] + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder", + "isSdoSelected": "No", + "sdoPreamblesTempList": null, + "sdoCafcassOrCymruTempList": null, + "sdoLocalAuthorityTempList": null, + "sdoCourtTempList": null, + "sdoDocumentationAndEvidenceTempList": null, + "sdoOtherTempList": null, + "sdoHearingsAndNextStepsTempList": null, + "listElementsSetToDefaultValue": null, + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": "Special guardianship order (C43A)\n\n<\/span>", + "daOrderForCaCase": "No", + "typeOfC21Order": "", + "isTheOrderByConsent": "Yes", + "wasTheOrderApprovedAtHearing": "No", + "judgeOrMagistrateTitle": "districtJudge", + "judgeOrMagistratesLastName": "#{JudgeLastName}", + "justiceLegalAdviserFullName": "#{LegalAdviserName}", + "dateOrderMade": "#{todayDate}", + "isTheOrderAboutAllChildren": "Yes", + "recitalsOrPreamble": "Some details", + "orderDirections": null, + "appointedGuardianName": [ + { + "value": { + "guardianFullName": "#{PRLRandomString}First #{PRLRandomString}Last" + }, + "id": "#{guardianId}" + } + ], + "previewOrderDocWelsh": null, + "previewOrderDoc": { + "document_url": "#{document_url}", + "document_binary_url": "#{document_url}/binary", + "document_filename": "Special_Guardianship_Order_C43A_Draft.pdf", + "document_hash": "#{document_hash}" + }, + "amendOrderSelectCheckOptions": "noCheck", + "selectTypeOfOrder": "interim", + "cafcassOrCymruNeedToProvideReport": "No", + "orderEndsInvolvementOfCafcassOrCymru": "No", + "doYouWantToServeOrder": "Yes", + "serveOrderDynamicList": { + "value": [ + { + "code": "#{orderCode}", + "label": "#{orderLabel}" + } + ], + "list_items": [ + { + "code": "#{orderCode}", + "label": "#{orderLabel}" + } + ] + }, + "serveOrderAdditionalDocuments": [], + "isOnlyC47aOrderSelectedToServe": "No", + "serveToRespondentOptions": "Yes", + "servingOptionsForNonLegalRep": "courtBailiff", + "cafcassCymruServedOptions": "No", + "serveOtherPartiesCA": [] + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLSelectOrder.json b/src/gatling/resources/bodies/prl/c100/PRLSelectOrder.json new file mode 100644 index 00000000..013f501a --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLSelectOrder.json @@ -0,0 +1,29 @@ +{ + "data": { + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": null + }, + "event": { + "id": "manageOrders", + "summary": "", + "description": "" + }, + "event_data": { + "manageOrderHeader1": null, + "manageOrdersOptions": "createAnOrder", + "isSdoSelected": "No", + "sdoPreamblesTempList": null, + "sdoCafcassOrCymruTempList": null, + "sdoLocalAuthorityTempList": null, + "sdoCourtTempList": null, + "sdoDocumentationAndEvidenceTempList": null, + "sdoOtherTempList": null, + "sdoHearingsAndNextStepsTempList": null, + "listElementsSetToDefaultValue": null, + "createSelectOrderOptions": "specialGuardianShip", + "selectedOrder": null + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLSoADocuments.json b/src/gatling/resources/bodies/prl/c100/PRLSoADocuments.json new file mode 100644 index 00000000..989c0e10 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLSoADocuments.json @@ -0,0 +1,72 @@ +{ + "data": { + "serviceOfApplicationHeader": null, + "isConfidential": "No", + "serviceOfApplicationScreen1": { + "value": [ + { + "code": "#{serviceOfApplicationScreenCode}", + "label": "#{serviceOfApplicationScreenLabel}" + } + ], + "list_items": [ + { + "code": "#{serviceOfApplicationScreenCode}", + "label": "#{serviceOfApplicationScreenLabel}" + } + ] + }, + "pd36qLetter": { + "document_url": "#{DocumentURLPD36Q}", + "document_binary_url": "#{DocumentURLPD36Q}/binary", + "document_filename": "120KB.pdf" + }, + "specialArrangementsLetter": { + "document_url": "#{DocumentURLSpecial}", + "document_binary_url": "#{DocumentURLSpecial}/binary", + "document_filename": "TestFile.pdf" + }, + "additionalDocumentsList": [], + "soaIsOrderListEmpty": "No", + "missingAddressWarningText": "" + }, + "event": { + "id": "serviceOfApplication", + "summary": "", + "description": "" + }, + "event_data": { + "serviceOfApplicationHeader": null, + "isConfidential": "No", + "serviceOfApplicationScreen1": { + "value": [ + { + "code": "#{serviceOfApplicationScreenCode}", + "label": "#{serviceOfApplicationScreenLabel}" + } + ], + "list_items": [ + { + "code": "#{serviceOfApplicationScreenCode}", + "label": "#{serviceOfApplicationScreenLabel}" + } + ] + }, + "pd36qLetter": { + "document_url": "#{DocumentURLPD36Q}", + "document_binary_url": "#{DocumentURLPD36Q}/binary", + "document_filename": "120KB.pdf" + }, + "specialArrangementsLetter": { + "document_url": "#{DocumentURLSpecial}", + "document_binary_url": "#{DocumentURLSpecial}/binary", + "document_filename": "TestFile.pdf" + }, + "additionalDocumentsList": [], + "soaIsOrderListEmpty": "No", + "missingAddressWarningText": "" + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLSoARecipients.json b/src/gatling/resources/bodies/prl/c100/PRLSoARecipients.json new file mode 100644 index 00000000..ab6d7850 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLSoARecipients.json @@ -0,0 +1,95 @@ +{ + "data": { + "soaServeToRespondentOptions": "No", + "soaRecipientsOptions": { + "value": [ + { + "code": "#{serviceOfApplicationApplicantCode}", + "label": "#{serviceOfApplicationApplicantName}" + }, + { + "code": "#{serviceOfApplicationRespondentCode}", + "label": "#{serviceOfApplicationRespondentName}" + } + ], + "list_items": [ + { + "code": "#{serviceOfApplicationApplicantCode}", + "label": "#{serviceOfApplicationApplicantName}" + }, + { + "code": "#{serviceOfApplicationRespondentCode}", + "label": "#{serviceOfApplicationRespondentName}" + } + ] + }, + "soaCafcassCymruServedOptions": "Yes", + "soaCafcassCymruEmail": "test@testcafcass.com", + "soaServeLocalAuthorityYesOrNo": "No" + }, + "event": { + "id": "serviceOfApplication", + "summary": "", + "description": "" + }, + "event_data": { + "serviceOfApplicationHeader": null, + "isConfidential": "No", + "serviceOfApplicationScreen1": { + "value": [ + { + "code": "#{serviceOfApplicationScreenCode}", + "label": "#{serviceOfApplicationScreenLabel}" + } + ], + "list_items": [ + { + "code": "#{serviceOfApplicationScreenCode}", + "label": "#{serviceOfApplicationScreenLabel}" + } + ] + }, + "pd36qLetter": { + "document_url": "#{DocumentURLPD36Q}", + "document_binary_url": "#{DocumentURLPD36Q}/binary", + "document_filename": "120KB.pdf" + }, + "specialArrangementsLetter": { + "document_url": "#{DocumentURLSpecial}", + "document_binary_url": "#{DocumentURLSpecial}/binary", + "document_filename": "TestFile.pdf" + }, + "additionalDocumentsList": [], + "soaIsOrderListEmpty": "No", + "missingAddressWarningText": "", + "soaServeToRespondentOptions": "No", + "soaRecipientsOptions": { + "value": [ + { + "code": "#{serviceOfApplicationApplicantCode}", + "label": "#{serviceOfApplicationApplicantName}" + }, + { + "code": "#{serviceOfApplicationRespondentCode}", + "label": "#{serviceOfApplicationRespondentName}" + } + ], + "list_items": [ + { + "code": "#{serviceOfApplicationApplicantCode}", + "label": "#{serviceOfApplicationApplicantName}" + }, + { + "code": "#{serviceOfApplicationRespondentCode}", + "label": "#{serviceOfApplicationRespondentName}" + } + ] + }, + "soaCafcassCymruServedOptions": "Yes", + "soaCafcassCymruEmail": "test@testcafcass.com", + "soaServeLocalAuthorityYesOrNo": "No" + }, + "event_token": "#{event_token}", + "ignore_warning": false, + "case_reference": "#{caseId}" +} \ No newline at end of file diff --git a/src/gatling/resources/bodies/prl/c100/PRLSoASubmit.json b/src/gatling/resources/bodies/prl/c100/PRLSoASubmit.json new file mode 100644 index 00000000..c15b7cb1 --- /dev/null +++ b/src/gatling/resources/bodies/prl/c100/PRLSoASubmit.json @@ -0,0 +1,72 @@ +{ + "data": { + "serviceOfApplicationHeader": null, + "isConfidential": "No", + "sentDocumentPlaceHolder": "
\n\n\n\n

\n\nDocuments served in the pack\n\n<\/h3>\n\n<\/summary>\n\n
\n\nCertain documents will be automatically included in the pack this is served on parties(the people in the case)\n\nThis includes\n\n