The CDR Test Documentation
File version: 2.0.0
This documentation has been created by the DSB to assist participants in the development of compliant APIs
For more details see the CDS standards-testing repository
Last updated 21/03/2023 see the change log for details
Test Suites
SUITE.EAA: APIs - Energy Accounts
Test Scenarios:
- S.EAA.0047: Get Energy Accounts v1
- S.EAA.0048: Get Energy Accounts Negative v1
- S.EAA.0049: Get Energy Account Detail v1
- S.EAA.0050: Get Energy Account Detail Negative v1
- S.EAA.0051: Get Agreed Payment Schedule v1
- S.EAA.0052: Get Agreed Payment Schedule Negative v1
- S.EAA.0053: Get Concessions v1
- S.EAA.0054: Get Concessions Negative v1
SUITE.EAR: APIs - Energy Standing Data, Usage and DER
Test Scenarios:
- S.EAR.0073: Get Service Points v1
- S.EAR.0074: Get Service Points Negative v1
- S.EAR.0075: Get Service Point Detail v1
- S.EAR.0076: Get Service Point Detail Negative v1
- S.EAR.0077: Get Usage For Service Point v1
- S.EAR.0078: Get Usage For Service Point Negative v1
- S.EAR.0079: Get Bulk Usage v1
- S.EAR.0080: Get Bulk Usage Negative v1
- S.EAR.0081: Get Usage For Specific Service Points v1
- S.EAR.0082: Get Usage For Specific Service Points Negative v1
- S.EAR.0083: Get DER for Service Point v1
- S.EAR.0084: Get DER for Service Point Negative v1
- S.EAR.0085: Get Bulk DER v1
- S.EAR.0086: Get Bulk DER Negative v1
- S.EAR.0087: Get DER For Specific Service Points v1
- S.EAR.0088: Get DER For Specific Service Points Negative v1
SUITE.EAS: APIs - Energy Standing Data, Usage and DER SR
Test Scenarios:
- S.EAS.0089: Get Service Points SR v1
- S.EAS.0090: Get Service Points Negative SR v1
- S.EAS.0091: Get Service Point Detail SR v1
- S.EAS.0092: Get Service Point Detail Negative SR v1
- S.EAS.0093: Get Usage For Service Point SR v1
- S.EAS.0094: Get Usage For Service Point Negative SR v1
- S.EAS.0095: Get Usage For Specific Service Points SR v1
- S.EAS.0096: Get Usage For Specific Service Points Negative SR v1
- S.EAS.0097: Get DER for Service Point SR v1
- S.EAS.0098: Get DER for Service Point Negative SR v1
- S.EAS.0099: Get DER For Specific Service Points SR v1
- S.EAS.0100: Get DER For Specific Service Points Negative SR v1
Test Scenarios
S.CAA.0035: Get status v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.CAA.0001: Get Status with a valid version |
S.CAA.0036: Get status Negative v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.CAA.0002: Get Status - invalid version value |
2 | Execute Test | T.CAA.0003: Get Status - invalid version format |
3 | Execute Test | T.CAA.0004: Get Status - unsupported version without |
4 | Execute Test | T.CAA.0005: Get Status - unsupported version when |
5 | Execute Test | T.CAA.0006: Get Status - invalid minimum version format |
S.CAA.0037: Get outages v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.CAA.0007: Get Outages with a valid version |
S.CAA.0038: Get outages Negative v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.CAA.0008: Get Outages - invalid version value |
2 | Execute Test | T.CAA.0009: Get Outages - invalid version format |
3 | Execute Test | T.CAA.0010: Get Outages - unsupported version without |
4 | Execute Test | T.CAA.0011: Get Outages - unsupported version when |
5 | Execute Test | T.CAA.0012: Get Outages - invalid minimum version format |
S.CAC.0039: Get customer v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.CAC.0001: Get Customer |
S.CAC.0040: Get customer Negative v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.CAC.0002: Get Customer - invalid version value |
2 | Execute Test | T.CAC.0003: Get Customer - invalid version format |
3 | Execute Test | T.CAC.0004: Get Customer - unsupported version without x-min-v included |
4 | Execute Test | T.CAC.0005: Get Customer - unsupported version when x-min-v is included |
5 | Execute Test | T.CAC.0006: Get Customer - invalid minimum version value |
6 | Execute Test | T.CAC.0007: Get Customer - invalid FAPI Interaction ID format |
7 | Execute Test | T.CAC.0008: Get Customer - missing FAPI Auth Date |
8 | Execute Test | T.CAC.0009: Get Customer - invalid FAPI Auth Date |
9 | Execute Test | T.CAC.0010: Get Customer - missing FAPI Customer IP Address |
10 | Execute Test | T.CAC.0011: Get Customer - invalid FAPI Customer IP Address |
11 | Execute Test | T.CAC.0012: Get Customer - missing CDS Client Header |
12 | Execute Test | T.CAC.0013: Get Customer - invalid CDS Client Header |
S.CAC.0041: Get customer detail v2
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.CAC.0014: Get Customer Detail |
S.CAC.0042: Get customer detail Negative v2
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.CAC.0015: Get Customer Detail - invalid version value |
2 | Execute Test | T.CAC.0016: Get Customer Detail - invalid version format |
3 | Execute Test | T.CAC.0017: Get Customer Detail - unsupported version without x-min-v included |
4 | Execute Test | T.CAC.0018: Get Customer Detail - unsupported version when x-min-v is included |
5 | Execute Test | T.CAC.0019: Get Customer Detail - invalid minimum version value |
6 | Execute Test | T.CAC.0020: Get Customer Detail - invalid FAPI Interaction ID format |
7 | Execute Test | T.CAC.0021: Get Customer Detail - missing FAPI Auth Date |
8 | Execute Test | T.CAC.0022: Get Customer Detail - invalid FAPI Auth Date |
9 | Execute Test | T.CAC.0023: Get Customer Detail - missing FAPI Customer IP Address |
10 | Execute Test | T.CAC.0024: Get Customer Detail - invalid FAPI Customer IP Address |
11 | Execute Test | T.CAC.0025: Get Customer Detail - missing CDS Client Header |
12 | Execute Test | T.CAC.0026: Get Customer Detail - invalid CDS Client Header |
S.EAA.0047: Get Energy Accounts v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAA.0001: Get Energy Accounts - no pagination |
2 | Execute Test | T.EAA.0002: Get Energy Accounts - with pagination |
S.EAA.0048: Get Energy Accounts Negative v1
Testing Sequence:
S.EAA.0049: Get Energy Account Detail v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAA.0015: Get Energy Account Detail |
S.EAA.0050: Get Energy Account Detail Negative v1
Testing Sequence:
S.EAA.0051: Get Agreed Payment Schedule v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAA.0029: Get Agreed Payment Schedule |
S.EAA.0052: Get Agreed Payment Schedule Negative v1
Testing Sequence:
S.EAA.0053: Get Concessions v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAA.0043: Get Concessions |
S.EAA.0054: Get Concessions Negative v1
Testing Sequence:
S.EAR.0073: Get Service Points v1
Purpose:
Test cases which will return a 2xx status code
References:
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Setup | Authorise sessionAND x-v is set in header |
2 | Execute Test | T.EAR.0001: ADR call to DH: Get Service Points - no pagination |
3 | Execute Test | T.EAR.0002: ADR call to DH: Get Service Points - with pagination |
S.EAR.0074: Get Service Points Negative v1
Purpose:
Test cases which will return codes other than 2xx
References:
Testing Sequence:
S.EAR.0075: Get Service Point Detail v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAR.0006: ADR call to DH: Get Service Point Detail |
S.EAR.0076: Get Service Point Detail Negative v1
Testing Sequence:
S.EAR.0077: Get Usage For Service Point v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAR.0011: ADR call to DH: Get Usage for Service Point Detail - no pagination |
2 | Execute Test | T.EAR.0012: ADR call to DH: Get Usage for Service Points - with pagination |
3 | Execute Test | T.EAR.0015: ADR call to DH: Get Usage for Service Points - oldest date |
4 | Execute Test | T.EAR.0016: ADR call to DH: Get Usage for Service Points - newest date |
S.EAR.0078: Get Usage For Service Point Negative v1
Testing Sequence:
S.EAR.0079: Get Bulk Usage v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAR.0045: ADR call to DH: Get Bulk Usage |
2 | Execute Test | T.EAR.0046: ADR call to DH: Get Bulk Usage - with pagination |
3 | Execute Test | T.EAR.0049: ADR call to DH: Get Bulk Usage - oldest date |
4 | Execute Test | T.EAR.0050: ADR call to DH: Get Bulk Usage - newest date |
S.EAR.0080: Get Bulk Usage Negative v1
Testing Sequence:
S.EAR.0081: Get Usage For Specific Service Points v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAR.0022: ADR call to DH: Get Usage for Specific Service Points - no pagination |
2 | Execute Test | T.EAR.0023: ADR call to DH: Get Usage for Specific Service Points - with pagination |
3 | Execute Test | T.EAR.0026: ADR call to DH: Get Usage for Specific Service Points - oldest date |
4 | Execute Test | T.EAR.0027: ADR call to DH: Get Usage for Specific Service Points - newest date |
S.EAR.0082: Get Usage For Specific Service Points Negative v1
Testing Sequence:
S.EAR.0083: Get DER for Service Point v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAR.0033: ADR call to DH: Get DER for Service Point |
S.EAR.0084: Get DER for Service Point Negative v1
Testing Sequence:
S.EAR.0085: Get Bulk DER v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAR.0060: ADR call to DH: Get Bulk DER |
2 | Execute Test | T.EAR.0061: ADR call to DH: Get Bulk DER - with pagination |
S.EAR.0086: Get Bulk DER Negative v1
Testing Sequence:
S.EAR.0087: Get DER For Specific Service Points v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAR.0038: ADR call to DH: Get DER for Specific Service Points - no pagination |
2 | Execute Test | T.EAR.0039: ADR call to DH: Get DER for Specific Service Points - with pagination |
S.EAR.0088: Get DER For Specific Service Points Negative v1
Testing Sequence:
S.EAS.0089: Get Service Points SR v1
References:
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAS.0001: DH call to SDH: Get Service Points - no pagination |
2 | Execute Test | T.EAS.0002: DH call to SDH: Get Service Points - with pagination |
S.EAS.0090: Get Service Points Negative SR v1
References:
Testing Sequence:
S.EAS.0091: Get Service Point Detail SR v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAS.0005: DH call to SDH: Get Service Point Detail |
S.EAS.0092: Get Service Point Detail Negative SR v1
Testing Sequence:
S.EAS.0093: Get Usage For Service Point SR v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAS.0009: DH call to SDH: Get Usage for Service Point Detail - no pagination |
2 | Execute Test | T.EAS.0010: DH call to SDH: Get Usage for Service Points - with pagination |
3 | Execute Test | T.EAS.0014: DH call to SDH: Get Usage for Service Points - newest date |
S.EAS.0094: Get Usage For Service Point Negative SR v1
Testing Sequence:
S.EAS.0095: Get Usage For Specific Service Points SR v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAS.0019: DH call to SDH: Get Usage for Specific Service Points - no pagination |
2 | Execute Test | T.EAS.0020: DH call to SDH: Get Usage for Specific Service Points - with pagination |
3 | Execute Test | T.EAS.0023: DH call to SDH: Get Usage for Specific Service Points - oldest date |
4 | Execute Test | T.EAS.0024: DH call to SDH: Get Usage for Specific Service Points - newest date |
S.EAS.0096: Get Usage For Specific Service Points Negative SR v1
Testing Sequence:
S.EAS.0097: Get DER for Service Point SR v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAS.0027: DH call to SDH: Get DER for Service Point |
S.EAS.0098: Get DER for Service Point Negative SR v1
Testing Sequence:
S.EAS.0099: Get DER For Specific Service Points SR v1
Testing Sequence:
Action No. | Action Type | Detail |
---|---|---|
1 | Execute Test | T.EAS.0031: DH call to SDH: Get DER for Specific Service Points - no pagination |
2 | Execute Test | T.EAS.0032: DH call to SDH: Get DER for Specific Service Points - with pagination |
S.EAS.0100: Get DER For Specific Service Points Negative SR v1
Testing Sequence:
Test Cases
T.CAA.0001: Get Status with a valid version
Positive test case
Obtain a health check status for the implementation
Purpose:
Test API with a valid version
References:
Execution Pre-conditions:
- Value <x-v> is set to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/status |
End State Assertions:
T.CAA.0002: Get Status - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/status |
End State Assertions:
T.CAA.0003: Get Status - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/status |
End State Assertions:
T.CAA.0004: Get Status - unsupported version without included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/status |
End State Assertions:
T.CAA.0005: Get Status - unsupported version when is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/status |
End State Assertions:
T.CAA.0006: Get Status - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/status |
End State Assertions:
T.CAA.0007: Get Outages with a valid version
Positive test case
Obtain a list of scheduled outages for the implementation
Purpose:
Test API with a valid version
References:
Execution Pre-conditions:
- Value <x-v> is set to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/outages |
End State Assertions:
T.CAA.0008: Get Outages - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/outages |
End State Assertions:
T.CAA.0009: Get Outages - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/outages |
End State Assertions:
T.CAA.0010: Get Outages - unsupported version without included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/outages |
End State Assertions:
T.CAA.0011: Get Outages - unsupported version when is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/outages |
End State Assertions:
T.CAA.0012: Get Outages - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /discovery/outages |
End State Assertions:
T.CAC.0001: Get Customer
Positive test case
Obtain basic information on the customer that has authorised the current session
Purpose:
Test API with valid version
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0002: Get Customer - invalid version value
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0003: Get Customer - invalid version format
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0004: Get Customer - unsupported version without x-min-v included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0005: Get Customer - unsupported version when x-min-v is included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0006: Get Customer - invalid minimum version value
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid minimum version value
References:
Execution Pre-conditions:
- The <x-min-v> is a not a positive integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0007: Get Customer - invalid FAPI Interaction ID format
Negative test case
Ensure the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0008: Get Customer - missing FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0009: Get Customer - invalid FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0010: Get Customer - missing FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0011: Get Customer - invalid FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0012: Get Customer - missing CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0013: Get Customer - invalid CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer |
End State Assertions:
T.CAC.0014: Get Customer Detail
Positive test case
Obtain detailed information on the authorised customer within the current session
Purpose:
Test API with valid version
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0015: Get Customer Detail - invalid version value
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0016: Get Customer Detail - invalid version format
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0017: Get Customer Detail - unsupported version without x-min-v included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0018: Get Customer Detail - unsupported version when x-min-v is included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0019: Get Customer Detail - invalid minimum version value
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid minimum version value
References:
Execution Pre-conditions:
- The <x-min-v> is a not a positive integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0020: Get Customer Detail - invalid FAPI Interaction ID format
Negative test case
Ensure the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0021: Get Customer Detail - missing FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0022: Get Customer Detail - invalid FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0023: Get Customer Detail - missing FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0024: Get Customer Detail - invalid FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0025: Get Customer Detail - missing CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.CAC.0026: Get Customer Detail - invalid CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /common/customer/detail |
End State Assertions:
T.EAA.0001: Get Energy Accounts - no pagination
Positive test case
Obtain the list of energy accounts available under the authorised consent
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0002: Get Energy Accounts - with pagination
Positive test case
Obtain the list of energy accounts available under the authorised con
Purpose:
Test API with pagination partameters
References:
Execution Pre-conditions:
- <page-size> and <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
- A.EAA.0001: Validate schema - EnergyAccountListResponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAA.0003: Get Energy Accounts - invalid page parameters
Negative test case
Ensure the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
- A.ZAA.0002: Validate pagination - Invalid page size value
- A.ZAA.0003: Validate pagination - Non-numeric <page>
- A.ZAA.0004: Validate pagination - Max record limit exceeded
- A.ZAA.0005: Validate pagination - Non-numeric <page-size>
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAA.0004: Get Energy Accounts - unsupported version without x-min-v included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0005: Get Energy Accounts - invalid version value
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0006: Get Energy Accounts - invalid version format
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0007: Get Energy Accounts - unsupported version when x-min-v is included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0008: Get Energy Accounts - invalid FAPI Interaction ID format
Negative test case
Ensure the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0009: Get Energy Accounts - missing FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0010: Get Energy Accounts - invalid FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0011: Get Energy Accounts - missing FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0012: Get Energy Accounts - invalid FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0013: Get Energy Accounts - missing CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0014: Get Energy Accounts - invalid CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0015: Get Energy Account Detail
Positive test case
Obtain detailed information for a specific energy account
Purpose:
Test API with valid account and version
References:
Execution Pre-conditions:
- The {accountId} is set in the Path
- AND value <x-v> is set in the request header to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
- A.EAA.0002: Validate account and schema - EnergyAccountDetailResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAA.0016: Get Energy Account Detail - invalid account id format
Negative test case
Ensure the endpoint returns accountId compatible errors
Purpose:
Test API with an invalid accountId
References:
Execution Pre-conditions:
- The {accountId} is set in the Path to a value that is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0017: Get Energy Account Detail - unavailable account id
Negative test case
Ensure the endpoint returns accountId compatible errors
Purpose:
Test API with an unavailable accountId
References:
Execution Pre-conditions:
- The {accountID} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0018: Get Energy Account Detail - unsupported version without x-min-v included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0019: Get Energy Account Detail - invalid version value
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0020: Get Energy Account Detail - invalid version format
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0021: Get Energy Account Detail - unsupported version when x-min-v is included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0022: Get Energy Account Detail - invalid FAPI Interaction ID format
Negative test case
Ensure the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0023: Get Energy Account Detail - missing FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0024: Get Energy Account Detail - invalid FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0025: Get Energy Account Detail - missing FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0026: Get Energy Account Detail - invalid FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0027: Get Energy Account Detail - missing CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0028: Get Energy Account Detail - invalid CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0029: Get Agreed Payment Schedule
Positive test case
Obtain the agreed payment schedule and details, if any, for a specific energy account
Purpose:
Test API with valid account and version
References:
Execution Pre-conditions:
- The {accountId} is set in the Path
- AND value <x-v> is set in the request header to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
- A.EAA.0005: validate account and schema - EnergyPaymentScheduleResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAA.0030: Get Agreed Payment Schedule - invalid account id format
Negative test case
Ensure the endpoint returns accountId compatible errors
Purpose:
Test API with an invalid accountId
References:
Execution Pre-conditions:
- The {accountId} is set in the Path to a value that is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0031: Get Agreed Payment Schedule - unavailable account id
Negative test case
Ensure the endpoint returns accountId compatible errors
Purpose:
Test API with an unavailable accountId
References:
Execution Pre-conditions:
- The {accountID} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0032: Get Agreed Payment Schedule - unsupported version without x-min-v included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0033: Get Agreed Payment Schedule - invalid version value
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0034: Get Agreed Payment Schedule - invalid version format
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0035: Get Agreed Payment Schedule - unsupported version when x-min-v is included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0036: Get Agreed Payment Schedule - invalid FAPI Interaction ID format
Negative test case
Ensure the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0037: Get Agreed Payment Schedule - missing FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0038: Get Agreed Payment Schedule - invalid FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0039: Get Agreed Payment Schedule - missing FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0040: Get Agreed Payment Schedule - invalid FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0041: Get Agreed Payment Schedule - missing CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0042: Get Agreed Payment Schedule - invalid CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0043: Get Concessions
Positive test case
Obtain the details of any concessions or arrangements applied to a specific energy account
Purpose:
Test API with valid account and version
References:
Execution Pre-conditions:
- The {accountId} is set in the Path
- AND value <x-v> is set in the request header to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0044: Get Concessions - invalid account id format
Negative test case
Ensure the endpoint returns accountId compatible errors
Purpose:
Test API with an invalid accountId
References:
Execution Pre-conditions:
- The {accountId} is set in the Path to a value that is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0045: Get Concessions - unavailable account id
Negative test case
Ensure the endpoint returns accountId compatible errors
Purpose:
Test API with an unavailable accountId
References:
Execution Pre-conditions:
- The {accountID} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0046: Get Concessions - unsupported version without x-min-v included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0047: Get Concessions - invalid version value
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0048: Get Concessions - invalid version format
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0049: Get Concessions - unsupported version when x-min-v is included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0050: Get Concessions - invalid FAPI Interaction ID format
Negative test case
Ensure the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0051: Get Concessions - missing FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0052: Get Concessions - invalid FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0053: Get Concessions - missing FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0054: Get Concessions - invalid FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0055: Get Concessions - missing CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0056: Get Concessions - invalid CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAA.0057: Get Energy Accounts - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts |
End State Assertions:
T.EAA.0058: Get Energy Account Detail - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId} |
End State Assertions:
T.EAA.0059: Get Agreed Payment Schedule - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/payment-schedule |
End State Assertions:
T.EAA.0060: Get Concessions - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/concessions |
End State Assertions:
T.EAB.0002: Get Balance for Energy Account - invalid account id format
Negative test case
Ensure the endpoint returns accountId compatible errors
Purpose:
Test API with an invalid accountId
References:
Execution Pre-conditions:
- The {accountId} is set in the Path to a value that is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0003: Get Balance for Energy Account - unavailable account id
Negative test case
Ensure the endpoint returns accountId compatible errors
Purpose:
Test API with an unavailable accountId
References:
Execution Pre-conditions:
- The {accountID} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0004: Get Balance for Energy Account - unsupported version without x-min-v included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0005: Get Balance for Energy Account - invalid version value
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0006: Get Balance for Energy Account - invalid version format
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0007: Get Balance for Energy Account - unsupported version when x-min-v is included
Negative test case
Ensure the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0008: Get Energy Account Detail - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0009: Get Balance for Energy Account - invalid FAPI Interaction ID format
Negative test case
Ensure the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0010: Get Balance for Energy Account - missing FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0011: Get Balance for Energy Account - invalid FAPI Auth Date
Negative test case
Ensure the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0012: Get Balance for Energy Account - missing FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0013: Get Balance for Energy Account - invalid FAPI Customer IP Address
Negative test case
Ensure the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0014: Get Balance for Energy Account - missing CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0015: Get Balance for Energy Account - invalid CDS Client Header
Negative test case
Ensure the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/{accountId}/balance |
End State Assertions:
T.EAB.0016: with pagination
Positive test case
Purpose:
References:
Execution Pre-conditions:
No pre-conditions for this test case
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/balances |
End State Assertions:
No end state ssertions defined for this test case
T.EAB.0017: without pagination
Positive test case
Purpose:
References:
Execution Pre-conditions:
No pre-conditions for this test case
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/accounts/balances |
End State Assertions:
No end state ssertions defined for this test case
T.EAR.0001: ADR call to DH: Get Service Points - no pagination
Positive test case
Obtain a list of service points owned by the consumer that has authorised the current session
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0002: ADR call to DH: Get Service Points - with pagination
Positive test case
Obtain a paginated list of service points owned by the consumer that has authorised the current session
Purpose:
Test API with pagination partameters
References:
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
- A.EAR.0004: Validate schema - EnergyServicePointListReponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0003: ADR call to DH: Get Service Points - unsupported version without x-min-v included
Negative test case
DH call to SDH: Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0004: ADR call to DH: Get Service Points - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
- A.ZAA.0002: Validate pagination - Invalid page size value
- A.ZAA.0003: Validate pagination - Non-numeric <page>
- A.ZAA.0004: Validate pagination - Max record limit exceeded
- A.ZAA.0005: Validate pagination - Non-numeric <page-size>
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0005: ADR call to DH: Get Service Points - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0006: ADR call to DH: Get Service Point Detail
Positive test case
Obtain the details of a service point owned by the consumer that has authorised the current session
Purpose:
Test API with a vaild service point and version
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-service-point-detail
- Postman Example
Execution Pre-conditions:
- The {servicePointId} is set in the Path
- AND value <x-v> is set in the request header to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
- A.EAR.0001: Validate service point and schema - EnergyServicePointDetailResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0007: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the value for <x-v> is in a valid format
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0008: ADR call to DH: Get Service Point Detail - invalid format of Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an invalid servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path to a value that is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0009: ADR call to DH: Get Service Point Detail - unavailable Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an unavailable servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0010: ADR call to DH: Get Service Point Detail - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0011: ADR call to DH: Get Usage for Service Point Detail - no pagination
Positive test case
Obtain a list of electricity usage data from a particular service point owned by the consumer that has authorised the current session
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
- A.EAR.0005: Validate service point and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0012: ADR call to DH: Get Usage for Service Points - with pagination
Positive test case
Obtain a paginated list of electricity usage data from a particular service point owned by the consumer that has authorised the current session
Purpose:
Test API with pagination partameters
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-service-point
- Postman Example
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
- A.EAR.0005: Validate service point and schema - EnergyUsageListResponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0013: ADR call to DH: Get Usage for Service Points - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0014: ADR call to DH: Get Usage for Service Points - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
- A.ZAA.0002: Validate pagination - Invalid page size value
- A.ZAA.0003: Validate pagination - Non-numeric <page>
- A.ZAA.0004: Validate pagination - Max record limit exceeded
- A.ZAA.0005: Validate pagination - Non-numeric <page-size>
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0015: ADR call to DH: Get Usage for Service Points - oldest date
Positive test case
Obtain a list of electricity usage data constrained by oldest date from a particular service point owned by the consumer that has authorised the current session
Purpose:
Test API with <oldest date> parameter
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-service-point
- https://consumerdatastandardsaustralia.github.io/standards/#common-field-types
Execution Pre-conditions:
- <oldest-date> query parameters is provided
- AND <oldest-date> is a valid DateTime string
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
- A.EAR.0005: Validate service point and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
- A.ZAA.0027: Validate the Oldest Date parameter - valid format
T.EAR.0016: ADR call to DH: Get Usage for Service Points - newest date
Positive test case
Obtain a list of service points owned by the consumer that has authorised the current session
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- <newest-date> query parameter is provided
- AND <newest-date> is a valid DateTime string
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
- A.EAR.0005: Validate service point and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
- A.ZAA.0029: Validate the Newest Date parameter - valid format
T.EAR.0017: ADR call to DH: Get Usage for Service Points - invalid Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an invalid servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path to a value that is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0018: ADR call to DH: Get Usage for Service Points - unavailable Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an unavailable servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0019: ADR call to DH: Get Usage for Service Points - invalid format oldest date
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with <oldest date> parameter
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0020: ADR call to DH: Get Usage for Service Points - invalid format newest date
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0021: ADR call to DH: Get Usage For Service Point - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0022: ADR call to DH: Get Usage for Specific Service Points - no pagination
Positive test case
Obtain the electricity usage data for a specific set of service points owned by the consumer that has authorised the current session
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAR.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0023: ADR call to DH: Get Usage for Specific Service Points - with pagination
Positive test case
Obtain the electricity usage data for a specific set of service points owned by the consumer that has authorised the current session
Purpose:
Test API with pagination partameters
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points
- Postman Example
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAR.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0024: ADR call to DH: Get Usage for Specific Service Points - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0025: ADR call to DH: Get Usage for Specific Service Points - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
- A.ZAA.0002: Validate pagination - Invalid page size value
- A.ZAA.0003: Validate pagination - Non-numeric <page>
- A.ZAA.0004: Validate pagination - Max record limit exceeded
- A.ZAA.0005: Validate pagination - Non-numeric <page-size>
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0026: ADR call to DH: Get Usage for Specific Service Points - oldest date
Positive test case
Obtain the electricity usage data for a specific set of service points owned by the consumer that has authorised the current session
Purpose:
Test API with oldest date parameter
References:
Execution Pre-conditions:
- <oldest-date> query parameters is provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAR.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
- A.ZAA.0027: Validate the Oldest Date parameter - valid format
T.EAR.0027: ADR call to DH: Get Usage for Specific Service Points - newest date
Positive test case
Obtain the electricity usage data for a specific set of service points owned by the consumer that has authorised the current session
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- <newest-date> query parameter is provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAR.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
- A.ZAA.0029: Validate the Newest Date parameter - valid format
T.EAR.0028: ADR call to DH: Get Usage for Specific Service Points - invalid format oldest date
Negative test case
Ensure the endpoint returns oldest-date compatible errors
Purpose:
Test API with oldest date parameter
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0029: ADR call to DH: Get Usage for Specific Service Points - invalid format newest date
Negative test case
Ensure the endpoint returns newest-date compatible errors
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0030: ADR call to DH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0031: ADR call to DH: Get Usage for Specific Service Points - invalid body values
Negative test case
Ensure that the endpoint returns body compatibility errors
Purpose:
Test API with invalid body values
References:
Execution Pre-conditions:
- The request body is correctly formatted
- AND request payload has missing or invalid values
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0032: ADR call to DH: Get Usage for Specific Service Points - invalid body format
Negative test case
Ensure that the endpoint returns body compatibility errors
Purpose:
Test API with a malformed body
References:
Execution Pre-conditions:
- The body is incorrectly formatted
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0033: ADR call to DH: Get DER for Service Point
Positive test case
Obtain a list of DER data from a particular service point owned by the consumer that has authorised the current session
Purpose:
Test API with a vaild service point and version
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-der-for-service-point
- Postman Example
Execution Pre-conditions:
- The {servicePointId} is set in the Path
- AND value <x-v> is set in the request header to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
- A.EAR.0007: Validate service point and schema - EnergyDerDetailResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0034: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the value for <x-v> is in a valid format
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0035: ADR call to DH: Get Service Point Detail - invalid format of Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an invalid servicePointId
References:
Execution Pre-conditions:
- The <{servicePointId}> is set in the Path to a value that is
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0036: ADR call to DH: Get Service Point Detail - unavailable Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an unavailable servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0037: ADR call to DH: Get DER for Service Point - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0038: ADR call to DH: Get DER for Specific Service Points - no pagination
Positive test case
Obtain DER data for a specific set of service points owned by the consumer that has authorised the current session
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
- A.EAR.0008: Validate servicePointIdList body and schema - EnergyDerListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0039: ADR call to DH: Get DER for Specific Service Points - with pagination
Positive test case
Obtain DER data for a specific set of service points owned by the consumer that has authorised the current session
Purpose:
Test API with pagination partameters
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-der-for-specific-service-points
- Postman Example
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
- A.EAR.0008: Validate servicePointIdList body and schema - EnergyDerListResponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0040: ADR call to DH: Get DER for Specific Service Points - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the value for <x-v> is in a valid format
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0041: ADR call to DH: Get DER for Specific Service Points - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
- A.ZAA.0002: Validate pagination - Invalid page size value
- A.ZAA.0003: Validate pagination - Non-numeric <page>
- A.ZAA.0004: Validate pagination - Max record limit exceeded
- A.ZAA.0005: Validate pagination - Non-numeric <page-size>
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0042: ADR call to DH: Get DER for Specific Service Points - invalid body values
Negative test case
Ensure that the endpoint returns body compatibility errors
Purpose:
Test API with invalid body values
References:
Execution Pre-conditions:
- The request body is correctly formatted
- AND request payload has missing or invalid values
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0043: ADR call to DH: Get DER for Specific Service Points - invalid body format
Negative test case
Ensure that the endpoint returns body compatibility errors
Purpose:
Test API with a malformed body
References:
Execution Pre-conditions:
- The body is incorrectly formatted
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0044: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0045: ADR call to DH: Get Bulk Usage
Positive test case
Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0046: ADR call to DH: Get Bulk Usage - with pagination
Positive test case
Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session
Purpose:
Test API with pagination partameters
References:
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAR.0010: Validate schema - EnergyUsageListResponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0047: ADR call to DH: Get Bulk Usage - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0048: ADR call to DH: Get Bulk Usage - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
- A.ZAA.0002: Validate pagination - Invalid page size value
- A.ZAA.0003: Validate pagination - Non-numeric <page>
- A.ZAA.0004: Validate pagination - Max record limit exceeded
- A.ZAA.0005: Validate pagination - Non-numeric <page-size>
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0049: ADR call to DH: Get Bulk Usage - oldest date
Positive test case
Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session
Purpose:
Test API with oldest date parameter
References:
Execution Pre-conditions:
- <oldest-date> query parameters is provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAR.0010: Validate schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
- A.ZAA.0027: Validate the Oldest Date parameter - valid format
T.EAR.0050: ADR call to DH: Get Bulk Usage - newest date
Positive test case
Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- <newest-date> query parameter is provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAR.0010: Validate schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
- A.ZAA.0029: Validate the Newest Date parameter - valid format
T.EAR.0051: ADR call to DH: Get Bulk Usage - invalid format oldest date
Negative test case
Ensure the endpoint returns oldest-date compatible errors
Purpose:
Test API with an invalid oldest date parameter
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0052: ADR call to DH: Get Bulk Usage - invalid format newest date
Negative test case
Ensure the endpoint returns newest-date compatible errors
Purpose:
Test API with an invalid newest date parameter
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0053: ADR call to DH: Get Bulk Usage - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0054: ADR call to DH: Get Bulk Usage - missing FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0055: ADR call to DH: Get Bulk Usage - invalid FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0056: ADR call to DH: Get Bulk Usage - missing FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0057: ADR call to DH: Get Bulk Usage - invalid FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0058: ADR call to DH: Get Bulk Usage - missing CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0059: ADR call to DH: Get Bulk Usage - invalid CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0060: ADR call to DH: Get Bulk DER
Positive test case
Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0061: ADR call to DH: Get Bulk DER - with pagination
Positive test case
Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session
Purpose:
Test API with pagination partameters
References:
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
- A.EAR.0011: Validate schema - EnergyDerListResponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0062: ADR call to DH: Get Bulk DER - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0063: ADR call to DH: Get Bulk DER - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
- A.ZAA.0002: Validate pagination - Invalid page size value
- A.ZAA.0003: Validate pagination - Non-numeric <page>
- A.ZAA.0004: Validate pagination - Max record limit exceeded
- A.ZAA.0005: Validate pagination - Non-numeric <page-size>
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0014: Validate FAPI Interaction ID - not in request
T.EAR.0064: ADR call to DH: Get Bulk DER - missing FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0065: ADR call to DH: DHGet Bulk DER - invalid FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0066: ADR call to DH: Get Bulk DER - missing FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0067: ADR call to DH: DH: Get Bulk DER - invalid FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0068: ADR call to DH: Get Bulk DER - missing CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0069: ADR call to DH: Get Bulk DER - invalid CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0070: ADR call to DH: Get Bulk DER - invalid FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0071: ADR call to DH: Get Bulk DER - missing FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0072: ADR call to DH: Get Bulk DER - invalid FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0073: ADR call to DH: Get Service Points - missing FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0074: ADR call to DH: Get Service Points - invalid FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0075: ADR call to DH: Get Service Points - missing FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0076: ADR call to DH: Get Service Points - invalid FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0077: ADR call to DH: Get Service Points - missing CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0078: ADR call to DH: Get Service Points - invalid CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0079: ADR call to DH: Get Service Point - missing FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0080: ADR call to DH: Get Service Point - invalid FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0081: ADR call to DH: Get Service Point - missing FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0082: ADR call to DH: Get Service Point - invalid FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0083: ADR call to DH: Get Service Point - missing CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0084: ADR call to DH: Get Service Point - invalid CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0085: ADR call to DH: Get Usage For Service Point - missing FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0086: ADR call to DH: Get Usage For Service Point - invalid FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0087: ADR call to DH: Get Usage For Service Point - missing FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0088: ADR call to DH: Get Usage For Service Point - invalid FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0089: ADR call to DH: Get Usage For Service Point - missing CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0090: ADR call to DH: Get Usage For Service Point - invalid CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0091: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0092: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0093: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0094: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0095: ADR call to DH: Get Usage for Specific Service Points - missing CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0096: ADR call to DH: Get Usage for Specific Service Points - invalid CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0097: ADR call to DH: Get DER for Service Point - missing FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0098: ADR call to DH: Get DER for Service Point - invalid FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0099: ADR call to DH: Get DER for Service Point - missing FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0100: ADR call to DH: Get DER for Service Point - invalid FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0101: ADR call to DH: Get DER for Service Point - missing CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0102: ADR call to DH: Get DER for Service Point - invalid CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0103: ADR call to DH: Get DER For Specific Service Points - missing FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0104: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Auth Date
Negative test case
Ensure that the endpoint returns FAPI Auth date errors
Purpose:
Test API when FAPI Auth date is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-auth-date> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0105: ADR call to DH: Get DER For Specific Service Points - missing FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is missing from the header
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0106: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Customer IP Address
Negative test case
Ensure that the endpoint returns FAPI Customer IP address errors
Purpose:
Test API when FAPI Customer IP Address is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-customer-ip-address> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0107: ADR call to DH: Get DER For Specific Service Points - missing CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is missing from the header
References:
Execution Pre-conditions:
- The <x-cds-client-header> is not present in the header
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0108: ADR call to DH: Get DER For Specific Service Points - invalid CDS Client Header
Negative test case
Ensure that the endpoint returns CDS Client Header errors
Purpose:
Test API when CDS Client Header is present but the format is invalid
References:
Execution Pre-conditions:
- The <x-cds-client-header> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0109: ADR call to DH: Get Service Points - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0110: ADR call to DH: Get Service Points - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0111: ADR call to DH: Get Service Point - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0112: ADR call to DH: Get Service Point - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0113: ADR call to DH: Get Usage For Service Point - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0114: ADR call to DH: Get Usage For Service Point - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0115: ADR call to DH: Get Bulk Usage - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0116: ADR call to DH: Get Bulk Usage - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0117: ADR call to DH: Get Usage for Specific Service Points - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0118: ADR call to DH: Get Usage for Specific Service Points - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0119: ADR call to DH: Get DER for Service Point - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0120: ADR call to DH: Get DER for Service Point - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0121: ADR call to DH: Get Bulk DER - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0122: ADR call to DH: Get Bulk DER - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0123: ADR call to DH: Get DER For Specific Service Points - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0124: ADR call to DH: Get DER For Specific Service Points - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0125: ADR call to DH: Get Service Points - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0126: ADR call to DH: Get Service Point - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0127: ADR call to DH: Get Usage For Service Point - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0128: ADR call to DH: Get Bulk Usage - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0129: ADR call to DH: Get Usage for Specific Service Points - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0130: ADR call to DH: Get DER for Service Point - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0131: ADR call to DH: Get Bulk DER - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0132: ADR call to DH: Get DER For Specific Service Points - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0133: ADR call to DH: Get Service Points - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints |
End State Assertions:
T.EAR.0134: ADR call to DH: Get Service Point Detail - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAR.0135: ADR call to DH: Get Usage for Service Point - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAR.0136: ADR call to DH: Get Bulk Usage - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0137: ADR call to DH: Get Usage For Specific Service Points - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/usage |
End State Assertions:
T.EAR.0138: ADR call to DH: Get DER For Service Point - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAR.0139: ADR call to DH: Get Bulk DER - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /energy/electricity/servicepoints/der |
End State Assertions:
T.EAR.0140: ADR call to DH: Get DER For Specific Service Points - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0001: DH call to SDH: Get Service Points - no pagination
Positive test case
Obtain a list of service points requested by the DH
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
- A.EAS.0004: Validate schema - EnergyServicePointListReponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0002: DH call to SDH: Get Service Points - with pagination
Positive test case
Obtain a paginated list of service points requested by the DH
Purpose:
Test API with pagination partameters
References:
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
- A.EAS.0004: Validate schema - EnergyServicePointListReponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0003: DH call to SDH: Get Service Points - unsupported version without x-min-v included
Negative test case
DH call to SDH: Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version
- AND the value for <x-v> is in a valid format not supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0004: DH call to SDH: Get Service Points - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0005: DH call to SDH: Get Service Point Detail
Positive test case
Obtain the details of a service point requested by the DH
Purpose:
Test API with a vaild service point and version
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path
- AND value <x-v> is set in the request header to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
- A.EAS.0001: Validate service point and schema - EnergyServicePointDetailResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0006: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
- AND the value for <x-v> is in a valid format
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0007: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an invalid servicePointId
References:
Execution Pre-conditions:
- The <{servicePointId}> is set in the Path to a value that is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0008: DH call to SDH: Get Service Point Detail - unavailable Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an unavailable servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0009: DH call to SDH: Get Usage for Service Point Detail - no pagination
Positive test case
Obtain a list of electricity usage data from a particular service point requested by the DH
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
- A.EAS.0005: Validate service point and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0010: DH call to SDH: Get Usage for Service Points - with pagination
Positive test case
Obtain a paginated list of electricity usage data from a particular service requested by the DH
Purpose:
Test API with pagination partameters
References:
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
- A.EAS.0005: Validate service point and schema - EnergyUsageListResponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0011: DH call to SDH: Get Usage for Service Points - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
- AND the value for <x-v> is in a valid format
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0012: DH call to SDH: Get Usage for Service Points - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0013: DH call to SDH: Get Usage for Service Points - oldest date
Positive test case
Obtain a list of electricity usage data constrained by oldest date from a particular service point requested by the DH
Purpose:
Test API with <oldest date> parameter
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-service-point-sr
- https://consumerdatastandardsaustralia.github.io/standards/#common-field-types
Execution Pre-conditions:
- <oldest-date> query parameters is provided
- AND <oldest-date> is a valid DateTime string
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
- A.EAS.0005: Validate service point and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
- A.ZAA.0027: Validate the Oldest Date parameter - valid format
T.EAS.0014: DH call to SDH: Get Usage for Service Points - newest date
Positive test case
Obtain a list of service points requested by the DH
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- <newest-date> query parameter is provided
- AND <newest-date> is a valid DateTime string
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
- A.EAS.0005: Validate service point and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
- A.ZAA.0029: Validate the Newest Date parameter - valid format
T.EAS.0015: DH call to SDH: Get Usage for Service Points - invalid Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an invalid servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path to a value that is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0016: DH call to SDH: Get Usage for Service Points - unavailable Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an unavailable servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0017: DH call to SDH: Get Usage for Service Points - invalid format oldest date
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with <oldest date> parameter
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0018: DH call to SDH: Get Usage for Service Points - invalid format newest date
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0019: DH call to SDH: Get Usage for Specific Service Points - no pagination
Positive test case
Obtain the electricity usage data for a specific set of service points requested by the DH
Purpose:
Test API without any pagination partameters
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAS.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0020: DH call to SDH: Get Usage for Specific Service Points - with pagination
Positive test case
Obtain the electricity usage data for a specific set of service points requested by the DH
Purpose:
Test API with pagination partameters
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAS.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0021: DH call to SDH: Get Usage for Specific Service Points - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- The value <x-v> is set in the request header to a version not supported by the DH
- AND the value for <x-v> is in a valid format
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0022: DH call to SDH: Get Usage for Specific Service Points - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0023: DH call to SDH: Get Usage for Specific Service Points - oldest date
Negative test case
Obtain the electricity usage data for a specific set of service points requested by the DH
Purpose:
Test API with oldest date parameter
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- <oldest-date> query parameters is provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAS.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
- A.ZAA.0027: Validate the Oldest Date parameter - valid format
T.EAS.0024: DH call to SDH: Get Usage for Specific Service Points - newest date
Positive test case
Obtain the electricity usage data for a specific set of service points requested by the DH
Purpose:
Test API without any pagination partameters
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- <newest-date> query parameter is provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
- A.EAS.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
- A.ZAA.0029: Validate the Newest Date parameter - valid format
T.EAS.0025: DH call to SDH: Get Usage for Specific Service Points - invalid format oldest date
Negative test case
Ensure the endpoint returns oldest-date compatible errors
Purpose:
Test API with oldest date parameter
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0026: DH call to SDH: Get Usage for Specific Service Points - invalid format newest date
Negative test case
Ensure the endpoint returns newest-date compatible errors
Purpose:
Test API without any pagination partameters
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0027: DH call to SDH: Get DER for Service Point
Positive test case
Obtain a list of DER data from a particular service point requested by the DH
Purpose:
Test API with a vaild service point and version
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path
- AND value <x-v> is set in the request header to a version supported by the DH
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
- A.EAS.0007: Validate service point and schema - EnergyDerDetailResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0028: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the value for <x-v> is in a valid format
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0029: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an invalid servicePointId
References:
Execution Pre-conditions:
- The <{servicePointId}> is set in the Path to a value that is
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0030: DH call to SDH: Get Service Point Detail - unavailable Service Point ID
Negative test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an unavailable servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} is set in the Path to a value that is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0031: DH call to SDH: Get DER for Specific Service Points - no pagination
Positive test case
Obtain DER data for a specific set of service points requested by the DH
Purpose:
Test API without any pagination partameters
References:
Execution Pre-conditions:
- Neither <page-size> or <page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
- A.EAS.0008: Validate servicePointIdList body and schema - EnergyDerListResponse
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0032: DH call to SDH: Get DER for Specific Service Points - with pagination
Positive test case
Obtain DER data for a specific set of service points requested by the DH
Purpose:
Test API with pagination partameters
References:
Execution Pre-conditions:
- <page-size> and<page> query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
- A.EAS.0008: Validate servicePointIdList body and schema - EnergyDerListResponse
- A.ZAA.0001: Validate pagination - LinksPaginated
- A.ZAA.0006: Validate version - valid version number [x-v]
- A.ZAA.0011: Validate version - <x-min-v> is provided
- A.ZAA.0013: Validate FAPI Interaction ID - included in request
- A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
- A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
- A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
T.EAS.0033: DH call to SDH: Get DER for Specific Service Points - unsupported version without x-min-v included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the value for <x-v> is in a valid format
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0034: DH call to SDH: Get DER for Specific Service Points - invalid page parameters
Negative test case
Ensure that the endpoint returns pagination errors
Purpose:
Test API with invalid pagination parameters
References:
Execution Pre-conditions:
- <page> OR (<page>
- AND <page-size>) query parameters are provided
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0035: DH call to SDH: Get DER for Specific Service Points - invalid body values
Negative test case
Ensure that the endpoint returns body compatibility errors
Purpose:
Test API with invalid body values
References:
Execution Pre-conditions:
- The request body is correctly formatted
- AND request payload has missing or invalid values
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0036: DH call to SDH: Get DER for Specific Service Points - invalid body format
Negative test case
Ensure that the endpoint returns body compatibility errors
Purpose:
Test API with a malformed body
References:
Execution Pre-conditions:
- The body is incorrectly formatted
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0037: DH call to SDH: Get Usage for Specific Service Points - invalid body values
Negative test case
Ensure that the endpoint returns body compatibility errors
Purpose:
Test API with invalid body values
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- The request body is correctly formatted
- AND request payload has missing or invalid values
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0038: DH call to SDH: Get Usage for Specific Service Points - invalid body format
Negative test case
Ensure that the endpoint returns body compatibility errors
Purpose:
Test API with a malformed body
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- The body is incorrectly formatted
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0039: DH call to SDH: Get Service Points - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID format is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0040: DH call to SDH: Get Service Point Detail - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0041: DH call to SDH: Get Usage For Service Point - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0042: DH call to SDH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0043: DH call to SDH: Get DER for Service Point - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0044: DH call to SDH: Get DER For Specific Service Points - invalid FAPI Interaction ID format
Negative test case
Ensure that the endpoint returns FAPI Interaction ID errors
Purpose:
Test API where FAPI Interaction ID fomat is invalid
References:
Execution Pre-conditions:
- The <x-fapi-interaction-id> format is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0045: DH call to SDH: Get Service Points - no arragement id
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is included
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is missing
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0046: DH call to SDH: Get Service Points - arrangement ID invalid
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is valid
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is present but invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0047: DH call to SDH: Get Service Point Detail - no arragement id
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is included
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is missing
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0048: DH call to SDH: Get Service Point Detail - arrangement ID invalid
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is valid
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is present but invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0049: DH call to Get Usage For Service Point - no arragement id
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is included
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is missing
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0050: DH call to SDH: Get Usage For Service Point - arrangement ID invalid
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is valid
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is present but invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0051: DH call to SDH: Get Usage For Specific Service Points - no arragement id
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is included
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- The <x-cds-arrangement> is missing
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0052: DH call to SDH: Get Usage For Specific Service Points - arrangement ID invalid
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is valid
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- The <x-cds-arrangement> is present but invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0053: DH call to SDH: Get DER for Service Point - no arragement id
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is included
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is missing
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0054: DH call to SDH: Get DER for Service Point - arrangement ID invalid
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is valid
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is present but invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0055: DH call to Get DER For Specific Service Points - no arragement id
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is included
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is missing
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0056: DH call to SDH: Get DER For Specific Service Points - arrangement ID invalid
Negative test case
Ensure that the endpoint returns arrangement id errors
Purpose:
Test API to ensure the arrangement ID is valid
References:
Execution Pre-conditions:
- The <x-cds-arrangement> is present but invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0057: DH call to SDH: Get Service Points - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0058: DH call to SDH: Get Service Points - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0059: DH call to SDH: Get Service Point Detail - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0060: DH call to SDH: Get Service Point Detail - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0061: DH call to SDH: Get Usage For Service Point - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0062: DH call to SDH: Get Usage For Service Point - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0063: DH call to SDH: Get Usage For Specific Service Points - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0064: DH call to SDH: Get Usage For Specific Service Points - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0065: DH call to SDH: Get DER for Service Point - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0066: DH call to SDH: Get DER for Service Point - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0067: DH call to SDH: Get DER For Specific Service Points - invalid version value
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version value
References:
Execution Pre-conditions:
- The <x-v> version is not a valid number
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0068: DH call to SDH: Get DER For Specific Service Points - invalid version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with invalid version format
References:
Execution Pre-conditions:
- The <x-v> format is not valid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0069: DH call to SDH: Get Service Points - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0070: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0071: DH call to SDH: Get Usage for Service Points - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0072: DH call to SDH: Get Usage for Specific Service Points - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0073: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0074: DH call to SDH: Get DER for Specific Service Points - unsupported version when x-min-v is included
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test API with a version that is not supported by the DH
References:
Execution Pre-conditions:
- the value <x-v> is set in the request header to a version not supported by the DH
- AND the <x-min-v> is included
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
T.EAS.0075: DH call to SDH: Get Service Points - missing servicePointId in body
Positive test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with a missing servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} in the body is missing
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0076: DH call to SDH: Get Service Points - invalid servicePointId in body
Positive test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an invalid servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} in the body is invalid
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0077: DH call to SDH: Get Service Points - unavailable servicePointId in body
Positive test case
Ensure the endpoint returns servicePointId compatible errors
Purpose:
Test API with an unavailable servicePointId
References:
Execution Pre-conditions:
- The {servicePointId} in the body is unavailable
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0078: DH call to SDH: Get Service Points - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints |
End State Assertions:
T.EAS.0079: DH call to SDH: Get Service Point Detail - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId} |
End State Assertions:
T.EAS.0080: DH call to SDH: Get Usage for Service Point - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/usage |
End State Assertions:
T.EAS.0081: DH call to SDH: Get Usage For Specific Service Points - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
- https://consumerdatastandardsaustralia.github.io/standards/#get-usage-for-specific-service-points-sr
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/usage |
End State Assertions:
T.EAS.0082: DH call to SDH: Get DER For Service Point - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | GET /secondary/energy/electricity/servicepoints/{servicePointId}/der |
End State Assertions:
T.EAS.0083: DH call to SDH: Get DER For Specific Service Points - invalid minimum version format
Negative test case
Ensure that the endpoint returns version compatibility errors
Purpose:
Test invalid format for minimum version
References:
Execution Pre-conditions:
- <x-min-v> is included
- AND <x-min-v> is not an integer
Execution Steps:
Action No. | Action Type | Detail |
---|---|---|
1 | Action | POST /secondary/energy/electricity/servicepoints/der |
End State Assertions:
No test cases defined
Assertions
A.CAA.0001: Validate schema - GetStatus
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | a request is made to obtain a health check status for the implementation |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the ResponseCommonDiscoveryStatus schema |
A.CAA.0002: Validate schema - GetOutage
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | a request is made to obtain a list of scheduled outages |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the ResponseDiscoveryOutageList schema |
A.CAC.0001: Validate schema - ResponseCommonCustomer
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request to call the API is formatted correctly |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the ResponseCommonCustomer schema |
A.CAC.0002: Validate schema - ResponseCommonCustomerDetailV2
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request to call the API is formatted correctly |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the ResponseCommonCustomerDetailV2 schema |
A.EAA.0001: Validate schema - EnergyAccountListResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request to call the API is formatted correctly by the ADR |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the EnergyAccountListResponse schema |
A.EAA.0002: Validate account and schema - EnergyAccountDetailResponse
References:
- https://consumerdatastandardsaustralia.github.io/standards/#tocSenergyaccountdetailresponse
- https://consumerdatastandardsaustralia.github.io/standards/#energy
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {accountID} is included AND the {accountId} value is valid |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the EnergyAccountDetailResponse schema |
A.EAA.0003: Validate account identifier - invalid value
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {accountId} is included AND the requested account is permanently unavailable. (No subsequent request for the account will be successful.) |
When | a response is returned |
Then | the response has a status of 404AND the response body has ErrorListReponse objectAND error code is "Authorisation/InvalidEnergyAccount" |
A.EAA.0004: Validate account identifier - unavailable account
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {accoundId} is includedAND the requested account is temporarily unavailable. (Subsequent requests for the account may be successful.) |
When | a response is returned |
Then | the response has a status of 404AND the response body has ErrorListReponse objectAND error code is "Authorisation/UnavailableEnergyAccount" |
A.EAA.0005: validate account and schema - EnergyPaymentScheduleResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {accountID} is included AND the {accountId} value is valid |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the EnergyPaymentScheduleResponse schema |
A.EAA.0006: validate account and schema -EnergyConcessionsResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {accountID} is included AND the {accountId} value is valid |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the EnergyConcessionsResponse schema |
A.EAR.0001: Validate service point and schema - EnergyServicePointDetailResponse
References:
- https://consumerdatastandardsaustralia.github.io/standards/#tocSenergyservicepointdetailresponse
- https://consumerdatastandardsaustralia.github.io/standards/#energy
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is included AND the {servicePointId} value is valid |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the EnergyServicePointDetailResponse schema |
A.EAR.0002: Validate service point - invalid value
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is included AND the requested service point is permanently unavailable. (No subsequent request for the service point will be successful.) |
When | a response is returned |
Then | the response has a status of 404AND the response body has ErrorListReponse objectAND error code is "Authorisation/InvalidServicePoint" |
A.EAR.0003: Validate service point - unavailable
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is includedAND the requested service point is temporarily unavailable. (Subsequent requests for the service point may be successful.) |
When | a response is returned |
Then | the response has a status of 404AND the response body has ErrorListReponse objectAND error code is "Authorisation/UnavailableServicePoint" |
A.EAR.0004: Validate schema - EnergyServicePointListReponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request to call the API is formatted correctly |
When | a response is returned |
Then | the response has a status code 200AND the response body complies with the EnergyServiceListResponse schema |
A.EAR.0005: Validate service point and schema - EnergyUsageListResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is includedAND the {servicePointId} value is valid AND the request is formatted correctly |
When | a response is returned |
Then | the response has a status code of 200AND the response body complies with the EnergyUsageListResponse schema |
A.EAR.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request payload to call the API is formatted correctly AND contains the mandatory fields |
When | a response is returned |
Then | the response has a status code 200AND the response body complies with the EnergyUsageListResponse schema |
A.EAR.0007: Validate service point and schema - EnergyDerDetailResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is included AND the {servicePointId} value is valid |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the EnergyDerDetailResponse schema |
A.EAR.0008: Validate servicePointIdList body and schema - EnergyDerListResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request payload to call the API is formatted correctly AND contains the mandatory fields |
When | a response is returned |
Then | the response has a status code 200AND the response body complies with the EnergyDerListResponse schema |
A.EAR.0009: Validate servicePointIdList - invalid body values
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request payload does not contain the required fieldsOR the request payload is NOT well formatted |
When | a response is returned |
Then | the response has a status code 422AND the response body has ErrorListReponseAND error code is "Field/Invalid" |
A.EAR.0010: Validate schema - EnergyUsageListResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request to call the API is formatted correctly |
When | a response is returned |
Then | the response has a status code 200AND the response body complies with the EnergyUsageListResponse schema |
A.EAR.0011: Validate schema - EnergyDerListResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request to call the API is formatted correctly |
When | a response is returned |
Then | the response has a status code 200AND the response body complies with the EnergyDerListResponse schema |
A.EAS.0001: Validate service point and schema - EnergyServicePointDetailResponse
References:
- https://consumerdatastandardsaustralia.github.io/standards/#tocSenergyservicepointdetailresponse
- https://consumerdatastandardsaustralia.github.io/standards/#energy
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is included AND the {servicePointId} value is valid |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the EnergyServicePointDetailResponse schema |
A.EAS.0002: Validate service point - invalid NMI value
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is included AND the requested service point is permanently unavailable. No subsequent request for the service point will be successful. |
When | a response is returned |
Then | the response has a status of 404AND the response body has ErrorListReponse objectAND error code is "Authorisation/InvalidServicePoint" |
A.EAS.0003: Validate service point - unavailable NMI
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is included AND the requested service point is temporarily unavailable. Subsequent requests for the service point may be successful. |
When | a response is returned |
Then | the response has a status of 404AND the response body has ErrorListReponse objectAND error code is "Authorisation/UnavailableServicePoint" |
A.EAS.0004: Validate schema - EnergyServicePointListReponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request to call the API is formatted correctly |
When | a response is returned |
Then | the response has a status code 200AND the response body complies with the EnergyServiceListResponse schema |
A.EAS.0005: Validate service point and schema - EnergyUsageListResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is included AND the {servicePointId} value is valid AND the request is formatted correctly |
When | a response is returned |
Then | the response has a status code of 200AND the response body complies with the EnergyUsageListResponse schema |
A.EAS.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request payload to call the API is formatted correctly AND contains the mandatory fields |
When | a response is returned |
Then | the response has a status code 200AND the response body complies with the EnergyUsageListResponse schema |
A.EAS.0007: Validate service point and schema - EnergyDerDetailResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the {servicePointId} is included AND the {servicePointId} value is valid |
When | a response is returned |
Then | the response has a status of 200AND the response body complies with the EnergyDerDetailResponse schema |
A.EAS.0008: Validate servicePointIdList body and schema - EnergyDerListResponse
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request payload to call the API is formatted correctly AND contains the mandatory fields |
When | a response is returned |
Then | the response has a status code 200AND the response body complies with the EnergyDerListResponse schema |
A.EAS.0009: Validate servicePointIdList - invalid body values
References:
- https://consumerdatastandardsaustralia.github.io/standards/#tocSerrorlistresponse
- https://consumerdatastandardsaustralia.github.io/standards/#error-codes
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request payload does not contain the required fieldsOR the request payload is NOT well formatted |
When | a response is returned |
Then | the response has a status code 400AND the response body complies with the ErrorListReponse schemaAND error code is "Field/Invalid" |
A.EAS.0010: Validate servicePointIdList - invalid servicePointId in body
References:
- https://consumerdatastandardsaustralia.github.io/standards/#tocSerrorlistresponse
- https://consumerdatastandardsaustralia.github.io/standards/#error-codes
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request payload contains an invalid servicePointID |
When | a response is returned |
Then | the response has a status code 422AND the response body complies with the ErrorListReponse schemaAND error code is "Authorisation/InvalidServicePoint" |
A.EAS.0011: Validate servicePointIdList - unavailable servicePointId in body
References:
- https://consumerdatastandardsaustralia.github.io/standards/#tocSerrorlistresponse
- https://consumerdatastandardsaustralia.github.io/standards/#error-codes
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request payload contains a valid servicePointID that is unavailable |
When | a response is returned |
Then | the response has a status code 422AND the response body complies with the ErrorListReponse schemaAND error code is "Authorisation/UnavailableServicePoint" |
A.ZAA.0001: Validate pagination - LinksPaginated
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the page parameter is included in a GET requestAND the page value is a number and page-size is [1..1000,null] |
When | a response is returnedAND the response has a status of 200 |
Then | the nominated <page number> is returnedAND the "first" link has page=1AND the "last" link is greater than or equal to 1AND the "self" link has page=<page number>AND the "prev" link has page equal to 1 or <page number> - 1AND the "prev" link has page equal to "last" or <page number> + 1AND "meta"/"totalPages" is greater than or equal to <page number>AND "meta"/"totalRecords" is greater than or equal to <page number> * <page size> |
A.ZAA.0002: Validate pagination - Invalid page size value
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <page-size> parameter is specifiedAND the value for <page-size> is outside the range [1..1000]OR the <page-size> is a not a positive integer |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Field/InvalidPageSize" |
A.ZAA.0003: Validate pagination - Non-numeric <page>
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <page> parameter is included AND the <page> is a not a positive integer |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Field/Invalid" |
A.ZAA.0004: Validate pagination - Max record limit exceeded
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <page> parameter is includedAND the <page> value is greater than the number of pages available |
When | a response is returned |
Then | the response has a status of 422AND the response body has ErrorListReponse objectAND the error code is "Field/InvalidPage" |
A.ZAA.0005: Validate pagination - Non-numeric <page-size>
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <page-size> parameter is included AND the page size parameter value is not a positive integer (number) |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Field/Invalid" |
A.ZAA.0006: Validate version - valid version number [x-v]
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <x-v> header is included AND the value for the <x-v> is a positive integer |
When | a response is returnedAND the response has a status of 200 |
Then | <x-v> is in the response headerAND <x-v> is a positive integer |
A.ZAA.0007: Validate version - invalid version value [x-v]
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the version parameter is included AND the version value is not a valid number is [-1,0,1001] |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Field/Invalid" |
A.ZAA.0008: Validate version - invalid [x-v] format
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the version parameter is includedAND the version value is not a valid number is an alpha (e.g. "foo") |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Field/Invalid" |
A.ZAA.0009: Validate version - unsupported version without <x-min-v>
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <x-v> is included in a request headerAND <x-min-v> is NOT includedAND the request version <x-v> is not supported |
When | and a response is returned |
Then | the response has a status of 406AND the response body has ErrorListReponse objectAND error code is "Header/UnsupportedVersion" |
A.ZAA.0010: Validate version - unsupported version with <x-min-v>
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <x-v> is included in a request headerAND <x-min-v> is includedAND no version between <x-v> and <x-min-v> is supported |
When | a response is returned |
Then | the response has a status of 406AND the response body has ErrorListReponse objectAND error code is "Header/UnsupportedVersion" |
A.ZAA.0011: Validate version - <x-min-v> is provided
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <x-min-v> header is included AND the value for the <x-min-v> is a positive integer |
When | a response is returnedAND the response has a status of 200 |
Then | <x-v> is in the response headerAND <x-v> = [<x-min-v>, <x-v>]AND <x-v> is a positive integer |
A.ZAA.0012: Validate minimum version - invalid <x-min-v> format
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <x-min-v> header is included AND the <x-min-v> is a not a positive integer |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Field/Invalid" |
A.ZAA.0013: Validate FAPI Interaction ID - included in request
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <x-fapi-interaction-id> is included in the header of the requestAND the <x-fapi-interaction-id> is in a valid format |
When | a response is returned |
Then | the Data Holder has returned the <x-fapi-interaction-id> from the request in the response header |
A.ZAA.0014: Validate FAPI Interaction ID - not in request
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <x-fapi-interaction-id> is NOT included in the header of the request |
When | a response is returned |
Then | the Data Holder has returned an <x-fapi-interaction-id> in the response header |
A.ZAA.0015: Validate FAPI Interaction ID - invalid format
References:
- https://consumerdatastandardsaustralia.github.io/standards/#http-headers
- https://datatracker.ietf.org/doc/html/rfc4122
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <x-fapi-interaction-id> is included AND the <x-fapi-interaction-id> is not in a valid format |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Header/invalid" |
A.ZAA.0016: Validate FAPI Auth date - missing from header
References:
- https://consumerdatastandardsaustralia.github.io/standards/#http-headers
- https://openid.net/specs/openid-financial-api-part-1-ID2.html
- https://datatracker.ietf.org/doc/html/rfc7231#page-90
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the API requires authenticationAND the <x-fapi-auth-date> is NOT present in the request header |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Header/missing" |
A.ZAA.0017: Validate FAPI Auth date - invalid format
References:
- https://consumerdatastandardsaustralia.github.io/standards/#http-headers
- https://openid.net/specs/openid-financial-api-part-1-ID2.html
- https://datatracker.ietf.org/doc/html/rfc7231#page-90
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the API requires authenticationAND the <x-fapi-auth-date> is in the request headerAND is NOT in a valid format |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Header/invalid" |
A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the API requires authentication AND the call is from a DH to a SDH |
When | a response is returnedAND the response has a status of 200 |
Then | the <x-fapi-auth-date> is NOT present in the response header |
A.ZAA.0019: Validate FAPI Customer IP Address - missing from header
References:
- https://consumerdatastandardsaustralia.github.io/standards/#http-headers
- https://consumerdatastandardsaustralia.github.io/standards/#authentication-flows
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the API requires authenticationAND the customer is presentAND the <x-fapi-customer-ip-address> is NOT present in the request header |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Header/Missing" |
A.ZAA.0020: Validate FAPI Customer IP Address - invalid format
References:
- https://consumerdatastandardsaustralia.github.io/standards/#http-headers
- https://consumerdatastandardsaustralia.github.io/standards/#authentication-flows
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the API requires authenticationAND the <x-fapi-customer-ip-address> is in present the request headerAND is NEITHER in a valid IPv4 or IPv6 format |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Header/invalid" |
A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the call is from a DH to a SDH |
When | a response is returned |
Then | the <x-fapi-customer-ip-address> is NOT present in the response header |
A.ZAA.0022: Validate the client headers - missing from header
References:
- https://consumerdatastandardsaustralia.github.io/standards/#http-headers
- https://consumerdatastandardsaustralia.github.io/standards/#authentication-flows
- https://consumerdatastandardsaustralia.github.io/standards/#common-field-types
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the API requires authenticationAND the <x-cds-client-headers> is mandatoryAND the <x-cds-client-headers> is NOT present in the request header |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Header/missing" |
A.ZAA.0023: Validate the client headers - invalid format
References:
- https://consumerdatastandardsaustralia.github.io/standards/#http-headers
- https://consumerdatastandardsaustralia.github.io/standards/#authentication-flows
- https://consumerdatastandardsaustralia.github.io/standards/#common-field-types
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <x-cds-client-headers> present the request headerAND is Not Base64 encoded |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Header/Invalid" |
A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the call is from a DH to a SDH |
When | a response is returned |
Then | the <x-cds-client-header> is NOT present in the response header |
A.ZAA.0025: CDS arrangement id - missing from header (SR specific)
References:
- https://consumerdatastandardsaustralia.github.io/standards/#energy
- https://consumerdatastandardsaustralia.github.io/standards/#identifiers-and-subject-types
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the call is from a DH to a SDHAND the <x-cds-arrangement> is NOT present in the request header |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Header/Missing" |
A.ZAA.0026: CDS arrangement id - present but invalid (SR specific)
References:
- https://consumerdatastandardsaustralia.github.io/standards/#energy
- https://consumerdatastandardsaustralia.github.io/standards/#identifiers-and-subject-types
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the call is from a DH to a SDH |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Header/Invalid" |
A.ZAA.0027: Validate the Oldest Date parameter - valid format
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <oldest-date> is included as a query parameterAND the <oldest-date> is in a valid DateString format |
When | a response is returnedAND the response has a status of 200 |
Then | the data is constrained by the date supplied |
A.ZAA.0028: Validation the Oldest Date parameter - invalid format
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <oldest-date> is included as a query parameterAND the <oldest-date> is not in a DateString valid format |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Field/invalid" |
A.ZAA.0029: Validate the Newest Date parameter - valid format
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <newest-date> is included as a query parameterAND the <newest-date> is in a valid DateString format |
When | a response is returnedAND the response has a status of 200 |
Then | the data is constrained by the date supplied |
A.ZAA.0030: Validation the Newest Date parameter - invalid format
References:
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the <newest-date> is included as a query parameterAND the <newest-date> is not in a valid DateString format |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Field/Invalid" |
A.ZAA.0031: Validation of the POST body - malformed body
References:
- https://consumerdatastandardsaustralia.github.io/standards/#error-codes
- https://consumerdatastandardsaustralia.github.io/standards/#http-response-codes
Severity:
Critical (Test Fails)
Assertion Logic:
Given | the request is a POST requestAND the request body is not in a valid JSON format, i.e. it is malformed |
When | a response is returned |
Then | the response has a status of 400AND the response body has ErrorListReponse objectAND error code is "Field/Invalid" |