From 4dfa97754d561ab6c5f6a319e627edd22742957f Mon Sep 17 00:00:00 2001 From: Yuyutsu Rai <113098086+Yuyuutsu@users.noreply.github.com> Date: Fri, 27 Oct 2023 11:58:39 +0100 Subject: [PATCH] Update benchmark journey to use complex scenarios (#136) Co-authored-by: katie-gardner Co-authored-by: Katie Gardner_ONS <114991656+katie-gardner@users.noreply.github.com> --- README.md | 1 - requests/test_benchmark_business.json | 139 --- .../test_benchmark_business_happy_path.json | 570 ++++++++++ requests/test_benchmark_business_pdfkit.json | 143 --- ...t_benchmark_business_pdfkit_optimised.json | 143 --- .../test_benchmark_business_unhappy_path.json | 981 ++++++++++++++++++ requests/test_benchmark_business_weasy.json | 143 --- 7 files changed, 1551 insertions(+), 569 deletions(-) delete mode 100644 requests/test_benchmark_business.json create mode 100644 requests/test_benchmark_business_happy_path.json delete mode 100644 requests/test_benchmark_business_pdfkit.json delete mode 100644 requests/test_benchmark_business_pdfkit_optimised.json create mode 100644 requests/test_benchmark_business_unhappy_path.json delete mode 100644 requests/test_benchmark_business_weasy.json diff --git a/README.md b/README.md index 1cedd5e3..89876088 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,6 @@ N.B Although the above example uses the same url in the redirect as the GET, it Manually adding in a redirect is only needed once for each list_item_id and you can do multiple at the same time. --- - ## Deployment with [Helm](https://helm.sh/) To deploy this application with helm, you must have a kubernetes cluster already running and be logged into the cluster. diff --git a/requests/test_benchmark_business.json b/requests/test_benchmark_business.json deleted file mode 100644 index b7f8cc74..00000000 --- a/requests/test_benchmark_business.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "requests": [ - { - "method": "GET", - "url": "/questionnaire/introduction-block/" - }, - { - "method": "POST", - "url": "/questionnaire/introduction-block/", - "data": {} - }, - { - "method": "GET", - "url": "/questionnaire/block379/" - }, - { - "method": "POST", - "url": "/questionnaire/block379/", - "data": { - "answer434": "No" - } - }, - { - "method": "GET", - "url": "/questionnaire/block380/" - }, - { - "method": "POST", - "url": "/questionnaire/block380/", - "data": { - "answerfrom-day": "1", - "answerfrom-month": "05", - "answerfrom-year": "2019", - "answerto-day": "1", - "answerto-month": "08", - "answerto-year": "2019" - } - }, - { - "method": "GET", - "url": "/questionnaire/block381/" - }, - { - "method": "POST", - "url": "/questionnaire/block381/", - "data": { - "answer436": "100", - "answer437": "100" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4616/" - }, - { - "method": "POST", - "url": "/questionnaire/block4616/", - "data": { - "answer5873": "Yes" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4952/" - }, - { - "method": "POST", - "url": "/questionnaire/block4952/", - "data": { - "answer6287": "Yes" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4953/" - }, - { - "method": "POST", - "url": "/questionnaire/block4953/", - "data": { - "answer6288": "One-off increase in stocks" - } - }, - { - "method": "GET", - "url": "/questionnaire/block383/" - }, - { - "method": "POST", - "url": "/questionnaire/block383/", - "data": { - "answer439": "Differences textarea" - } - }, - { - "method": "GET", - "url": "/questionnaire/submit/" - }, - { - "method": "POST", - "url": "/questionnaire/submit/", - "data": {} - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - }, - { - "method": "GET", - "url": "/submitted/view-response/" - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - }, - { - "method": "GET", - "url": "/submitted/feedback/send" - }, - { - "method": "POST", - "url": "/submitted/feedback/send", - "data": { - "feedback-type": "The survey questions", - "feedback-text": "Feedback" - } - }, - { - "method": "GET", - "url": "/submitted/feedback/sent" - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - } - ], - "schema_name": "test_benchmark_business", - "schema_url": "https://storage.googleapis.com/eq-questionnaire-schemas/test_benchmark_business.json" -} \ No newline at end of file diff --git a/requests/test_benchmark_business_happy_path.json b/requests/test_benchmark_business_happy_path.json new file mode 100644 index 00000000..45837e9c --- /dev/null +++ b/requests/test_benchmark_business_happy_path.json @@ -0,0 +1,570 @@ +{ + "requests": [ + { + "method": "GET", + "url": "/questionnaire/introduction-block/" + }, + { + "method": "POST", + "url": "/questionnaire/introduction-block/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/block-379/" + }, + { + "method": "POST", + "url": "/questionnaire/block-379/", + "data": { + "answer-434": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-381/" + }, + { + "method": "POST", + "url": "/questionnaire/block-381/", + "data": { + "answer-436": "100", + "answer-437": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-4616/" + }, + { + "method": "POST", + "url": "/questionnaire/block-4616/", + "data": { + "answer-5873": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-4952/" + }, + { + "method": "POST", + "url": "/questionnaire/block-4952/", + "data": { + "answer-6287": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-4953/" + }, + { + "method": "POST", + "url": "/questionnaire/block-4953/", + "data": { + "answer-6288": "Start or end of long term project" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-383/" + }, + { + "method": "POST", + "url": "/questionnaire/block-383/", + "data": { + "answer-439": "Hi eQ team \ud83d\ude0d" + } + }, + { + "method": "GET", + "url": "/questionnaire/primary-person-list-collector/" + }, + { + "method": "POST", + "url": "/questionnaire/primary-person-list-collector/", + "data": { + "you-live-here": "Yes" + }, + "redirect_route": "/questionnaire/people/{person_1}/add-or-edit-primary-person/" + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/add-or-edit-primary-person/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/add-or-edit-primary-person/", + "data": { + "first-name": "Joe", + "last-name": "Bloggs" + } + }, + { + "method": "GET", + "url": "/questionnaire/list-collector/" + }, + { + "method": "POST", + "url": "/questionnaire/list-collector/", + "data": { + "anyone-else": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/add-person/" + }, + { + "method": "POST", + "url": "/questionnaire/people/add-person/", + "data": { + "first-name": "Erling", + "last-name": "Haaland" + } + }, + { + "method": "GET", + "url": "/questionnaire/list-collector/" + }, + { + "method": "POST", + "url": "/questionnaire/list-collector/", + "data": { + "anyone-else": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/skip-first-block/" + }, + { + "method": "POST", + "url": "/questionnaire/skip-first-block/", + "data": { + "skip-first-block-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/second-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/second-number-block/", + "data": { + "second-number-answer-also-in-total": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/currency-total-playback-1/" + }, + { + "method": "POST", + "url": "/questionnaire/currency-total-playback-1/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/sections/questions-section/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/questions-section/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/grand-calculated-summary-third-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/grand-calculated-summary-third-number-block/", + "data": { + "third-number-answer": "100", + "third-number-answer-also-in-total": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/currency-total-playback-2/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/currency-total-playback-2/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/mutually-exclusive-checkbox/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/mutually-exclusive-checkbox/", + "data": { + "checkbox-answer": "{third_answer_value}" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/set-min-max-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/set-min-max-block/", + "data": { + "set-minimum-answer": "200", + "set-maximum-answer": "50" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/calculated-summary-section/{person_1}/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/calculated-summary-section/{person_1}/", + "data": {}, + "redirect_route": "/questionnaire/people/{person_2}/grand-calculated-summary-third-number-block/" + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_2}/grand-calculated-summary-third-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_2}/grand-calculated-summary-third-number-block/", + "data": { + "third-number-answer": "100", + "third-number-answer-also-in-total": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_2}/currency-total-playback-2/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_2}/currency-total-playback-2/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_2}/mutually-exclusive-checkbox/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_2}/mutually-exclusive-checkbox/", + "data": { + "checkbox-answer": "{calc_value_2}" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_2}/set-min-max-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_2}/set-min-max-block/", + "data": { + "set-minimum-answer": "200", + "set-maximum-answer": "50" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/calculated-summary-section/{person_2}/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/calculated-summary-section/{person_2}/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/grand-calculated-summary-first-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/grand-calculated-summary-first-number-block/", + "data": { + "q1-a1": "100", + "q1-a2": "5" + } + }, + { + "method": "GET", + "url": "/questionnaire/grand-calculated-summary-second-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/grand-calculated-summary-second-number-block/", + "data": { + "q2-a1": "500", + "q2-a2": "4" + } + }, + { + "method": "GET", + "url": "/questionnaire/distance-calculated-summary-1/" + }, + { + "method": "POST", + "url": "/questionnaire/distance-calculated-summary-1/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/number-calculated-summary-1/" + }, + { + "method": "POST", + "url": "/questionnaire/number-calculated-summary-1/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/sections/grand-calculated-summary-section-1/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/grand-calculated-summary-section-1/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/third-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/third-number-block/", + "data": { + "q3-a1": "10", + "q3-a2": "10" + } + }, + { + "method": "GET", + "url": "/questionnaire/fourth-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/fourth-number-block/", + "data": { + "q4-a1": "0", + "q4-a2": "0" + } + }, + { + "method": "GET", + "url": "/questionnaire/distance-calculated-summary-2/" + }, + { + "method": "POST", + "url": "/questionnaire/distance-calculated-summary-2/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/number-calculated-summary-2/" + }, + { + "method": "POST", + "url": "/questionnaire/number-calculated-summary-2/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/distance-grand-calculated-summary/" + }, + { + "method": "POST", + "url": "/questionnaire/distance-grand-calculated-summary/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/number-grand-calculated-summary/" + }, + { + "method": "POST", + "url": "/questionnaire/number-grand-calculated-summary/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/responsible-party/" + }, + { + "method": "POST", + "url": "/questionnaire/responsible-party/", + "data": { + "responsible-party-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-companies-or-branches/" + }, + { + "method": "POST", + "url": "/questionnaire/any-companies-or-branches/", + "data": { + "any-companies-or-branches-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/companies/add-company/?previous=any-companies-or-branches" + }, + { + "method": "POST", + "url": "/questionnaire/companies/add-company/?previous=any-companies-or-branches", + "data": { + "company-or-branch-name": "eQ insurance" + }, + "redirect_route":"/questionnaire/companies/{company_1}/companies-repeating-block-1/" + }, + { + "method": "GET", + "url": "/questionnaire/companies/{company_1}/companies-repeating-block-1/" + }, + { + "method": "POST", + "url": "/questionnaire/companies/{company_1}/companies-repeating-block-1/", + "data": { + "registration-number": "1", + "registration-date-day": "10", + "registration-date-month": "10", + "registration-date-year": "2010" + } + }, + { + "method": "GET", + "url": "/questionnaire/companies/{company_1}/companies-repeating-block-2/" + }, + { + "method": "POST", + "url": "/questionnaire/companies/{company_1}/companies-repeating-block-2/", + "data": { + "authorised-trader-uk-radio": "Yes", + "authorised-trader-eu-radio": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-other-companies-or-branches/" + }, + { + "method": "POST", + "url": "/questionnaire/any-other-companies-or-branches/", + "data": { + "any-other-companies-or-branches-answer": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-other-trading-details/" + }, + { + "method": "POST", + "url": "/questionnaire/any-other-trading-details/", + "data": { + "any-other-trading-details-answer": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/section-companies/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/section-companies/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/" + }, + { + "method": "POST", + "url": "/questionnaire/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/responsible-party-business/" + }, + { + "method": "POST", + "url": "/questionnaire/responsible-party-business/", + "data": { + "responsible-party-business-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-businesses-or-branches/" + }, + { + "method": "POST", + "url": "/questionnaire/any-businesses-or-branches/", + "data": { + "any-businesses-or-branches-answer": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/section-businesses/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/section-businesses/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/" + }, + { + "method": "POST", + "url": "/questionnaire/", + "data": {} + }, + { + "method": "GET", + "url": "/submitted/thank-you/" + }, + { + "method": "GET", + "url": "/submitted/view-response/" + }, + { + "method": "GET", + "url": "/submitted/thank-you/" + }, + { + "method": "GET", + "url": "/submitted/feedback/send" + }, + { + "method": "POST", + "url": "/submitted/feedback/send", + "data": { + "feedback-type": "The survey questions", + "feedback-text": "Feedback" + } + }, + { + "method": "GET", + "url": "/submitted/feedback/sent" + }, + { + "method": "GET", + "url": "/submitted/thank-you/" + } + ], + "schema_name": "test_benchmark_business", + "schema_url": "https://storage.googleapis.com/eq-questionnaire-schemas/test_benchmark_business.json" +} \ No newline at end of file diff --git a/requests/test_benchmark_business_pdfkit.json b/requests/test_benchmark_business_pdfkit.json deleted file mode 100644 index ec9ca3ce..00000000 --- a/requests/test_benchmark_business_pdfkit.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "requests": [ - { - "method": "GET", - "url": "/questionnaire/introduction-block/" - }, - { - "method": "POST", - "url": "/questionnaire/introduction-block/", - "data": {} - }, - { - "method": "GET", - "url": "/questionnaire/block379/" - }, - { - "method": "POST", - "url": "/questionnaire/block379/", - "data": { - "answer434": "No" - } - }, - { - "method": "GET", - "url": "/questionnaire/block380/" - }, - { - "method": "POST", - "url": "/questionnaire/block380/", - "data": { - "answerfrom-day": "1", - "answerfrom-month": "05", - "answerfrom-year": "2019", - "answerto-day": "1", - "answerto-month": "08", - "answerto-year": "2019" - } - }, - { - "method": "GET", - "url": "/questionnaire/block381/" - }, - { - "method": "POST", - "url": "/questionnaire/block381/", - "data": { - "answer436": "100", - "answer437": "100" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4616/" - }, - { - "method": "POST", - "url": "/questionnaire/block4616/", - "data": { - "answer5873": "Yes" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4952/" - }, - { - "method": "POST", - "url": "/questionnaire/block4952/", - "data": { - "answer6287": "Yes" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4953/" - }, - { - "method": "POST", - "url": "/questionnaire/block4953/", - "data": { - "answer6288": "One-off increase in stocks" - } - }, - { - "method": "GET", - "url": "/questionnaire/block383/" - }, - { - "method": "POST", - "url": "/questionnaire/block383/", - "data": { - "answer439": "Differences textarea" - } - }, - { - "method": "GET", - "url": "/questionnaire/submit/" - }, - { - "method": "POST", - "url": "/questionnaire/submit/", - "data": {} - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - }, - { - "method": "GET", - "url": "/submitted/view-response/" - }, - { - "method": "GET", - "url": "/submitted/download-pdf" - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - }, - { - "method": "GET", - "url": "/submitted/feedback/send" - }, - { - "method": "POST", - "url": "/submitted/feedback/send", - "data": { - "feedback-type": "The survey questions", - "feedback-text": "Feedback" - } - }, - { - "method": "GET", - "url": "/submitted/feedback/sent" - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - } - ], - "schema_name": "test_benchmark_business", - "schema_url": "https://storage.googleapis.com/eq-questionnaire-schemas/test_benchmark_business.json" -} \ No newline at end of file diff --git a/requests/test_benchmark_business_pdfkit_optimised.json b/requests/test_benchmark_business_pdfkit_optimised.json deleted file mode 100644 index cc299e7a..00000000 --- a/requests/test_benchmark_business_pdfkit_optimised.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "requests": [ - { - "method": "GET", - "url": "/questionnaire/introduction-block/" - }, - { - "method": "POST", - "url": "/questionnaire/introduction-block/", - "data": {} - }, - { - "method": "GET", - "url": "/questionnaire/block379/" - }, - { - "method": "POST", - "url": "/questionnaire/block379/", - "data": { - "answer434": "No" - } - }, - { - "method": "GET", - "url": "/questionnaire/block380/" - }, - { - "method": "POST", - "url": "/questionnaire/block380/", - "data": { - "answerfrom-day": "1", - "answerfrom-month": "05", - "answerfrom-year": "2019", - "answerto-day": "1", - "answerto-month": "08", - "answerto-year": "2019" - } - }, - { - "method": "GET", - "url": "/questionnaire/block381/" - }, - { - "method": "POST", - "url": "/questionnaire/block381/", - "data": { - "answer436": "100", - "answer437": "100" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4616/" - }, - { - "method": "POST", - "url": "/questionnaire/block4616/", - "data": { - "answer5873": "Yes" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4952/" - }, - { - "method": "POST", - "url": "/questionnaire/block4952/", - "data": { - "answer6287": "Yes" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4953/" - }, - { - "method": "POST", - "url": "/questionnaire/block4953/", - "data": { - "answer6288": "One-off increase in stocks" - } - }, - { - "method": "GET", - "url": "/questionnaire/block383/" - }, - { - "method": "POST", - "url": "/questionnaire/block383/", - "data": { - "answer439": "Differences textarea" - } - }, - { - "method": "GET", - "url": "/questionnaire/submit/" - }, - { - "method": "POST", - "url": "/questionnaire/submit/", - "data": {} - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - }, - { - "method": "GET", - "url": "/submitted/view-response/" - }, - { - "method": "GET", - "url": "/submitted/download-pdf?pdf_type=pdfkit_optimised" - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - }, - { - "method": "GET", - "url": "/submitted/feedback/send" - }, - { - "method": "POST", - "url": "/submitted/feedback/send", - "data": { - "feedback-type": "The survey questions", - "feedback-text": "Feedback" - } - }, - { - "method": "GET", - "url": "/submitted/feedback/sent" - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - } - ], - "schema_name": "test_benchmark_business", - "schema_url": "https://storage.googleapis.com/eq-questionnaire-schemas/test_benchmark_business.json" -} \ No newline at end of file diff --git a/requests/test_benchmark_business_unhappy_path.json b/requests/test_benchmark_business_unhappy_path.json new file mode 100644 index 00000000..f72d1d83 --- /dev/null +++ b/requests/test_benchmark_business_unhappy_path.json @@ -0,0 +1,981 @@ +{ + "requests": [ + { + "method": "GET", + "url": "/questionnaire/introduction-block/" + }, + { + "method": "POST", + "url": "/questionnaire/introduction-block/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/block-379/" + }, + { + "method": "POST", + "url": "/questionnaire/block-379/", + "data": { + "answer-434": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-380/" + }, + { + "method": "POST", + "url": "/questionnaire/block-380/", + "data": { + "answer-from-day": "01", + "answer-from-month": "05", + "answer-from-year": "2019", + "answer-to-day": "01", + "answer-to-month": "08", + "answer-to-year": "2019" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-381/" + }, + { + "method": "GET", + "url": "/questionnaire/block-380/" + }, + { + "method": "GET", + "url": "/questionnaire/block-379/" + }, + { + "method": "POST", + "url": "/questionnaire/block-379/", + "data": { + "answer-434": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-381/" + }, + { + "method": "POST", + "url": "/questionnaire/block-381/", + "data": { + "answer-436": "100", + "answer-437": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-4616/" + }, + { + "method": "POST", + "url": "/questionnaire/block-4616/", + "data": { + "answer-5873": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-4952/" + }, + { + "method": "POST", + "url": "/questionnaire/block-4952/", + "data": { + "answer-6287": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-4953/" + }, + { + "method": "POST", + "url": "/questionnaire/block-4953/", + "data": { + "answer-6288": "Normal movement for the time of year" + } + }, + { + "method": "GET", + "url": "/questionnaire/block-383/" + }, + { + "method": "POST", + "url": "/questionnaire/block-383/", + "data": { + "answer-439": "hi" + } + }, + { + "method": "GET", + "url": "/questionnaire/primary-person-list-collector/" + }, + { + "method": "POST", + "url": "/questionnaire/primary-person-list-collector/", + "data": { + "you-live-here": "Yes" + }, + "redirect_route": "/questionnaire/people/{person_1}/add-or-edit-primary-person/" + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/add-or-edit-primary-person/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/add-or-edit-primary-person/", + "data": { + "first-name": "Joe", + "last-name": "Bloggs" + } + }, + { + "method": "GET", + "url": "/questionnaire/list-collector/" + }, + { + "method": "POST", + "url": "/questionnaire/list-collector/", + "data": { + "anyone-else": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/add-person/" + }, + { + "method": "POST", + "url": "/questionnaire/people/add-person/", + "data": { + "first-name": "Erling", + "last-name": "Haland" + } + }, + { + "method": "GET", + "url": "/questionnaire/list-collector/" + }, + { + "method": "POST", + "url": "/questionnaire/list-collector/", + "data": { + "anyone-else": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/add-person/" + }, + { + "method": "POST", + "url": "/questionnaire/people/add-person/", + "data": { + "first-name": "Sarah", + "last-name": "Bloggs" + } + }, + { + "method": "GET", + "url": "/questionnaire/list-collector/" + }, + { + "method": "POST", + "url": "/questionnaire/list-collector/", + "data": { + "anyone-else": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/skip-first-block/" + }, + { + "method": "POST", + "url": "/questionnaire/skip-first-block/", + "data": { + "skip-first-block-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/second-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/second-number-block/", + "data": { + "second-number-answer-also-in-total": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/currency-total-playback-1/" + }, + { + "method": "POST", + "url": "/questionnaire/currency-total-playback-1/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/sections/questions-section/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/questions-section/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/grand-calculated-summary-third-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/grand-calculated-summary-third-number-block/", + "data": { + "third-number-answer": "100", + "third-number-answer-also-in-total": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/currency-total-playback-2/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/currency-total-playback-2/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/mutually-exclusive-checkbox/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/mutually-exclusive-checkbox/", + "data": { + "checkbox-answer": "{third_answer_value}" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_1}/set-min-max-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_1}/set-min-max-block/", + "data": { + "set-minimum-answer": "200", + "set-maximum-answer": "50" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/calculated-summary-section/{person_1}/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/calculated-summary-section/{person_1}/", + "data": {}, + "redirect_route": "/questionnaire/people/{person_2}/grand-calculated-summary-third-number-block/" + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_2}/grand-calculated-summary-third-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_2}/grand-calculated-summary-third-number-block/", + "data": { + "third-number-answer": "100", + "third-number-answer-also-in-total": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_2}/currency-total-playback-2/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_2}/currency-total-playback-2/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_2}/mutually-exclusive-checkbox/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_2}/mutually-exclusive-checkbox/", + "data": { + "checkbox-answer": "{third_answer_value}" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_2}/set-min-max-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_2}/set-min-max-block/", + "data": { + "set-minimum-answer": "200", + "set-maximum-answer": "50" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/calculated-summary-section/{person_2}/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/calculated-summary-section/{person_2}/", + "data": {}, + "redirect_route": "/questionnaire/people/{person_3}/grand-calculated-summary-third-number-block/" + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_3}/grand-calculated-summary-third-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_3}/grand-calculated-summary-third-number-block/", + "data": { + "third-number-answer": "100", + "third-number-answer-also-in-total": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_3}/currency-total-playback-2/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_3}/currency-total-playback-2/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_3}/mutually-exclusive-checkbox/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_3}/mutually-exclusive-checkbox/", + "data": { + "checkbox-answer": "{third_answer_value}" + } + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_3}/set-min-max-block/" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_3}/set-min-max-block/", + "data": { + "set-minimum-answer": "200", + "set-maximum-answer": "50" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/calculated-summary-section/{person_3}/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/calculated-summary-section/{person_3}/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/grand-calculated-summary-first-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/grand-calculated-summary-first-number-block/", + "data": { + "q1-a1": "100", + "q1-a2": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/grand-calculated-summary-second-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/grand-calculated-summary-second-number-block/", + "data": { + "q2-a1": "100", + "q2-a2": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/distance-calculated-summary-1/" + }, + { + "method": "POST", + "url": "/questionnaire/distance-calculated-summary-1/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/number-calculated-summary-1/" + }, + { + "method": "POST", + "url": "/questionnaire/number-calculated-summary-1/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/sections/grand-calculated-summary-section-1/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/grand-calculated-summary-section-1/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/third-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/third-number-block/", + "data": { + "q3-a1": "100", + "q3-a2": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/fourth-number-block/" + }, + { + "method": "POST", + "url": "/questionnaire/fourth-number-block/", + "data": { + "q4-a1": "100", + "q4-a2": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/distance-calculated-summary-2/" + }, + { + "method": "POST", + "url": "/questionnaire/distance-calculated-summary-2/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/number-calculated-summary-2/" + }, + { + "method": "POST", + "url": "/questionnaire/number-calculated-summary-2/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/distance-grand-calculated-summary/" + }, + { + "method": "POST", + "url": "/questionnaire/distance-grand-calculated-summary/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/number-grand-calculated-summary/" + }, + { + "method": "POST", + "url": "/questionnaire/number-grand-calculated-summary/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/responsible-party/" + }, + { + "method": "POST", + "url": "/questionnaire/responsible-party/", + "data": { + "responsible-party-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-companies-or-branches/" + }, + { + "method": "POST", + "url": "/questionnaire/any-companies-or-branches/", + "data": { + "any-companies-or-branches-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/companies/add-company/?previous=any-companies-or-branches" + }, + { + "method": "POST", + "url": "/questionnaire/companies/add-company/?previous=any-companies-or-branches", + "data": { + "company-or-branch-name": "Company 1" + }, + "redirect_route": "/questionnaire/companies/{company_1}/companies-repeating-block-1/" + }, + { + "method": "GET", + "url": "/questionnaire/companies/{company_1}/companies-repeating-block-1/" + }, + { + "method": "POST", + "url": "/questionnaire/companies/{company_1}/companies-repeating-block-1/", + "data": { + "registration-number": "10", + "registration-date-day": "10", + "registration-date-month": "03", + "registration-date-year": "1999" + } + }, + { + "method": "GET", + "url": "/questionnaire/companies/{company_1}/companies-repeating-block-2/" + }, + { + "method": "POST", + "url": "/questionnaire/companies/{company_1}/companies-repeating-block-2/", + "data": { + "authorised-trader-uk-radio": "No", + "authorised-trader-eu-radio": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-other-companies-or-branches/" + }, + { + "method": "POST", + "url": "/questionnaire/any-other-companies-or-branches/", + "data": { + "any-other-companies-or-branches-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/companies/add-company/" + }, + { + "method": "POST", + "url": "/questionnaire/companies/add-company/", + "data": { + "company-or-branch-name": "Company 2" + }, + "redirect_route": "/questionnaire/companies/{company_2}/companies-repeating-block-1/" + }, + { + "method": "GET", + "url": "/questionnaire/companies/{company_2}/companies-repeating-block-1/" + }, + { + "method": "POST", + "url": "/questionnaire/companies/{company_2}/companies-repeating-block-1/", + "data": { + "registration-number": "10", + "registration-date-day": "10", + "registration-date-month": "03", + "registration-date-year": "1992" + } + }, + { + "method": "GET", + "url": "/questionnaire/companies/{company_2}/companies-repeating-block-2/" + }, + { + "method": "POST", + "url": "/questionnaire/companies/{company_2}/companies-repeating-block-2/", + "data": { + "authorised-trader-uk-radio": "No", + "authorised-trader-eu-radio": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-other-companies-or-branches/" + }, + { + "method": "GET", + "url": "/questionnaire/companies/{company_1}/remove-company/" + }, + { + "method": "POST", + "url": "/questionnaire/companies/{company_1}/remove-company/", + "data": { + "remove-confirmation": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-other-companies-or-branches/" + }, + { + "method": "POST", + "url": "/questionnaire/any-other-companies-or-branches/", + "data": { + "any-other-companies-or-branches-answer": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-other-trading-details/" + }, + { + "method": "POST", + "url": "/questionnaire/any-other-trading-details/", + "data": { + "any-other-trading-details-answer": "1231" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/section-companies/" + }, + { + "method": "GET", + "url": "/questionnaire/responsible-party/?return_to=section-summary&return_to_answer_id=responsible-party-answer" + }, + { + "method": "POST", + "url": "/questionnaire/responsible-party/?return_to=section-summary&return_to_answer_id=responsible-party-answer", + "data": { + "responsible-party-answer": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/section-companies/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/section-companies/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/" + }, + { + "method": "GET", + "url": "/questionnaire/primary-person-list-collector/" + }, + { + "method": "POST", + "url": "/questionnaire/primary-person-list-collector/", + "data": { + "you-live-here": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/" + }, + { + "method": "GET", + "url": "/questionnaire/sections/questions-section/" + }, + { + "method": "GET", + "url": "/questionnaire/skip-first-block/?return_to=section-summary&return_to_answer_id=skip-first-block-answer" + }, + { + "method": "POST", + "url": "/questionnaire/skip-first-block/?return_to=section-summary&return_to_answer_id=skip-first-block-answer", + "data": { + "skip-first-block-answer": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/first-number-block/?return_to=section-summary" + }, + { + "method": "POST", + "url": "/questionnaire/first-number-block/?return_to=section-summary", + "data": { + "first-number-answer": "200" + } + }, + { + "method": "GET", + "url": "/questionnaire/first-and-a-half-number-block/?return_to=section-summary" + }, + { + "method": "POST", + "url": "/questionnaire/first-and-a-half-number-block/?return_to=section-summary", + "data": { + "first-and-a-half-number-answer-also-in-total": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/currency-total-playback-1/?return_to=section-summary" + }, + { + "method": "POST", + "url": "/questionnaire/currency-total-playback-1/?return_to=section-summary", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/sections/questions-section/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/questions-section/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/" + }, + { + "method": "POST", + "url": "/questionnaire/", + "data" : {} + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_2}/set-min-max-block/?resume=True" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_2}/set-min-max-block/?resume=True", + "data": { + "set-minimum-answer": "500", + "set-maximum-answer": "100" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/calculated-summary-section/{person_2}/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/calculated-summary-section/{person_2}/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/" + }, + { + "method": "POST", + "url": "/questionnaire/", + "data" : {}, + "redirect_route": "/questionnaire/people/{person_3}/set-min-max-block/?resume=True" + }, + { + "method": "GET", + "url": "/questionnaire/people/{person_3}/set-min-max-block/?resume=True" + }, + { + "method": "POST", + "url": "/questionnaire/people/{person_3}/set-min-max-block/?resume=True", + "data": { + "set-minimum-answer": "550", + "set-maximum-answer": "200" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/calculated-summary-section/{person_3}/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/calculated-summary-section/{person_3}/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/" + }, + { + "method": "GET", + "url": "/questionnaire/responsible-party-business/" + }, + { + "method": "POST", + "url": "/questionnaire/responsible-party-business/", + "data": { + "responsible-party-business-answer": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/" + }, + { + "method": "GET", + "url": "/questionnaire/sections/section-businesses/" + }, + { + "method": "GET", + "url": "/questionnaire/responsible-party-business/?return_to=section-summary&return_to_answer_id=responsible-party-business-answer" + }, + { + "method": "POST", + "url": "/questionnaire/responsible-party-business/?return_to=section-summary&return_to_answer_id=responsible-party-business-answer", + "data": { + "responsible-party-business-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-businesses-or-branches/?return_to=section-summary" + }, + { + "method": "POST", + "url": "/questionnaire/any-businesses-or-branches/?return_to=section-summary", + "data": { + "any-businesses-or-branches-answer": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/businesses/add-business/?previous=any-businesses-or-branches" + }, + { + "method": "POST", + "url": "/questionnaire/businesses/add-business/?previous=any-businesses-or-branches", + "data": { + "business-or-branch-name": "Company 2" + }, + "redirect_route": "/questionnaire/businesses/{company_2}/businesses-repeating-block-1/" + }, + { + "method": "GET", + "url": "/questionnaire/businesses/{company_2}/businesses-repeating-block-1/" + }, + { + "method": "POST", + "url": "/questionnaire/businesses/{company_2}/businesses-repeating-block-1/", + "data": { + "registration-business-number": "19", + "registration-business-date-day": "20", + "registration-business-date-month": "02", + "registration-business-date-year": "1990" + } + }, + { + "method": "GET", + "url": "/questionnaire/businesses/{company_2}/businesses-repeating-block-2/" + }, + { + "method": "POST", + "url": "/questionnaire/businesses/{company_2}/businesses-repeating-block-2/", + "data": { + "authorised-business-trader-uk-radio": "Yes", + "authorised-business-trader-eu-radio": "Yes" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-other-business-businesses-or-branches/" + }, + { + "method": "POST", + "url": "/questionnaire/any-other-business-businesses-or-branches/", + "data": { + "any-other-business-businesses-or-branches-answer": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/any-other-business-trading-details/" + }, + { + "method": "POST", + "url": "/questionnaire/any-other-business-trading-details/", + "data": { + "any-other-business-trading-details-answer": "hI" + } + }, + { + "method": "GET", + "url": "/questionnaire/responsible-party-business/?return_to=section-summary&return_to_answer_id=responsible-party-business-answer" + }, + { + "method": "POST", + "url": "/questionnaire/responsible-party-business/?return_to=section-summary&return_to_answer_id=responsible-party-business-answer", + "data": { + "responsible-party-business-answer": "No" + } + }, + { + "method": "GET", + "url": "/questionnaire/sections/section-businesses/" + }, + { + "method": "POST", + "url": "/questionnaire/sections/section-businesses/", + "data": {} + }, + { + "method": "GET", + "url": "/questionnaire/" + }, + { + "method": "POST", + "url": "/questionnaire/", + "data": {} + }, + { + "method": "GET", + "url": "/submitted/thank-you/" + }, + { + "method": "GET", + "url": "/submitted/view-response/" + }, + { + "method": "GET", + "url": "/submitted/thank-you/" + }, + { + "method": "GET", + "url": "/submitted/feedback/send" + }, + { + "method": "POST", + "url": "/submitted/feedback/send", + "data": { + "feedback-type": "The survey questions", + "feedback-text": "Feedback" + } + }, + { + "method": "GET", + "url": "/submitted/feedback/sent" + }, + { + "method": "GET", + "url": "/submitted/thank-you/" + } + ], + "schema_name": "test_benchmark_business", + "schema_url": "https://storage.googleapis.com/eq-questionnaire-schemas/test_benchmark_business.json" +} \ No newline at end of file diff --git a/requests/test_benchmark_business_weasy.json b/requests/test_benchmark_business_weasy.json deleted file mode 100644 index be2ac5a0..00000000 --- a/requests/test_benchmark_business_weasy.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "requests": [ - { - "method": "GET", - "url": "/questionnaire/introduction-block/" - }, - { - "method": "POST", - "url": "/questionnaire/introduction-block/", - "data": {} - }, - { - "method": "GET", - "url": "/questionnaire/block379/" - }, - { - "method": "POST", - "url": "/questionnaire/block379/", - "data": { - "answer434": "No" - } - }, - { - "method": "GET", - "url": "/questionnaire/block380/" - }, - { - "method": "POST", - "url": "/questionnaire/block380/", - "data": { - "answerfrom-day": "1", - "answerfrom-month": "05", - "answerfrom-year": "2019", - "answerto-day": "1", - "answerto-month": "08", - "answerto-year": "2019" - } - }, - { - "method": "GET", - "url": "/questionnaire/block381/" - }, - { - "method": "POST", - "url": "/questionnaire/block381/", - "data": { - "answer436": "100", - "answer437": "100" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4616/" - }, - { - "method": "POST", - "url": "/questionnaire/block4616/", - "data": { - "answer5873": "Yes" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4952/" - }, - { - "method": "POST", - "url": "/questionnaire/block4952/", - "data": { - "answer6287": "Yes" - } - }, - { - "method": "GET", - "url": "/questionnaire/block4953/" - }, - { - "method": "POST", - "url": "/questionnaire/block4953/", - "data": { - "answer6288": "One-off increase in stocks" - } - }, - { - "method": "GET", - "url": "/questionnaire/block383/" - }, - { - "method": "POST", - "url": "/questionnaire/block383/", - "data": { - "answer439": "Differences textarea" - } - }, - { - "method": "GET", - "url": "/questionnaire/submit/" - }, - { - "method": "POST", - "url": "/questionnaire/submit/", - "data": {} - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - }, - { - "method": "GET", - "url": "/submitted/view-response/" - }, - { - "method": "GET", - "url": "/submitted/download-pdf?pdf_type=weasy" - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - }, - { - "method": "GET", - "url": "/submitted/feedback/send" - }, - { - "method": "POST", - "url": "/submitted/feedback/send", - "data": { - "feedback-type": "The survey questions", - "feedback-text": "Feedback" - } - }, - { - "method": "GET", - "url": "/submitted/feedback/sent" - }, - { - "method": "GET", - "url": "/submitted/thank-you/" - } - ], - "schema_name": "test_benchmark_business", - "schema_url": "https://storage.googleapis.com/eq-questionnaire-schemas/test_benchmark_business.json" -} \ No newline at end of file