Test Scenario ID | Test Case ID | Field to be updated in the config.yaml | Test Name | Test Description |
---|
PMT_H10_001 Ensure the POST / Payments API responds correctly for mandatory header validations | PIS_H_001 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-api-uri header is missing (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-api-uri header is missing |
PIS_H_002 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-api-operation header is missing (paymentToTest : simple-cbuae-payment) | TThe operation must fail with a status code 400 if the o3-api-operation header is missing |
PIS_H_003 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-aspsp-id header is missing (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-aspsp-id header is missing |
PIS_H_004 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-ozone-interaction-id header is missing (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-ozone-interaction-id header is missing |
PIS_H_005 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-provider-id header is missing (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-provider-id header has an unexpected value |
PIS_H_006 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-caller-org-id header is missing (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-caller-org-id header is missing |
PIS_H_007 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-caller-client-id header is missing (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-caller-client-id header is missing |
PIS_H_008 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-caller-software-statement-id header is missing (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-caller-software-statement-id header is missing |
PIS_H_009 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-consent-id header is missing (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-consent-id header is missing |
PIS_H_010 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-psu-identifier header is missing (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-psu-identifier header has an unexpected value |
PIS_H_011 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Mandatory header validation - Fail if o3-psu-identifier header is having invalid value (paymentToTest : simple-cbuae-payment) | The operation must fail with a status code 400 if the o3-psu-identifier header is having invalid value |
PIS_H_012 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Fails if o3-psu-identifier is not b64 encoded (paymentToTest : simple-cbuae-payment) | If o3-psu-identifier is not b64 encoded, the API must return a 400 and an error body |
PIS_H_013 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Fails if o3-psu-identifier does not evaluate to a json structure (paymentToTest : simple-cbuae-payment) | If o3-psu-identifier does not evaluate to a json structure, the API must return a 400 and an error body |
PIS_H_014 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Fails if o3-psu-identifier does not contain userId (paymentToTest : simple-cbuae-payment) | If o3-psu-identifier does not contain userId, the API must return a 400 and an error body |
PIS_H_015 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined (paymentToTest : simple-cbuae-payment) | If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined, the API must return a 400 and an error body |
PIS_H_016 | paymentToTest : simple-cbuae-payment | POST : Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string (paymentToTest : simple-cbuae-payment) | If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string, the API must return a 400 and an error body |
PIS_H_017 | paymentToTest : simple-cbuae-payment | GET : Negative Test - Fails if o3-caller-interaction-id header is missing (paymentToTest : simple-cbuae-payment) | If o3-caller-interaction-id header is missing, the API must return a 400 and an error body |
PMT_H10_002 Ensure the GET /payments/{paymentId}/report-file API responds correctly for mandatory header validations | PIS_H_RFP001 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-psu-identifier header is missing (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-psu-identifier header is missing |
PIS_H_RFP002 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-api-uri header is missing (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-api-uri header is missing |
PIS_H_RFP003 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-api-operation header is missing (paymentToTest: SamplePaymentId_ReportFile) | TThe operation must fail with a status code 400 if the o3-api-operation header is missing |
PIS_H_RFP004 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-aspsp-id header is missing (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-aspsp-id header is missing |
PIS_H_RFP005 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-ozone-interaction-id header is missing (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-ozone-interaction-id header is missing |
PIS_H_RFP006 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-provider-id header is missing (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-provider-id header has an unexpected value |
PIS_H_RFP007 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-caller-org-id header is missing (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-caller-org-id header is missing |
PIS_H_RFP008 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-caller-client-id header is missing (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-caller-client-id header is missing |
PIS_H_RFP009 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-caller-software-statement-id header is missing (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-caller-software-statement-id header is missing |
PIS_H_RFP010 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-consent-id header is missing (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-consent-id header is missing |
PIS_H_RFP020 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Mandatory header validation - Fail if o3-psu-identifier header is having invalid value (paymentToTest: SamplePaymentId_ReportFile) | The operation must fail with a status code 400 if the o3-psu-identifier header is having invalid value |
PIS_H_RFP021 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Fails if o3-psu-identifier is not b64 encoded (paymentToTest: SamplePaymentId_ReportFile) | If o3-psu-identifier is not b64 encoded, the API must return a 400 and an error body |
PIS_H_RFP022 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Fails if o3-psu-identifier does not evaluate to a json structure (paymentToTest: SamplePaymentId_ReportFile) | If o3-psu-identifier does not evaluate to a json structure, the API must return a 400 and an error body |
PIS_H_RFP023 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Fails if o3-psu-identifier does not contain userId (paymentToTest: SamplePaymentId_ReportFile) | If o3-psu-identifier does not contain userId, the API must return a 400 and an error body |
PIS_H_RFP024 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined (paymentToTest: SamplePaymentId_ReportFile) | If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined, the API must return a 400 and an error body |
PIS_H_RFP025 | paymentToTest: SamplePaymentId_ReportFile | GET : Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string (paymentToTest: SamplePaymentId_ReportFile) | If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string, the API must return a 400 and an error body |
PIS_H_RFP026 | paymentToTest : simple-cbuae-payment | GET : Negative Test - Fails if o3-caller-interaction-id header is missing (paymentToTest : simple-cbuae-payment) | If o3-caller-interaction-id header is missing, the API must return a 400 and an error body |