The CDR Test Documentation
Test Suites
SUITE.010: APIs - Energy Standing Data, Usage and DER
SUITE.011: APIs - Energy Standing Data, Usage and DER SR
Test Scenarios
S.EAR.073: Get Service Points v1
S.EAR.074: Get Service Points Negative v1
S.EAR.075: Get Service Point Detail v1
S.EAR.076: Get Service Point Detail Negative v1
S.EAR.077: Get Usage For Service Point v1
S.EAR.078: Get Usage For Service Point Negative v1
S.EAR.079: Get Bulk Usage v1
S.EAR.080: Get Bulk Usage Negative v1
S.EAR.081: Get Usage For Specific Service Points v1
S.EAR.082: Get Usage For Specific Service Points Negative v1
S.EAR.083: Get DER for Service Point v1
S.EAR.084: Get DER for Service Point Negative v1
S.EAR.085: Get Bulk DER v1
S.EAR.086: Get Bulk DER Negative v1
S.EAR.087: Get DER For Specific Service Points v1
S.EAR.088: Get DER For Specific Service Points Negative v1
S.EAS.089: Get Service Points SR v1
S.EAS.090: Get Service Points Negative SR v1
S.EAS.091: Get Service Point Detail SR v1
S.EAS.092: Get Service Point Detail Negative SR v1
S.EAS.093: Get Usage For Service Point SR v1
S.EAS.094: Get Usage For Service Point Negative SR v1
S.EAS.095: Get Usage For Specific Service Points SR v1
S.EAS.096: Get Usage For Specific Service Points Negative SR v1
S.EAS.097: Get DER for Service Point SR v1
S.EAS.098: Get DER for Service Point Negative SR v1
S.EAS.099: Get DER For Specific Service Points SR v1
S.EAS.100: Get DER For Specific Service Points Negative SR v1
Test Cases
T.EAR.001: ADR call to DH: Get Service Points - no pagination
T.EAR.002: ADR call to DH: Get Service Points - with pagination
T.EAR.003: ADR call to DH: Get Service Points - unsupported version without x-min-v included
T.EAR.004: ADR call to DH: Get Service Points - invalid page parameters
T.EAR.005: ADR call to DH: Get Service Points - invalid FAPI Interaction ID format
T.EAR.006: ADR call to DH: Get Service Point Detail
T.EAR.007: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included
T.EAR.008: ADR call to DH: Get Service Point Detail - invalid format of Service Point ID
T.EAR.009: ADR call to DH: Get Service Point Detail - unavailable Service Point ID
T.EAR.010: ADR call to DH: Get Service Point Detail - invalid FAPI Interaction ID format
T.EAR.011: ADR call to DH: Get Usage for Service Point Detail - no pagination
T.EAR.012: ADR call to DH: Get Usage for Service Points - with pagination
T.EAR.013: ADR call to DH: Get Usage for Service Points - unsupported version without x-min-v included
T.EAR.014: ADR call to DH: Get Usage for Service Points - invalid page parameters
T.EAR.015: ADR call to DH: Get Usage for Service Points - oldest date
T.EAR.016: ADR call to DH: Get Usage for Service Points - newest date
T.EAR.017: ADR call to DH: Get Usage for Service Points - invalid Service Point ID
T.EAR.018: ADR call to DH: Get Usage for Service Points - unavailable Service Point ID
T.EAR.019: ADR call to DH: Get Usage for Service Points - invalid format oldest date
T.EAR.020: ADR call to DH: Get Usage for Service Points - invalid format newest date
T.EAR.021: ADR call to DH: Get Usage For Service Point - invalid FAPI Interaction ID format
T.EAR.022: ADR call to DH: Get Usage for Specific Service Points - no pagination
T.EAR.023: ADR call to DH: Get Usage for Specific Service Points - with pagination
T.EAR.024: ADR call to DH: Get Usage for Specific Service Points - unsupported version without x-min-v included
T.EAR.025: ADR call to DH: Get Usage for Specific Service Points - invalid page parameters
T.EAR.026: ADR call to DH: Get Usage for Specific Service Points - oldest date
T.EAR.027: ADR call to DH: Get Usage for Specific Service Points - newest date
T.EAR.028: ADR call to DH: Get Usage for Specific Service Points - invalid format oldest date
T.EAR.029: ADR call to DH: Get Usage for Specific Service Points - invalid format newest date
T.EAR.030: ADR call to DH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
T.EAR.031: ADR call to DH: Get Usage for Specific Service Points - invalid body values
T.EAR.032: ADR call to DH: Get Usage for Specific Service Points - invalid body format
T.EAR.033: ADR call to DH: Get DER for Service Point
T.EAR.034: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included
T.EAR.035: ADR call to DH: Get Service Point Detail - invalid format of Service Point ID
T.EAR.036: ADR call to DH: Get Service Point Detail - unavailable Service Point ID
T.EAR.037: ADR call to DH: Get DER for Service Point - invalid FAPI Interaction ID format
T.EAR.038: ADR call to DH: Get DER for Specific Service Points - no pagination
T.EAR.039: ADR call to DH: Get DER for Specific Service Points - with pagination
T.EAR.040: ADR call to DH: Get DER for Specific Service Points - unsupported version without x-min-v included
T.EAR.041: ADR call to DH: Get DER for Specific Service Points - invalid page parameters
T.EAR.042: ADR call to DH: Get DER for Specific Service Points - invalid body values
T.EAR.043: ADR call to DH: Get DER for Specific Service Points - invalid body format
T.EAR.044: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Interaction ID format
T.EAR.045: ADR call to DH: Get Bulk Usage
T.EAR.046: ADR call to DH: Get Bulk Usage - with pagination
T.EAR.047: ADR call to DH: Get Bulk Usage - unsupported version without x-min-v included
T.EAR.048: ADR call to DH: Get Bulk Usage - invalid page parameters
T.EAR.049: ADR call to DH: Get Bulk Usage - oldest date
T.EAR.050: ADR call to DH: Get Bulk Usage - newest date
T.EAR.051: ADR call to DH: Get Bulk Usage - invalid format oldest date
T.EAR.052: ADR call to DH: Get Bulk Usage - invalid format newest date
T.EAR.053: ADR call to DH: Get Bulk Usage - invalid FAPI Interaction ID format
T.EAR.054: ADR call to DH: Get Bulk Usage - missing FAPI Auth Date
T.EAR.055: ADR call to DH: Get Bulk Usage - invalid FAPI Auth Date
T.EAR.056: ADR call to DH: Get Bulk Usage - missing FAPI Customer IP Address
T.EAR.057: ADR call to DH: Get Bulk Usage - invalid FAPI Customer IP Address
T.EAR.058: ADR call to DH: Get Bulk Usage - missing CDS Client Header
T.EAR.059: ADR call to DH: Get Bulk Usage - invalid CDS Client Header
T.EAR.060: ADR call to DH: Get Bulk DER
T.EAR.061: ADR call to DH: Get Bulk DER - with pagination
T.EAR.062: ADR call to DH: Get Bulk DER - unsupported version without x-min-v included
T.EAR.063: ADR call to DH: Get Bulk DER - invalid page parameters
T.EAR.064: ADR call to DH: Get Bulk DER - missing FAPI Auth Date
T.EAR.065: ADR call to DH: DHGet Bulk DER - invalid FAPI Auth Date
T.EAR.066: ADR call to DH: Get Bulk DER - missing FAPI Customer IP Address
T.EAR.067: ADR call to DH: DH: Get Bulk DER - invalid FAPI Customer IP Address
T.EAR.068: ADR call to DH: Get Bulk DER - missing CDS Client Header
T.EAR.069: ADR call to DH: Get Bulk DER - invalid CDS Client Header
T.EAR.070: ADR call to DH: Get Bulk DER - invalid FAPI Auth Date
T.EAR.071: ADR call to DH: Get Bulk DER - missing FAPI Customer IP Address
T.EAR.072: ADR call to DH: Get Bulk DER - invalid FAPI Customer IP Address
T.EAR.073: ADR call to DH: Get Service Points - missing FAPI Auth Date
T.EAR.074: ADR call to DH: Get Service Points - invalid FAPI Auth Date
T.EAR.075: ADR call to DH: Get Service Points - missing FAPI Customer IP Address
T.EAR.076: ADR call to DH: Get Service Points - invalid FAPI Customer IP Address
T.EAR.077: ADR call to DH: Get Service Points - missing CDS Client Header
T.EAR.078: ADR call to DH: Get Service Points - invalid CDS Client Header
T.EAR.079: ADR call to DH: Get Service Point - missing FAPI Auth Date
T.EAR.080: ADR call to DH: Get Service Point - invalid FAPI Auth Date
T.EAR.081: ADR call to DH: Get Service Point - missing FAPI Customer IP Address
T.EAR.082: ADR call to DH: Get Service Point - invalid FAPI Customer IP Address
T.EAR.083: ADR call to DH: Get Service Point - missing CDS Client Header
T.EAR.084: ADR call to DH: Get Service Point - invalid CDS Client Header
T.EAR.085: ADR call to DH: Get Usage For Service Point - missing FAPI Auth Date
T.EAR.086: ADR call to DH: Get Usage For Service Point - invalid FAPI Auth Date
T.EAR.087: ADR call to DH: Get Usage For Service Point - missing FAPI Customer IP Address
T.EAR.088: ADR call to DH: Get Usage For Service Point - invalid FAPI Customer IP Address
T.EAR.089: ADR call to DH: Get Usage For Service Point - missing CDS Client Header
T.EAR.090: ADR call to DH: Get Usage For Service Point - invalid CDS Client Header
T.EAR.091: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Auth Date
T.EAR.092: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Auth Date
T.EAR.093: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Customer IP Address
T.EAR.094: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Customer IP Address
T.EAR.095: ADR call to DH: Get Usage for Specific Service Points - missing CDS Client Header
T.EAR.096: ADR call to DH: Get Usage for Specific Service Points - invalid CDS Client Header
T.EAR.097: ADR call to DH: Get DER for Service Point - missing FAPI Auth Date
T.EAR.098: ADR call to DH: Get DER for Service Point - invalid FAPI Auth Date
T.EAR.099: ADR call to DH: Get DER for Service Point - missing FAPI Customer IP Address
T.EAR.100: ADR call to DH: Get DER for Service Point - invalid FAPI Customer IP Address
T.EAR.101: ADR call to DH: Get DER for Service Point - missing CDS Client Header
T.EAR.102: ADR call to DH: Get DER for Service Point - invalid CDS Client Header
T.EAR.103: ADR call to DH: Get DER For Specific Service Points - missing FAPI Auth Date
T.EAR.104: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Auth Date
T.EAR.105: ADR call to DH: Get DER For Specific Service Points - missing FAPI Customer IP Address
T.EAR.106: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Customer IP Address
T.EAR.107: ADR call to DH: Get DER For Specific Service Points - missing CDS Client Header
T.EAR.108: ADR call to DH: Get DER For Specific Service Points - invalid CDS Client Header
T.EAR.109: ADR call to DH: Get Service Points - invalid version value
T.EAR.110: ADR call to DH: Get Service Points - invalid version format
T.EAR.111: ADR call to DH: Get Service Point - invalid version value
T.EAR.112: ADR call to DH: Get Service Point - invalid version format
T.EAR.113: ADR call to DH: Get Usage For Service Point - invalid version value
T.EAR.114: ADR call to DH: Get Usage For Service Point - invalid version format
T.EAR.115: ADR call to DH: Get Bulk Usage - invalid version value
T.EAR.116: ADR call to DH: Get Bulk Usage - invalid version format
T.EAR.117: ADR call to DH: Get Usage for Specific Service Points - invalid version value
T.EAR.118: ADR call to DH: Get Usage for Specific Service Points - invalid version format
T.EAR.119: ADR call to DH: Get DER for Service Point - invalid version value
T.EAR.120: ADR call to DH: Get DER for Service Point - invalid version format
T.EAR.121: ADR call to DH: Get Bulk DER - invalid version value
T.EAR.122: ADR call to DH: Get Bulk DER - invalid version format
T.EAR.123: ADR call to DH: Get DER For Specific Service Points - invalid version value
T.EAR.124: ADR call to DH: Get DER For Specific Service Points - invalid version format
T.EAR.125: ADR call to DH: Get Service Points - unsupported version when x-min-v is included
T.EAR.126: ADR call to DH: Get Service Point - unsupported version when x-min-v is included
T.EAR.127: ADR call to DH: Get Usage For Service Point - unsupported version when x-min-v is included
T.EAR.128: ADR call to DH: Get Bulk Usage - unsupported version when x-min-v is included
T.EAR.129: ADR call to DH: Get Usage for Specific Service Points - unsupported version when x-min-v is included
T.EAR.130: ADR call to DH: Get DER for Service Point - unsupported version when x-min-v is included
T.EAR.131: ADR call to DH: Get Bulk DER - unsupported version when x-min-v is included
T.EAR.132: ADR call to DH: Get DER For Specific Service Points - unsupported version when x-min-v is included
T.EAS.001: DH call to SDH: Get Service Points - no pagination
T.EAS.002: DH call to SDH: Get Service Points - with pagination
T.EAS.003: DH call to SDH: Get Service Points - unsupported version without x-min-v included
T.EAS.004: DH call to SDH: Get Service Points - invalid page parameters
T.EAS.005: DH call to SDH: Get Service Point Detail
T.EAS.006: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included
T.EAS.007: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID
T.EAS.008: DH call to SDH: Get Service Point Detail - unavailable Service Point ID
T.EAS.009: DH call to SDH: Get Usage for Service Point Detail - no pagination
T.EAS.010: DH call to SDH: Get Usage for Service Points - with pagination
T.EAS.011: DH call to SDH: Get Usage for Service Points - unsupported version without x-min-v included
T.EAS.012: DH call to SDH: Get Usage for Service Points - invalid page parameters
T.EAS.013: DH call to SDH: Get Usage for Service Points - oldest date
T.EAS.014: DH call to SDH: Get Usage for Service Points - newest date
T.EAS.015: DH call to SDH: Get Usage for Service Points - invalid Service Point ID
T.EAS.016: DH call to SDH: Get Usage for Service Points - unavailable Service Point ID
T.EAS.017: DH call to SDH: Get Usage for Service Points - invalid format oldest date
T.EAS.018: DH call to SDH: Get Usage for Service Points - invalid format newest date
T.EAS.019: DH call to SDH: Get Usage for Specific Service Points - no pagination
T.EAS.020: DH call to SDH: Get Usage for Specific Service Points - with pagination
T.EAS.021: DH call to SDH: Get Usage for Specific Service Points - unsupported version without x-min-v included
T.EAS.022: DH call to SDH: Get Usage for Specific Service Points - invalid page parameters
T.EAS.023: DH call to SDH: Get Usage for Specific Service Points - oldest date
T.EAS.024: DH call to SDH: Get Usage for Specific Service Points - newest date
T.EAS.025: DH call to SDH: Get Usage for Specific Service Points - invalid format oldest date
T.EAS.026: DH call to SDH: Get Usage for Specific Service Points - invalid format newest date
T.EAS.027: DH call to SDH: Get DER for Service Point
T.EAS.028: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included
T.EAS.029: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID
T.EAS.030: DH call to SDH: Get Service Point Detail - unavailable Service Point ID
T.EAS.031: DH call to SDH: Get DER for Specific Service Points - no pagination
T.EAS.032: DH call to SDH: Get DER for Specific Service Points - with pagination
T.EAS.033: DH call to SDH: Get DER for Specific Service Points - unsupported version without x-min-v included
T.EAS.034: DH call to SDH: Get DER for Specific Service Points - invalid page parameters
T.EAS.035: DH call to SDH: Get DER for Specific Service Points - invalid body values
T.EAS.036: DH call to SDH: Get DER for Specific Service Points - invalid body format
T.EAS.037: DH call to SDH: Get Usage for Specific Service Points - invalid body values
T.EAS.038: DH call to SDH: Get Usage for Specific Service Points - invalid body format
T.EAS.039: DH call to SDH: Get Service Points - invalid FAPI Interaction ID format
T.EAS.040: DH call to SDH: Get Service Point Detail - invalid FAPI Interaction ID format
T.EAS.041: DH call to SDH: Get Usage For Service Point - invalid FAPI Interaction ID format
T.EAS.042: DH call to SDH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
T.EAS.043: DH call to SDH: Get DER for Service Point - invalid FAPI Interaction ID format
T.EAS.044: DH call to SDH: Get DER For Specific Service Points - invalid FAPI Interaction ID format
T.EAS.045: DH call to SDH: Get Service Points - no arragement id
T.EAS.046: DH call to SDH: Get Service Points - arrangement ID invalid
T.EAS.047: DH call to SDH: Get Service Point Detail - no arragement id
T.EAS.048: DH call to SDH: Get Service Point Detail - arrangement ID invalid
T.EAS.049: DH call to Get Usage For Service Point - no arragement id
T.EAS.050: DH call to SDH: Get Usage For Service Point - arrangement ID invalid
T.EAS.051: DH call to SDH: Get Usage For Specific Service Points - no arragement id
T.EAS.052: DH call to SDH: Get Usage For Specific Service Points - arrangement ID invalid
T.EAS.053: DH call to SDH: Get DER for Service Point - no arragement id
T.EAS.054: DH call to SDH: Get DER for Service Point - arrangement ID invalid
T.EAS.055: DH call to Get DER For Specific Service Points - no arragement id
T.EAS.056: DH call to SDH: Get DER For Specific Service Points - arrangement ID invalid
T.EAS.057: DH call to SDH: Get Service Points - invalid version value
T.EAS.058: DH call to SDH: Get Service Points - invalid version format
T.EAS.059: DH call to SDH: Get Service Point Detail - invalid version value
T.EAS.060: DH call to SDH: Get Service Point Detail - invalid version format
T.EAS.061: DH call to SDH: Get Usage For Service Point - invalid version value
T.EAS.062: DH call to SDH: Get Usage For Service Point - invalid version format
T.EAS.063: DH call to SDH: Get Usage For Specific Service Points - invalid version value
T.EAS.064: DH call to SDH: Get Usage For Specific Service Points - invalid version format
T.EAS.065: DH call to SDH: Get DER for Service Point - invalid version value
T.EAS.066: DH call to SDH: Get DER for Service Point - invalid version format
T.EAS.067: DH call to SDH: Get DER For Specific Service Points - invalid version value
T.EAS.068: DH call to SDH: Get DER For Specific Service Points - invalid version format
T.EAS.069: DH call to SDH: Get Service Points - unsupported version when x-min-v is included
T.EAS.070: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included
T.EAS.071: DH call to SDH: Get Usage for Service Points - unsupported version when x-min-v is included
T.EAS.072: DH call to SDH: Get Usage for Specific Service Points - unsupported version when x-min-v is included
T.EAS.073: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included
T.EAS.074: DH call to SDH: Get DER for Specific Service Points - unsupported version when x-min-v is included
T.EAS.075: DH call to SDH: Get Service Points - missing servicePointId in body
T.EAS.076: DH call to SDH: Get Service Points - invalid servicePointId in body
T.EAS.077: DH call to SDH: Get Service Points - unavailable servicePointId in body
Assertions
A.CPG.001: Validate pagination - LinksPaginated
A.CPG.002: Validate pagination - Invalid page size value
A.CPG.003: Validate pagination - Non-numeric <page>
A.CPG.004: Validate pagination - Max record limit exceeded
A.CPG.005: Validate pagination - Non-numeric <page-size>
A.CVN.001: Validate version - valid version number [x-v]
A.CVN.002: Validate version - invalid version value [x-v]
A.CVN.003: Validate version - validate [x-v] format
A.CVN.004: Validate version - unsupported version without <x-min-v>
A.CVN.005: Validate version - unsupported version with <x-min-v>
A.CVM.001: Validate version - <x-min-v> is provided
A.CVM.002: Validate minimum version - validate <x-min-v> format
A.CFI.001: Validate FAPI Interaction ID - included in request
A.CFI.002: Validate FAPI Interaction ID - not in request
A.CFI.003: Validate FAPI Interaction ID - invalid format
A.CFA.001: Validate FAPI Auth date - valid format
A.CFA.002: Validate FAPI Auth date - missing from header
A.CFA.003: Validate FAPI Auth date - invalid format
A.CFA.004: No <x-fapi-auth-date> in header (SR specific)
A.CFC.001: Validate FAPI Customer IP Address - is present
A.CFC.002: Validate FAPI Customer IP Address - missing from header
A.CFC.003: Validate FAPI Customer IP Address - invalid format
A.CFC.004: No <x-fapi-customer-ip-address> in header (SR specific)
A.CCH.001: Validate the client headers - valid format
A.CCH.002: Validate the client headers - missing from header
A.CCH.003: Validate the client headers - invalid format
A.CCH.004: No <x-cds-client-header> in header (SR specific)
A.CAI.001: CDS arrangement id - present and valid (SR specific)
A.CAI.002: CDS arrangement id - missing from header (SR specific)
A.CAI.003: CDS arrangement id - present but invalid (SR specific)
A.COD.001: Validate the Oldest Date parameter - valid format
A.COD.002: Validation the Oldest Date parameter - invalid format
A.CND.001: Validate the Newest Date parameter - valid format
A.CND.002: Validation the Newest Date parameter - invalid format
A.CBD.001: Validation of the POST body - malformed body
A.EAR.001: Validate service point and schema - EnergyServicePointDetailResponse
A.EAR.002: Validate service point - invalid value
A.EAR.003: Validate service point - unavailable
A.EAR.004: Validate schema - EnergyServicePointListReponse
A.EAR.005: Validate service point and schema - EnergyUsageListResponse
A.EAR.006: Validate servicePointIdList body and schema - EnergyUsageListResponse
A.EAR.007: Validate service point and schema - EnergyDerDetailResponse
A.EAR.008: Validate servicePointIdList body and schema - EnergyDerListResponse
A.EAR.009: Validate servicePointIdList - invalid body values
A.EAR.010: Validate schema - EnergyUsageListResponse
A.EAR.011: Validate schema - EnergyDerListResponse
A.EAS.001: Validate service point and schema - EnergyServicePointDetailResponse
A.EAS.002: Validate service point - invalid NMI value
A.EAS.003: Validate service point - unavailable NMI
A.EAS.004: Validate schema - EnergyServicePointListReponse
A.EAS.005: Validate service point and schema - EnergyUsageListResponse
A.EAS.006: Validate servicePointIdList body and schema - EnergyUsageListResponse
A.EAS.007: Validate service point and schema - EnergyDerDetailResponse
A.EAS.008: Validate servicePointIdList body and schema - EnergyDerListResponse
A.EAS.009: Validate servicePointIdList - invalid body values
A.EAS.010: Validate servicePointIdList - invalid servicePointId in body
A.EAS.011: Validate servicePointIdList - unavailable servicePointId in body

The CDR Test Documentation

File version: 1.0.2

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 19/07/2022 see the change log for details

Test Suites

Test Scenarios

S.EAR.073: Get Service Points v1

Purpose:

Test cases which will return a 2xx status code

References:

Testing Sequence:

Action No.Action TypeDetail
1SetupAuthorise session
AND x-v is set in header
2Execute TestT.EAR.001: ADR call to DH: Get Service Points - no pagination
3Execute TestT.EAR.002: ADR call to DH: Get Service Points - with pagination

S.EAR.075: Get Service Point Detail v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.006: ADR call to DH: Get Service Point Detail

S.EAR.078: Get Usage For Service Point Negative v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.013: ADR call to DH: Get Usage for Service Points - unsupported version without x-min-v included
2Execute TestT.EAR.014: ADR call to DH: Get Usage for Service Points - invalid page parameters
3Execute TestT.EAR.017: ADR call to DH: Get Usage for Service Points - invalid Service Point ID
4Execute TestT.EAR.018: ADR call to DH: Get Usage for Service Points - unavailable Service Point ID
5Execute TestT.EAR.019: ADR call to DH: Get Usage for Service Points - invalid format oldest date
6Execute TestT.EAR.020: ADR call to DH: Get Usage for Service Points - invalid format newest date
7Execute TestT.EAR.021: ADR call to DH: Get Usage For Service Point - invalid FAPI Interaction ID format
8Execute TestT.EAR.085: ADR call to DH: Get Usage For Service Point - missing FAPI Auth Date
9Execute TestT.EAR.086: ADR call to DH: Get Usage For Service Point - invalid FAPI Auth Date
10Execute TestT.EAR.087: ADR call to DH: Get Usage For Service Point - missing FAPI Customer IP Address
11Execute TestT.EAR.088: ADR call to DH: Get Usage For Service Point - invalid FAPI Customer IP Address
12Execute TestT.EAR.089: ADR call to DH: Get Usage For Service Point - missing CDS Client Header
13Execute TestT.EAR.090: ADR call to DH: Get Usage For Service Point - invalid CDS Client Header
14Execute TestT.EAR.113: ADR call to DH: Get Usage For Service Point - invalid version value
15Execute TestT.EAR.114: ADR call to DH: Get Usage For Service Point - invalid version format
16Execute TestT.EAR.127: ADR call to DH: Get Usage For Service Point - unsupported version when x-min-v is included

S.EAR.082: Get Usage For Specific Service Points Negative v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.024: ADR call to DH: Get Usage for Specific Service Points - unsupported version without x-min-v included
2Execute TestT.EAR.025: ADR call to DH: Get Usage for Specific Service Points - invalid page parameters
3Execute TestT.EAR.028: ADR call to DH: Get Usage for Specific Service Points - invalid format oldest date
4Execute TestT.EAR.029: ADR call to DH: Get Usage for Specific Service Points - invalid format newest date
5Execute TestT.EAR.030: ADR call to DH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
6Execute TestT.EAR.031: ADR call to DH: Get Usage for Specific Service Points - invalid body values
7Execute TestT.EAR.032: ADR call to DH: Get Usage for Specific Service Points - invalid body format
8Execute TestT.EAR.091: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Auth Date
9Execute TestT.EAR.092: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Auth Date
10Execute TestT.EAR.093: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Customer IP Address
11Execute TestT.EAR.094: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Customer IP Address
12Execute TestT.EAR.095: ADR call to DH: Get Usage for Specific Service Points - missing CDS Client Header
13Execute TestT.EAR.096: ADR call to DH: Get Usage for Specific Service Points - invalid CDS Client Header
14Execute TestT.EAR.117: ADR call to DH: Get Usage for Specific Service Points - invalid version value
15Execute TestT.EAR.118: ADR call to DH: Get Usage for Specific Service Points - invalid version format
16Execute TestT.EAR.129: ADR call to DH: Get Usage for Specific Service Points - unsupported version when x-min-v is included

S.EAR.083: Get DER for Service Point v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.033: ADR call to DH: Get DER for Service Point

S.EAR.085: Get Bulk DER v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.060: ADR call to DH: Get Bulk DER
2Execute TestT.EAR.061: ADR call to DH: Get Bulk DER - with pagination

S.EAR.087: Get DER For Specific Service Points v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.038: ADR call to DH: Get DER for Specific Service Points - no pagination
2Execute TestT.EAR.039: ADR call to DH: Get DER for Specific Service Points - with pagination

S.EAR.088: Get DER For Specific Service Points Negative v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.040: ADR call to DH: Get DER for Specific Service Points - unsupported version without x-min-v included
2Execute TestT.EAR.041: ADR call to DH: Get DER for Specific Service Points - invalid page parameters
3Execute TestT.EAR.042: ADR call to DH: Get DER for Specific Service Points - invalid body values
4Execute TestT.EAR.043: ADR call to DH: Get DER for Specific Service Points - invalid body format
5Execute TestT.EAR.044: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Interaction ID format
6Execute TestT.EAR.103: ADR call to DH: Get DER For Specific Service Points - missing FAPI Auth Date
7Execute TestT.EAR.104: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Auth Date
8Execute TestT.EAR.105: ADR call to DH: Get DER For Specific Service Points - missing FAPI Customer IP Address
9Execute TestT.EAR.106: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Customer IP Address
10Execute TestT.EAR.107: ADR call to DH: Get DER For Specific Service Points - missing CDS Client Header
11Execute TestT.EAR.108: ADR call to DH: Get DER For Specific Service Points - invalid CDS Client Header
12Execute TestT.EAR.123: ADR call to DH: Get DER For Specific Service Points - invalid version value
13Execute TestT.EAR.124: ADR call to DH: Get DER For Specific Service Points - invalid version format
14Execute TestT.EAR.132: ADR call to DH: Get DER For Specific Service Points - unsupported version when x-min-v is included

S.EAS.091: Get Service Point Detail SR v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAS.005: DH call to SDH: Get Service Point Detail

S.EAS.097: Get DER for Service Point SR v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAS.027: DH call to SDH: Get DER for Service Point

S.EAS.099: Get DER For Specific Service Points SR v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAS.031: DH call to SDH: Get DER for Specific Service Points - no pagination
2Execute TestT.EAS.032: DH call to SDH: Get DER for Specific Service Points - with pagination

Test Cases

T.EAR.001: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.002: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.003: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.004: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.005: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.006: 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:

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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.007: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.008: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.009: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.010: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.011: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.012: 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:

Execution Pre-conditions:

  • <page-size> and<page> query parameters are provided

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.013: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.014: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.015: 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:

Execution Pre-conditions:

  • <oldest-date> query parameters is provided
  • AND <oldest-date> is a valid DateTime string

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.016: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.017: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.018: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.019: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.020: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.021: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.022: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.023: 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:

Execution Pre-conditions:

  • <page-size> and<page> query parameters are provided

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.024: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.025: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.026: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.027: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.028: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.029: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.030: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.031: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.032: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.033: 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:

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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.034: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.035: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.036: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.037: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.038: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.039: 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:

Execution Pre-conditions:

  • <page-size> and<page> query parameters are provided

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.040: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.041: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.042: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.043: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.044: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.045: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.046: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.047: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.048: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.049: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.050: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.051: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.052: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.053: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.054: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.055: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.056: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.057: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.058: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.059: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.060: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.061: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.062: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.063: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.064: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.065: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.066: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.067: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.068: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.069: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.070: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.071: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.072: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.073: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.074: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.075: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.076: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.077: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.078: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.079: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.080: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.081: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.082: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.083: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.084: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.085: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.086: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.087: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.088: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.089: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.090: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.091: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.092: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.093: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.094: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.095: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.096: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.097: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.098: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.099: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.100: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.101: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.102: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.103: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.104: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.105: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.106: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.107: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.108: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.109: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.110: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.111: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.112: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.113: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.114: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.115: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.116: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.117: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.118: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.119: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.120: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.121: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.122: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.123: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.124: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.125: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.126: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAR.127: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAR.128: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.129: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/usage

End State Assertions:

T.EAR.130: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAR.131: 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 TypeDetail
1ActionGET /energy/electricity/servicepoints/der

End State Assertions:

T.EAR.132: 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 TypeDetail
1ActionPOST /energy/electricity/servicepoints/der

End State Assertions:

T.EAS.001: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.002: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.003: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.004: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.005: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.006: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.007: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.008: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.009: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.010: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.011: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.012: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.013: 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:

Execution Pre-conditions:

  • <oldest-date> query parameters is provided
  • AND <oldest-date> is a valid DateTime string

Execution Steps:

Action No.Action TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.014: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.015: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.016: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.017: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.018: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.019: 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:

Execution Pre-conditions:

  • Neither <page-size> or <page> query parameters are provided

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.020: 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:

Execution Pre-conditions:

  • <page-size> and<page> query parameters are provided

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.021: 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:

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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.022: 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:

Execution Pre-conditions:

  • <page> OR (<page>
  • AND <page-size>) query parameters are provided

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.023: 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:

Execution Pre-conditions:

  • <oldest-date> query parameters is provided

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.024: 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:

Execution Pre-conditions:

  • <newest-date> query parameter is provided

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.025: 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:

Execution Pre-conditions:

  • Neither <page-size> or <page> query parameters are provided

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.026: 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:

Execution Pre-conditions:

  • Neither <page-size> or <page> query parameters are provided

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.027: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.028: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.029: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.030: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.031: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.032: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.033: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.034: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.035: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.036: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.037: 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:

Execution Pre-conditions:

  • The request body is correctly formatted
  • AND request payload has missing or invalid values

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.038: 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:

Execution Pre-conditions:

  • The body is incorrectly formatted

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.039: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.040: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.041: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.042: 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:

Execution Pre-conditions:

  • The <x-fapi-interaction-id> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.043: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.044: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.045: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.046: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.047: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.048: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.049: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.050: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.051: 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:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.052: 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:

Execution Pre-conditions:

  • The <x-cds-arrangement> is present but invalid

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.053: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.054: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.055: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.056: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.057: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.058: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.059: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.060: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.061: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.062: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.063: 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:

Execution Pre-conditions:

  • The <x-v> version is not a valid number

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.064: 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:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.065: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.066: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.067: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.068: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.069: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.070: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}

End State Assertions:

T.EAS.071: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/usage

End State Assertions:

T.EAS.072: 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:

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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/usage

End State Assertions:

T.EAS.073: 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 TypeDetail
1ActionGET /secondary/energy/electricity/servicepoints/{servicePointId}/der

End State Assertions:

T.EAS.074: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints/der

End State Assertions:

T.EAS.075: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.076: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

T.EAS.077: 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 TypeDetail
1ActionPOST /secondary/energy/electricity/servicepoints

End State Assertions:

No test cases defined

Assertions

A.CPG.001: Validate pagination - LinksPaginated

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe page parameter is included in a GET request
AND the page value is a number and page-size is [1,25,1000,null]
Whena response is returned
AND the response has a status of 200
Then
AND (
the nominated <page number> is returned
the "first" link has page=1
the "last" link is greater than or equal to 1
the "self" link has page=<page number>
the "prev" link has page equal to 1 or <page number> - 1
the "prev" link has page equal to "last" or <page number> + 1
"meta"/"totalPages" is greater than or equal to <page number>
"meta"/"totalRecords" is greater than or equal to <page number> * <page size>
)

A.CPG.002: Validate pagination - Invalid page size value

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <page-size> parameter is specified
AND the value for <page-size> is outside the range [1..1000]
OR the <page-size> is a not a positive integer
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Field/InvalidPageSize"
)

A.CPG.003: Validate pagination - Non-numeric <page>

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <page> parameter is included
AND the <page> is a not a positive integer
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Field/Invalid"
)

A.CPG.004: Validate pagination - Max record limit exceeded

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <page> parameter is included
AND the <page> value is greater than the number of pages available
Whena response is returned
Then
AND (
the response has a status of 422
the response body has ErrorListReponse object
the error code is "Field/InvalidPage"
)

A.CPG.005: Validate pagination - Non-numeric <page-size>

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <page-size> parameter is included
AND the page size parameter value is not a positive integer (number)
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Field/Invalid"
)

A.CVN.001: Validate version - valid version number [x-v]

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <x-v> header is included
AND the value for the <x-v> is a positive integer
Whena response is returned
AND the response has a status of 200
Then
AND (
<x-v> is in the response header
<x-v> is a positive integer
)

A.CVN.002: Validate version - invalid version value [x-v]

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe version parameter is included
AND the version value is not a valid number is [-1,0,1001]
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Field/Invalid"
)

A.CVN.003: Validate version - validate [x-v] format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe version parameter is included
AND the version value is not a valid number is an alpha (e.g. "foo")
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Field/Invalid"
)

A.CVN.004: Validate version - unsupported version without <x-min-v>

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <x-v> is included in a request header
AND <x-min-v> is NOT included
AND the request version <x-v> is not supported
Whenand a response is returned
Then
AND (
the response has a status of 406
the response body has ErrorListReponse object
error code is "Header/UnsupportedVersion"
)

A.CVN.005: Validate version - unsupported version with <x-min-v>

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <x-v> is included in a request header
AND <x-min-v> is included
AND no version between <x-v> and <x-min-v> is supported
Whena response is returned
Then
AND (
the response has a status of 406
the response body has ErrorListReponse object
error code is "Header/UnsupportedVersion"
)

A.CVM.001: Validate version - <x-min-v> is provided

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <x-min-v> header is included
AND the value for the <x-min-v> is a positive integer
Whena response is returned
AND the response has a status of 200
Then
AND (
<x-v> is in the response header
<x-v> = [<x-min-v>, <x-v>]
<x-v> is a positive integer
)

A.CVM.002: Validate minimum version - validate <x-min-v> format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <x-min-v> header is included
AND the <x-min-v> is a not a positive integer
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Field/Invalid"
)

A.CFI.001: Validate FAPI Interaction ID - included in request

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <x-fapi-interaction-id> is included in the header of the request
AND the <x-fapi-interaction-id> is in a valid format
Whena response is returned
Thenthe Data Holder has returned the <x-fapi-interaction-id> from the request in the response header

A.CFI.002: Validate FAPI Interaction ID - not in request

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <x-fapi-interaction-id> is NOT included in the header of the request
Whena response is returned
Thenthe Data Holder has returned an <x-fapi-interaction-id> in the response header

A.CFI.003: Validate FAPI Interaction ID - invalid format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <x-fapi-interaction-id> is included
AND the <x-fapi-interaction-id> is not in a valid format
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Header/invalid"
)

A.CFA.001: Validate FAPI Auth date - valid format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
Whena response is returned
AND the response has a status of 200
Then
AND (
the <x-fapi-auth-date> is present in the request header
is in a valid format
)

A.CFA.002: Validate FAPI Auth date - missing from header

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
AND the <x-fapi-auth-date> is NOT present in the request header
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Header/missing"
)

A.CFA.003: Validate FAPI Auth date - invalid format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
AND the <x-fapi-auth-date> is in the request header
AND is NOT in a valid format
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Header/invalid"
)

A.CFA.004: No <x-fapi-auth-date> in header (SR specific)

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
AND the call is from a DH to a SDH
Whena response is returned
AND the response has a status of 200
Thenthe <x-fapi-auth-date> is NOT present in the response header

A.CFC.001: Validate FAPI Customer IP Address - is present

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
Whena response is returned
AND the response has a status of 200
Then
AND (
the <x-fapi-customer-ip-address> is present in the request header
is in a valid IPv4 or IPv6 format
)

A.CFC.002: Validate FAPI Customer IP Address - missing from header

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
AND the <x-fapi-customer-ip-address> is NOT present in the request header
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Header/Missing"
)

A.CFC.003: Validate FAPI Customer IP Address - invalid format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
AND the <x-fapi-customer-ip-address> is in present the request header
AND is NEITHER in a valid IPv4 or IPv6 format
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Header/invalid"
)

A.CFC.004: No <x-fapi-customer-ip-address> in header (SR specific)

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe call is from a DH to a SDH
Whena response is returned
Thenthe <x-fapi-customer-ip-address> is NOT present in the response header

A.CCH.001: Validate the client headers - valid format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
AND the call is an attended, i.e. customer present, call
Whena response is returned
AND the response has a status of 200
Then
AND (
the <x-cds-client-headers> is present in the request header
is Base64 encoded
)

A.CCH.002: Validate the client headers - missing from header

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
AND the <x-cds-client-headers> is mandatory
AND the <x-cds-client-headers> is NOT present in the request header
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Header/missing"
)

A.CCH.003: Validate the client headers - invalid format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <x-cds-client-headers> present the request header
AND is Not Base64 encoded
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Header/Invalid"
)

A.CCH.004: No <x-cds-client-header> in header (SR specific)

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe call is from a DH to a SDH
Whena response is returned
Thenthe <x-cds-client-header> is NOT present in the response header

A.CAI.001: CDS arrangement id - present and valid (SR specific)

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe call is from a DH to a SDH
Whena response is returned
AND the response has a status of 200
Then
AND (
the <x-cds-arrangement> is present in the request header
is in a valid format
)

A.CAI.002: CDS arrangement id - missing from header (SR specific)

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe call is from a DH to a SDH
AND the <x-cds-arrangement> is NOT present in the request header
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Header/Missing"
)

A.CAI.003: CDS arrangement id - present but invalid (SR specific)

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe call is from a DH to a SDH
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Header/Invalid"
)

A.COD.001: Validate the Oldest Date parameter - valid format

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <oldest-date> is included as a query parameter
AND the <oldest-date> is in a valid DateString format
Whena response is returned
AND the response has a status of 200
Thenthe data is constrained by the date supplied

A.COD.002: Validation the Oldest Date parameter - invalid format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <oldest-date> is included as a query parameter
AND the <oldest-date> is not in a DateString valid format
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Field/invalid"
)

A.CND.001: Validate the Newest Date parameter - valid format

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <newest-date> is included as a query parameter
AND the <newest-date> is in a valid DateString format
Whena response is returned
AND the response has a status of 200
Thenthe data is constrained by the date supplied

A.CND.002: Validation the Newest Date parameter - invalid format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe <newest-date> is included as a query parameter
AND the <newest-date> is not in a valid DateString format
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Field/Invalid"
)

A.CBD.001: Validation of the POST body - malformed body

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request is a POST request
AND the request body is not in a valid JSON format, i.e. it is malformed
Whena response is returned
Then
AND (
the response has a status of 400
the response body has ErrorListReponse object
error code is "Field/Invalid"
)

A.EAR.001: Validate service point and schema - EnergyServicePointDetailResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the {servicePointId} value is valid
Whena response is returned
Then
AND (
the response has a status of 200
the response body complies with the EnergyServicePointDetailResponse schema
)

A.EAR.002: Validate service point - invalid value

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the requested service point is permanently unavailable. (No subsequent request for the service point will be successful.)
Whena response is returned
Then
AND (
the response has a status of 404
the response body has ErrorListReponse object
error code is "Authorisation/InvalidServicePoint"
)

A.EAR.003: Validate service point - unavailable

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the requested service point is temporarily unavailable. (Subsequent requests for the service point may be successful.)
Whena response is returned
Then
AND (
the response has a status of 404
the response body has ErrorListReponse object
error code is "Authorisation/UnavailableServicePoint"
)

A.EAR.004: Validate schema - EnergyServicePointListReponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request to call the API is formatted correctly
Whena response is returned
Then
AND (
the response has a status code 200
the response body complies with the EnergyServiceListResponse schema
)

A.EAR.005: Validate service point and schema - EnergyUsageListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the {servicePointId} value is valid
AND the request is formatted correctly
Whena response is returned
Then
AND (
the response has a status code of 200
the response body complies with the EnergyUsageListResponse schema
)

A.EAR.006: Validate servicePointIdList body and schema - EnergyUsageListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request payload to call the API is formatted correctly
AND contains the mandatory fields
Whena response is returned
Then
AND (
the response has a status code 200
the response body complies with the EnergyUsageListResponse schema
)

A.EAR.007: Validate service point and schema - EnergyDerDetailResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the {servicePointId} value is valid
Whena response is returned
Then
AND (
the response has a status of 200
the response body complies with the EnergyDerDetailResponse schema
)

A.EAR.008: Validate servicePointIdList body and schema - EnergyDerListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request payload to call the API is formatted correctly
AND contains the mandatory fields
Whena response is returned
Then
AND (
the response has a status code 200
the response body complies with the EnergyDerListResponse schema
)

A.EAR.009: Validate servicePointIdList - invalid body values

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request payload does not contain the required fields
OR the request payload is NOT well formatted
Whena response is returned
Then
AND (
the response has a status code 422
the response body has ErrorListReponse
error code is "Field/Invalid"
)

A.EAR.010: Validate schema - EnergyUsageListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request to call the API is formatted correctly
Whena response is returned
Then
AND (
the response has a status code 200
the response body complies with the EnergyUsageListResponse schema
)

A.EAR.011: Validate schema - EnergyDerListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request to call the API is formatted correctly
Whena response is returned
Then
AND (
the response has a status code 200
the response body complies with the EnergyDerListResponse schema
)

A.EAS.001: Validate service point and schema - EnergyServicePointDetailResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the {servicePointId} value is valid
Whena response is returned
Then
AND (
the response has a status of 200
the response body complies with the EnergyServicePointDetailResponse schema
)

A.EAS.002: Validate service point - invalid NMI value

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the requested service point is permanently unavailable. No subsequent request for the service point will be successful.
Whena response is returned
Then
AND (
the response has a status of 404
the response body has ErrorListReponse object
error code is "Authorisation/InvalidServicePoint"
)

A.EAS.003: Validate service point - unavailable NMI

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the requested service point is temporarily unavailable. Subsequent requests for the service point may be successful.
Whena response is returned
Then
AND (
the response has a status of 404
the response body has ErrorListReponse object
error code is "Authorisation/UnavailableServicePoint"
)

A.EAS.004: Validate schema - EnergyServicePointListReponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request to call the API is formatted correctly
Whena response is returned
Then
AND (
the response has a status code 200
the response body complies with the EnergyServiceListResponse schema
)

A.EAS.005: Validate service point and schema - EnergyUsageListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the {servicePointId} value is valid
AND the request is formatted correctly
Whena response is returned
Then
AND (
the response has a status code of 200
the response body complies with the EnergyUsageListResponse schema
)

A.EAS.006: Validate servicePointIdList body and schema - EnergyUsageListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request payload to call the API is formatted correctly
AND contains the mandatory fields
Whena response is returned
Then
AND (
the response has a status code 200
the response body complies with the EnergyUsageListResponse schema
)

A.EAS.007: Validate service point and schema - EnergyDerDetailResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {servicePointId} is included
AND the {servicePointId} value is valid
Whena response is returned
Then
AND (
the response has a status of 200
the response body complies with the EnergyDerDetailResponse schema
)

A.EAS.008: Validate servicePointIdList body and schema - EnergyDerListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request payload to call the API is formatted correctly
AND contains the mandatory fields
Whena response is returned
Then
AND (
the response has a status code 200
the response body complies with the EnergyDerListResponse schema
)

A.EAS.009: Validate servicePointIdList - invalid body values

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request payload does not contain the required fields
OR the request payload is NOT well formatted
Whena response is returned
Then
AND (
the response has a status code 400
the response body complies with the ErrorListReponse schema
error code is "Field/Invalid"
)

A.EAS.010: Validate servicePointIdList - invalid servicePointId in body

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request payload contains an invalid servicePointID
Whena response is returned
Then
AND (
the response has a status code 422
the response body complies with the ErrorListReponse schema
error code is "Authorisation/InvalidServicePoint"
)

A.EAS.011: Validate servicePointIdList - unavailable servicePointId in body

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request payload contains a valid servicePointID that is unavailable
Whena response is returned
Then
AND (
the response has a status code 422
the response body complies with the ErrorListReponse schema
error code is "Authorisation/UnavailableServicePoint"
)