Biza Test Suite coverage and scenarios
Every endpoint the Biza Test Suite tests, the scenarios it runs against each one, and what each scenario checks.
The tables below map each CDS endpoint to the Biza Test Suite scenarios that run against it. Scenarios, at the end of the page, describes what each scenario tests.
The version tests run at each current version listed, and expect 406 for each obsolete version. Under each endpoint, the endpoint checks are the further checks its test runs, named as they appear in the Biza Test Suite results.
No test suite runs for a Data Holder whose primary capability is CDS_AU_DATA_SHARING_TELCO.
Commonβ
As defined in CDS Common APIs.
These endpoints run in the Banking or Energy test suites.
| Endpoint | Path | Current versions | Obsolete versions | Scenarios |
|---|---|---|---|---|
| Get Customer | GET /common/customer | V1 | β | Version tests Response payload |
| Get Customer Detail | GET /common/customer/detail | V2 | V1 | Version tests Response payload |
Get Customerβ
Test ID API-COMMON-GET-CUSTOMER, Get Customer in the Consumer Data Standards.
This endpoint runs the shared scenarios only.
Get Customer Detailβ
Test ID API-COMMON-GET-CUSTOMER-DETAIL, Get Customer Detail in the Consumer Data Standards.
This endpoint runs the shared scenarios only.
Bankingβ
As defined in CDS Banking APIs.
This test suite runs when the Data Holder's primary (first listed) capability is CDS_AU_DATA_SHARING_BANKING, CDS_AU_PRD_BANKING, CDS_AU_DATA_SHARING_NON_BANK_LENDING or CDS_AU_PRD_NON_BANK_LENDING.
Get Accountsβ
Test ID API-BANKING-ACCOUNTS, Get Accounts in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Filtering invalid product-category:
NOT_A_CATEGORY(expects400) - Filtering product-category: each of
BUSINESS_LOANS,BUY_NOW_PAY_LATER,CRED_AND_CHRG_CARDS,LEASES,MARGIN_LOANS,OVERDRAFTS,PERS_LOANS,REGULATED_TRUST_ACCOUNTS,RESIDENTIAL_MORTGAGES,TERM_DEPOSITS,TRADE_FINANCE,TRANS_AND_SAVINGS_ACCOUNTS,TRAVEL_CARDS - Filtering invalid is-owned:
NOT_A_BOOLEAN(expects400) - Filtering is-owned: each of
true,false - Filtering invalid open-status:
NOT_AN_OPEN_STATUS(expects400) - Filtering open-status: each of
CLOSED,OPEN
Get Account Detailβ
Test ID API-BANKING-ACCOUNT-DETAIL, Get Account Detail in the Consumer Data Standards.
Endpoint checks:
- Checking invalid accountId:
INVALID_ACCOUNT_ID(expects404) - Checking with invalid account ID (expects
404)
Get Account Balanceβ
Test ID API-BANKING-ACCOUNT-BALANCE, Get Account Balance in the Consumer Data Standards.
Endpoint checks:
- Checking invalid accountId:
INVALID_ACCOUNT_ID(expects404)
Get Bulk Balancesβ
Test ID API-BANKING-BULK-BALANCES, Get Bulk Balances in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Filtering invalid product-category:
NOT_A_CATEGORY(expects400) - Filtering product-category: each of
BUSINESS_LOANS,BUY_NOW_PAY_LATER,CRED_AND_CHRG_CARDS,LEASES,MARGIN_LOANS,OVERDRAFTS,PERS_LOANS,REGULATED_TRUST_ACCOUNTS,RESIDENTIAL_MORTGAGES,TERM_DEPOSITS,TRADE_FINANCE,TRANS_AND_SAVINGS_ACCOUNTS,TRAVEL_CARDS - Filtering invalid is-owned:
NOT_A_BOOLEAN(expects400) - Filtering is-owned: each of
true,false - Filtering invalid open-status:
NOT_AN_OPEN_STATUS(expects400) - Filtering open-status: each of
CLOSED,OPEN
Get Balances For Specific Accountsβ
Test ID API-BANKING-BALANCES-SPECIFIC-ACCOUNTS, Get Balances For Specific Accounts in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Checking with invalid account ID (expects
422)
Get Direct Debits For Accountβ
Test ID API-BANKING-DIRECT-DEBITS-ACCOUNT, Get Direct Debits For Account in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid account ID (expects
404)
Get Bulk Direct Debitsβ
Test ID API-BANKING-BULK-DIRECT-DEBITS, Get Bulk Direct Debits in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Filtering invalid product-category:
NOT_A_CATEGORY(expects400) - Filtering product-category: each of
BUSINESS_LOANS,BUY_NOW_PAY_LATER,CRED_AND_CHRG_CARDS,LEASES,MARGIN_LOANS,OVERDRAFTS,PERS_LOANS,REGULATED_TRUST_ACCOUNTS,RESIDENTIAL_MORTGAGES,TERM_DEPOSITS,TRADE_FINANCE,TRANS_AND_SAVINGS_ACCOUNTS,TRAVEL_CARDS - Filtering invalid is-owned:
NOT_A_BOOLEAN(expects400) - Filtering is-owned: each of
true,false - Filtering invalid open-status:
NOT_AN_OPEN_STATUS(expects400) - Filtering open-status: each of
CLOSED,OPEN
Get Direct Debits For Specific Accountsβ
Test ID API-BANKING-DIRECT-DEBITS-SPECIFIC-ACCOUNTS, Get Direct Debits For Specific Accounts in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid account ID (expects
422)
Get Payeesβ
Test ID API-BANKING-GET-PAYEES, Get Payees in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Filtering invalid type:
NOT_A_TYPE(expects400) - Filtering type: each of
ALL,BILLER,DIGITAL_WALLET,DOMESTIC,INTERNATIONAL
Get Payee Detailβ
Test ID API-BANKING-GET-PAYEE-DETAIL, Get Payee Detail in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid payee ID (expects
400)
Get Productsβ
Test ID API-BANKING-GET-PRODUCTS, Get Products in the Consumer Data Standards.
Endpoint checks:
- Checking updated since filter with future date
- Checking effective filter with future value
- Checking product category filter
- Checking brand filter
Get Product Detailβ
Test ID API-BANKING-GET-PRODUCT-DETAIL, Get Product Detail in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Calling endpoint with invalid product id (expects
404)
Get Scheduled Payments for Accountβ
Test ID API-BANKING-SCHEDULED-PAYMENTS-ACCOUNT, Get Scheduled Payments for Account in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid account ID (expects
404)
Get Scheduled Payments Bulkβ
Test ID API-BANKING-SCHEDULED-PAYMENTS-BULK, Get Scheduled Payments Bulk in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Filtering invalid product-category:
NOT_A_CATEGORY(expects400) - Filtering product-category: each of
BUSINESS_LOANS,BUY_NOW_PAY_LATER,CRED_AND_CHRG_CARDS,LEASES,MARGIN_LOANS,OVERDRAFTS,PERS_LOANS,REGULATED_TRUST_ACCOUNTS,RESIDENTIAL_MORTGAGES,TERM_DEPOSITS,TRADE_FINANCE,TRANS_AND_SAVINGS_ACCOUNTS,TRAVEL_CARDS - Filtering invalid is-owned:
NOT_A_BOOLEAN(expects400) - Filtering is-owned: each of
true,false - Filtering invalid open-status:
NOT_AN_OPEN_STATUS(expects400) - Filtering open-status: each of
CLOSED,OPEN
Get Scheduled Payments For Specific Accountsβ
Test ID API-BANKING-SCHEDULED-PAYMENTS-SPECIFIC-ACCOUNTS, Get Scheduled Payments For Specific Accounts in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid account ID (expects
422)
Get Transactions For Accountβ
Test ID API-BANKING-TRANSACTIONS-ACCOUNT, Get Transactions For Account in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Validating if transaction details are present
- Validating transaction date is within the range
- Checking for transactions in a date range
- Checking Min and Max Amount Range for transactions
- Checking invalid oldest and newest date time (expects
400) - Checking invalid min and max amount (expects
400) - Checking for non existing text (expects
200) - Checking with invalid account ID (expects
404)
Get Transaction Detailβ
Test ID API-BANKING-TRANSACTION-DETAIL, Get Transaction Detail in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid account ID (expects
404) - Checking with invalid transaction ID (expects
400)
Get Instalment Plans Bulkβ
Test ID API-BANKING-INSTALMENT-PLANS-BULK, Get Instalment Plans Bulk in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Filtering invalid plan-status:
NOT_A_PLAN_STATUS(expects400) - Filtering plan-status: each of
ACTIVE,INACTIVE,ALL
Get Instalment Plans For Accountβ
Test ID API-BANKING-INSTALMENT-PLANS-ACCOUNT, Get Instalment Plans For Account in the Consumer Data Standards.
Endpoint checks:
- Validating returned plans belong to the account requested
- Checking with invalid account ID (expects
404)
Energyβ
As defined in CDS Energy APIs.
This test suite runs when the Data Holder's primary (first listed) capability is CDS_AU_DATA_SHARING_ENERGY or CDS_AU_PLAN_ENERGY.
Get Energy Accountsβ
Test ID API-ENERGY-ENERGY-ACCOUNTS, Get Energy Accounts in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Open status filter to filter only closed accounts
- Open status filter to filter only open accounts
Get Energy Account Detailβ
Test ID API-ENERGY-ENERGY-ACCOUNT-DETAIL, Get Energy Account Detail in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid account ID (expects
404)
Get Service Pointsβ
Test ID API-ENERGY-SERVICEPOINTS, Get Service Points in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
Get Service Point Detailβ
Test ID API-ENERGY-SERVICEPOINT-DETAIL, Get Service Point Detail in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid service point ID (expects
404)
Get Balance For Energy Accountβ
Test ID API-ENERGY-BALANCE-ENERGY-ACCOUNT, Get Balance For Energy Account in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid account ID (expects
404)
Get Balances For Specific Energy Accountsβ
Test ID API-ENERGY-BALANCES-SPECIFIC-ENERGY-ACCOUNT, Get Balances For Specific Energy Accounts in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Checking with invalid account ID (expects
422)
Get Bulk Balances for Energyβ
Test ID API-ENERGY-BULK-BALANCES-ENERGY, Get Bulk Balances for Energy in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
Get Concessionsβ
Test ID API-ENERGY-CONCESSIONS, Get Concessions in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid account ID (expects
404)
Get Bulk Billingβ
Test ID API-ENERGY-BULK-BILLING, Get Bulk Billing in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Validating transaction date is within the range
- Checking invalid oldest and newest date time (expects
400)
Get Agreed Payment Scheduleβ
Test ID API-ENERGY-AGREED-PAYMENT-SCHEDULE, Get Agreed Payment Schedule in the Consumer Data Standards.
Endpoint checks:
- Checking with invalid account ID (expects
404)
Get Billing For Accountβ
Test ID API-ENERGY-BILLING-ACCOUNT, Get Billing For Account in the Consumer Data Standards.
Endpoint checks:
- Validating transaction date is within the range
- Checking invalid oldest and newest date time (expects
400) - Checking with invalid account ID (expects
404)
Get Invoices For Specific Accountsβ
Test ID API-ENERGY-INVOICES-SPECIFIC-ACCOUNTS, Get Invoices For Specific Accounts in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Validating date is within the range
- Checking invalid oldest and newest date (expects
400) - Checking with invalid account ID (expects
422)
Get Bulk Invoicesβ
Test ID API-ENERGY-BULK-INVOICES, Get Bulk Invoices in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Checking invalid oldest and newest date (expects
400)
Get Invoices For Accountβ
Test ID API-ENERGY-INVOICES-ACCOUNT, Get Invoices For Account in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Validating date is within the range
- Checking invalid oldest and newest date (expects
400) - Checking with invalid account ID (expects
404)
Get Billing For Specific Accountsβ
Test ID API-ENERGY-BILLING-SPECIFIC-ACCOUNTS, Get Billing For Specific Accounts in the Consumer Data Standards.
Endpoint checks:
- Checking if version in request and response match
- Validating transaction date is within the range
- Checking invalid oldest and newest date time (expects
400) - Checking with invalid account ID (expects
422)
Get Bulk DER (GET /energy/electricity/servicepoints/der), Get DER For Specific Service Points (POST /energy/electricity/servicepoints/der), Get Bulk Service Point Usage (GET /energy/electricity/servicepoints/usage), Get Usage For Specific Service Points (POST /energy/electricity/servicepoints/usage), Get DER For Electricity Service Point (GET /energy/electricity/servicepoints/{servicePointId}/der), Get Usage For Electricity Service Point (GET /energy/electricity/servicepoints/{servicePointId}/usage) are not covered by the Biza Test Suite. These endpoints are supported by the Secondary Data Holder, the Australian Energy Market Operator (AEMO), and are only valid in the CDR Ecosystem.
Scenariosβ
The Biza Test Suite (BTS) runs these scenarios. The tables above show which scenarios apply to each endpoint.
Headersβ
Version tests (x-v and x-min-v)β
- For each version the Data Standards list as current, a request with
x-vandx-min-vset to that version returns200. - For each current version, a request with
x-vset and nox-min-vreturns200. - For each version the Data Standards list as obsolete, a request for that version returns
406. If the Data Holder returns200, the result is recorded as Info, because the Data Holder may still support that version. - A request with no
x-vheader returns400. - A request with a non-numeric
x-vreturns400. - A request with a non-numeric
x-min-vreturns400.
Invalid FAPI headersβ
Each of these returns 400:
- An invalid
x-fapi-auth-datevalue - An invalid
x-fapi-interaction-idvalue - An invalid
x-cds-client-headersvalue - An invalid
x-fapi-customer-ip-addressvalue
Paginationβ
- A valid
page-size(1, 25, 999 or 1000) returns200. - An invalid
page-size(-1, 0 or 1001) returns400. - A valid
page(1) returns200. - An invalid
page(-1, 0, 26 or 9999) returns422or400.
Payload validationβ
Requestβ
- A POST request with a valid payload returns
2xx. - A POST request with an invalid payload (for example, an unknown account ID) returns
4xx.
Responseβ
- Every response payload is validated against the schema constraints in the Consumer Data Standards. Validation errors are reported as failures, and validation warnings as warnings.
Parameterβ
Path variableβ
- A valid path variable returns
2xx. - An invalid path variable returns
4xx.
Query parameterβ
- A query parameter with an invalid value returns
4xx. - A query parameter with a valid value returns
2xx.
Filtering/rangeβ
- A query parameter that filters or sets a range, such as
oldest-time/newest-time,min-amount/max-amountoropen-status, returns only matching results.
Not every endpoint has filtering tests. The tables above show the endpoints that do.
Orderingβ
- Where the Data Standards require an order, BTS checks it. For example, instalment plans MUST be returned in descending
creationDateorder.
Optional endpointsβ
- Some endpoints are optional under the Data Standards, such as the instalment plan endpoints. If the Data Holder responds
404with the error codeurn:au-cds:error:cds-all:Resource/NotImplemented, BTS records an Info result and skips that endpoint's remaining scenarios. This is compliant only if the Data Holder has no data of that kind.