Draft: Hdpi 6527 api automation tests#1921
Closed
kanthnew wants to merge 50 commits into
Closed
Conversation
…into HDPI-6527_api_automation_tests # Conflicts: # src/main/java/uk/gov/hmcts/reform/pcs/testingsupport/endpoint/TestingSupportController.java
CCD diff summary👉 Full report: https://github.com/hmcts/pcs-api/actions/runs/27603654722?check_suite_focus=true No change |
…into HDPI-6527_api_automation_tests # Conflicts: # src/main/java/uk/gov/hmcts/reform/pcs/testingsupport/endpoint/TestingSupportController.java
…into HDPI-6527_api_automation_tests # Conflicts: # src/main/java/uk/gov/hmcts/reform/pcs/testingsupport/endpoint/TestingSupportController.java
…1906) Co-authored-by: srinijg <srinivasan.joghee@hmcts.net>
) Signed-off-by: sstewart <202802468+scottstewart-sl@users.noreply.github.com> Co-authored-by: tvr-solirius <trevor.hinson@solirius.com> Co-authored-by: srinijg <srinivasan.joghee@hmcts.net> Co-authored-by: hmcts-jenkins-j-to-z <61242337+hmcts-jenkins-j-to-z[bot]@users.noreply.github.com> Co-authored-by: PadmaDeenadayalan <Padma.Deenadayalan@hmcts.net> Co-authored-by: marianadpereira <71711509+marianadpereira@users.noreply.github.com> Co-authored-by: padmakumari <padma.kumari@hmcts.net> Co-authored-by: jessieharrigan <144362161+jessieharrigan@users.noreply.github.com> Co-authored-by: marianadpereira <mariana.pereira@HMCTS.NET> Co-authored-by: guygrewal77 <guygrewal7@gmail.com>
Co-authored-by: arun <arun.kumar@hmcts.net> Co-authored-by: marianadpereira <71711509+marianadpereira@users.noreply.github.com>
Co-authored-by: Alex McAusland <a.m@user.com> Co-authored-by: arun <arun.kumar@hmcts.net>
Co-authored-by: Marianne-Azzopardi <147049624+mazzopardi2@users.noreply.github.com> Co-authored-by: marianadpereira <71711509+marianadpereira@users.noreply.github.com> Co-authored-by: Lovelin <lovelin.marcus@hmcts.net> Co-authored-by: Marianne-Azzopardi <marianne.azzopardi@solirius.com> Co-authored-by: guygrewal77 <guygrewal7@gmail.com> Co-authored-by: guygrewal77 <163517291+guygrewal77@users.noreply.github.com> Co-authored-by: Rupali Lowalekar <Rupali.Lowalekar@HMCTS.NET> Co-authored-by: Praveen Adusumilli <47391951+adusumillipraveen@users.noreply.github.com>
#1987) Co-authored-by: adusumillipraveen <praveen.adusumilli@hmcts.net> Co-authored-by: Praveen Adusumilli <47391951+adusumillipraveen@users.noreply.github.com> Co-authored-by: arun <arun.kumar@hmcts.net> Co-authored-by: marianadpereira <71711509+marianadpereira@users.noreply.github.com>
Co-authored-by: arun <arun.kumar@hmcts.net> Co-authored-by: arun-hmcts <73122505+arun-hmcts@users.noreply.github.com> Co-authored-by: madhavi1203 <Madhavi.Atmakuri1@HMCTS.NET>
Co-authored-by: Alex McAusland <a.m@user.com>
Co-authored-by: srinijg <srinivasan.joghee@hmcts.net>
Contributor
Plan Result (aat)
|
Contributor
Author
|
Openned a new PR with latest from main branch as rebase got complicated |
Contributor
Author
|
new PR at #2019 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://tools.hmcts.net/jira/browse/HDPI-6527
Change description
To add automated API tests for the payment-uodate api service callback
The aim is to verify that the integration layer behaves as expected, so that the callbacks request is validated before processing payment update.
Payment update process is successful
Callbacks in scope:
Payment Update Callback: PUT /payment-update
Testing Support Endpoint: GET /testing-support/case-payment-references (or similar path) to retrieve reference details for test context.
Test type:
Automated API / Functional tests: Covering the REST controller and Service layer.
Validation Testing: Specifically targeting mandatory field rules (negative testing).
Verification points:
Data Validation: Ensuring the service rejects requests with missing mandatory fields as per the data model.
Persistence: Verifying that invalid requests do not result in a record being saved to the database.
Integration: Verifying the REST controller successfully hands off valid payloads to the service layer.
Testing done
Checklist