Skip to main content

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.

EndpointPathCurrent versionsObsolete versionsScenarios
Get CustomerGET /common/customerV1–Version tests
Response payload
Get Customer DetailGET /common/customer/detailV2V1Version 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.

EndpointPathCurrent versionsObsolete versionsScenarios
Get AccountsGET /banking/accountsV2, V3–Version tests
Invalid FAPI headers
Pagination
Response payload
Query parameter
Filtering/range
Get Account DetailGET /banking/accounts/{accountId}V3, V4, V5V1, V2Version tests
Invalid FAPI headers
Response payload
Path variable
Get Account BalanceGET /banking/accounts/{accountId}/balanceV1–Version tests
Invalid FAPI headers
Response payload
Path variable
Get Bulk BalancesGET /banking/balancesV1, V2–Version tests
Invalid FAPI headers
Pagination
Response payload
Query parameter
Filtering/range
Get Balances For Specific AccountsPOST /banking/balancesV1–Version tests
Invalid FAPI headers
Pagination
Request payload
Response payload
Get Direct Debits For AccountGET /banking/accounts/{accountId}/direct-debitsV1–Version tests
Invalid FAPI headers
Pagination
Response payload
Path variable
Get Bulk Direct DebitsGET /banking/direct-debitsV1, V2–Version tests
Invalid FAPI headers
Pagination
Response payload
Query parameter
Filtering/range
Get Direct Debits For Specific AccountsPOST /banking/direct-debitsV1–Version tests
Invalid FAPI headers
Pagination
Request payload
Response payload
Get PayeesGET /banking/payeesV2V1Version tests
Invalid FAPI headers
Pagination
Response payload
Query parameter
Filtering/range
Get Payee DetailGET /banking/payees/{payeeId}V2V1Version tests
Invalid FAPI headers
Response payload
Path variable
Get ProductsGET /banking/productsV3, V4, V5V1, V2Version tests
Invalid FAPI headers
Pagination
Response payload
Filtering/range
Get Product DetailGET /banking/products/{productId}V4, V5, V6, V7V1, V2, V3Version tests
Response payload
Path variable
Get Scheduled Payments for AccountGET /banking/accounts/{accountId}/scheduled-paymentsV2V1Version tests
Invalid FAPI headers
Pagination
Response payload
Path variable
Get Scheduled Payments BulkGET /banking/scheduled-paymentsV2, V3V1Version tests
Invalid FAPI headers
Pagination
Response payload
Query parameter
Filtering/range
Get Scheduled Payments For Specific AccountsPOST /banking/scheduled-paymentsV2V1Version tests
Invalid FAPI headers
Pagination
Request payload
Response payload
Get Transactions For AccountGET /banking/accounts/{accountId}/transactionsV1, V2–Version tests
Invalid FAPI headers
Pagination
Response payload
Path variable
Query parameter
Filtering/range
Get Transaction DetailGET /banking/accounts/{accountId}/transactions/{transactionId}V1, V2, V3–Version tests
Invalid FAPI headers
Response payload
Path variable
Get Instalment Plans BulkGET /banking/accounts/payments/plansV1–Version tests
Invalid FAPI headers
Pagination
Response payload
Query parameter
Filtering/range
Ordering
Optional endpoint
Get Instalment Plans For AccountGET /banking/accounts/{accountId}/payments/plansV1–Version tests
Invalid FAPI headers
Pagination
Response payload
Path variable
Ordering
Optional endpoint

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 (expects 400)
  • 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 (expects 400)
  • Filtering is-owned: each of true, false
  • Filtering invalid open-status: NOT_AN_OPEN_STATUS (expects 400)
  • 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 (expects 404)
  • 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 (expects 404)

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 (expects 400)
  • 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 (expects 400)
  • Filtering is-owned: each of true, false
  • Filtering invalid open-status: NOT_AN_OPEN_STATUS (expects 400)
  • 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 (expects 400)
  • 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 (expects 400)
  • Filtering is-owned: each of true, false
  • Filtering invalid open-status: NOT_AN_OPEN_STATUS (expects 400)
  • 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 (expects 400)
  • 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 (expects 400)
  • 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 (expects 400)
  • Filtering is-owned: each of true, false
  • Filtering invalid open-status: NOT_AN_OPEN_STATUS (expects 400)
  • 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 (expects 400)
  • 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.

EndpointPathCurrent versionsObsolete versionsScenarios
Get Energy AccountsGET /energy/accountsV2V1Version tests
Invalid FAPI headers
Pagination
Response payload
Filtering/range
Get Energy Account DetailGET /energy/accounts/{accountId}V4V1, V2, V3Version tests
Invalid FAPI headers
Response payload
Path variable
Get Service PointsGET /energy/electricity/servicepointsV1, V2–Version tests
Invalid FAPI headers
Response payload
Get Service Point DetailGET /energy/electricity/servicepoints/{servicePointId}V1, V2–Version tests
Invalid FAPI headers
Response payload
Path variable
Get Balance For Energy AccountGET /energy/accounts/{accountId}/balanceV1–Version tests
Invalid FAPI headers
Response payload
Path variable
Get Balances For Specific Energy AccountsPOST /energy/balancesV1–Version tests
Invalid FAPI headers
Pagination
Request payload
Response payload
Get Bulk Balances for EnergyGET /energy/balancesV1–Version tests
Invalid FAPI headers
Pagination
Response payload
Get ConcessionsGET /energy/accounts/{accountId}/concessionsV1–Version tests
Invalid FAPI headers
Response payload
Path variable
Get Bulk BillingGET /energy/billingV2, V3V1Version tests
Invalid FAPI headers
Pagination
Response payload
Query parameter
Filtering/range
Get Agreed Payment ScheduleGET /energy/accounts/{accountId}/payment-scheduleV1–Version tests
Invalid FAPI headers
Response payload
Path variable
Get Billing For AccountGET /energy/accounts/{accountId}/billingV2, V3V1Version tests
Invalid FAPI headers
Response payload
Path variable
Query parameter
Filtering/range
Get Invoices For Specific AccountsPOST /energy/invoicesV1–Version tests
Invalid FAPI headers
Pagination
Request payload
Response payload
Query parameter
Filtering/range
Get Bulk InvoicesGET /energy/invoicesV1–Version tests
Invalid FAPI headers
Pagination
Response payload
Query parameter
Filtering/range
Get Invoices For AccountGET /energy/accounts/{accountId}/invoicesV1–Version tests
Invalid FAPI headers
Pagination
Response payload
Path variable
Query parameter
Filtering/range
Get Billing For Specific AccountsPOST /energy/billingV2, V3V1Version tests
Invalid FAPI headers
Pagination
Request payload
Response payload
Query parameter
Filtering/range

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)
Not covered

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)​

  1. For each version the Data Standards list as current, a request with x-v and x-min-v set to that version returns 200.
  2. For each current version, a request with x-v set and no x-min-v returns 200.
  3. For each version the Data Standards list as obsolete, a request for that version returns 406. If the Data Holder returns 200, the result is recorded as Info, because the Data Holder may still support that version.
  4. A request with no x-v header returns 400.
  5. A request with a non-numeric x-v returns 400.
  6. A request with a non-numeric x-min-v returns 400.

Invalid FAPI headers​

Each of these returns 400:

  1. An invalid x-fapi-auth-date value
  2. An invalid x-fapi-interaction-id value
  3. An invalid x-cds-client-headers value
  4. An invalid x-fapi-customer-ip-address value

Pagination​

  1. A valid page-size (1, 25, 999 or 1000) returns 200.
  2. An invalid page-size (-1, 0 or 1001) returns 400.
  3. A valid page (1) returns 200.
  4. An invalid page (-1, 0, 26 or 9999) returns 422 or 400.

Payload validation​

Request​

  1. A POST request with a valid payload returns 2xx.
  2. A POST request with an invalid payload (for example, an unknown account ID) returns 4xx.

Response​

  1. 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​

  1. A valid path variable returns 2xx.
  2. An invalid path variable returns 4xx.

Query parameter​

  1. A query parameter with an invalid value returns 4xx.
  2. A query parameter with a valid value returns 2xx.

Filtering/range​

  1. A query parameter that filters or sets a range, such as oldest-time/newest-time, min-amount/max-amount or open-status, returns only matching results.
info

Not every endpoint has filtering tests. The tables above show the endpoints that do.

Ordering​

  1. Where the Data Standards require an order, BTS checks it. For example, instalment plans MUST be returned in descending creationDate order.

Optional endpoints​

  1. Some endpoints are optional under the Data Standards, such as the instalment plan endpoints. If the Data Holder responds 404 with the error code urn: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.