The CDR Test Documentation
Test Suites
SUITE.CAA: APIs - Common Admin
SUITE.CAC: APIs - Common Customer
SUITE.EAA: APIs - Energy Accounts
SUITE.EAR: APIs - Energy Standing Data, Usage and DER
SUITE.EAS: APIs - Energy Standing Data, Usage and DER SR
Test Scenarios
S.CAA.0035: Get status v1
S.CAA.0036: Get status Negative v1
S.CAA.0037: Get outages v1
S.CAA.0038: Get outages Negative v1
S.CAC.0039: Get customer v1
S.CAC.0040: Get customer Negative v1
S.CAC.0041: Get customer detail v2
S.CAC.0042: Get customer detail Negative v2
S.EAA.0047: Get Energy Accounts v1
S.EAA.0048: Get Energy Accounts Negative v1
S.EAA.0049: Get Energy Account Detail v1
S.EAA.0050: Get Energy Account Detail Negative v1
S.EAA.0051: Get Agreed Payment Schedule v1
S.EAA.0052: Get Agreed Payment Schedule Negative v1
S.EAA.0053: Get Concessions v1
S.EAA.0054: Get Concessions Negative v1
S.EAR.0073: Get Service Points v1
S.EAR.0074: Get Service Points Negative v1
S.EAR.0075: Get Service Point Detail v1
S.EAR.0076: Get Service Point Detail Negative v1
S.EAR.0077: Get Usage For Service Point v1
S.EAR.0078: Get Usage For Service Point Negative v1
S.EAR.0079: Get Bulk Usage v1
S.EAR.0080: Get Bulk Usage Negative v1
S.EAR.0081: Get Usage For Specific Service Points v1
S.EAR.0082: Get Usage For Specific Service Points Negative v1
S.EAR.0083: Get DER for Service Point v1
S.EAR.0084: Get DER for Service Point Negative v1
S.EAR.0085: Get Bulk DER v1
S.EAR.0086: Get Bulk DER Negative v1
S.EAR.0087: Get DER For Specific Service Points v1
S.EAR.0088: Get DER For Specific Service Points Negative v1
S.EAS.0089: Get Service Points SR v1
S.EAS.0090: Get Service Points Negative SR v1
S.EAS.0091: Get Service Point Detail SR v1
S.EAS.0092: Get Service Point Detail Negative SR v1
S.EAS.0093: Get Usage For Service Point SR v1
S.EAS.0094: Get Usage For Service Point Negative SR v1
S.EAS.0095: Get Usage For Specific Service Points SR v1
S.EAS.0096: Get Usage For Specific Service Points Negative SR v1
S.EAS.0097: Get DER for Service Point SR v1
S.EAS.0098: Get DER for Service Point Negative SR v1
S.EAS.0099: Get DER For Specific Service Points SR v1
S.EAS.0100: Get DER For Specific Service Points Negative SR v1
Test Cases
T.CAA.0001: Get Status with a valid version
T.CAA.0002: Get Status - invalid version value
T.CAA.0003: Get Status - invalid version format
T.CAA.0004: Get Status - unsupported version without included
T.CAA.0005: Get Status - unsupported version when is included
T.CAA.0006: Get Status - invalid minimum version format
T.CAA.0007: Get Outages with a valid version
T.CAA.0008: Get Outages - invalid version value
T.CAA.0009: Get Outages - invalid version format
T.CAA.0010: Get Outages - unsupported version without included
T.CAA.0011: Get Outages - unsupported version when is included
T.CAA.0012: Get Outages - invalid minimum version format
T.CAC.0001: Get Customer
T.CAC.0002: Get Customer - invalid version value
T.CAC.0003: Get Customer - invalid version format
T.CAC.0004: Get Customer - unsupported version without x-min-v included
T.CAC.0005: Get Customer - unsupported version when x-min-v is included
T.CAC.0006: Get Customer - invalid minimum version value
T.CAC.0007: Get Customer - invalid FAPI Interaction ID format
T.CAC.0008: Get Customer - missing FAPI Auth Date
T.CAC.0009: Get Customer - invalid FAPI Auth Date
T.CAC.0010: Get Customer - missing FAPI Customer IP Address
T.CAC.0011: Get Customer - invalid FAPI Customer IP Address
T.CAC.0012: Get Customer - missing CDS Client Header
T.CAC.0013: Get Customer - invalid CDS Client Header
T.CAC.0014: Get Customer Detail
T.CAC.0015: Get Customer Detail - invalid version value
T.CAC.0016: Get Customer Detail - invalid version format
T.CAC.0017: Get Customer Detail - unsupported version without x-min-v included
T.CAC.0018: Get Customer Detail - unsupported version when x-min-v is included
T.CAC.0019: Get Customer Detail - invalid minimum version value
T.CAC.0020: Get Customer Detail - invalid FAPI Interaction ID format
T.CAC.0021: Get Customer Detail - missing FAPI Auth Date
T.CAC.0022: Get Customer Detail - invalid FAPI Auth Date
T.CAC.0023: Get Customer Detail - missing FAPI Customer IP Address
T.CAC.0024: Get Customer Detail - invalid FAPI Customer IP Address
T.CAC.0025: Get Customer Detail - missing CDS Client Header
T.CAC.0026: Get Customer Detail - invalid CDS Client Header
T.EAA.0001: Get Energy Accounts - no pagination
T.EAA.0002: Get Energy Accounts - with pagination
T.EAA.0003: Get Energy Accounts - invalid page parameters
T.EAA.0004: Get Energy Accounts - unsupported version without x-min-v included
T.EAA.0005: Get Energy Accounts - invalid version value
T.EAA.0006: Get Energy Accounts - invalid version format
T.EAA.0007: Get Energy Accounts - unsupported version when x-min-v is included
T.EAA.0008: Get Energy Accounts - invalid FAPI Interaction ID format
T.EAA.0009: Get Energy Accounts - missing FAPI Auth Date
T.EAA.0010: Get Energy Accounts - invalid FAPI Auth Date
T.EAA.0011: Get Energy Accounts - missing FAPI Customer IP Address
T.EAA.0012: Get Energy Accounts - invalid FAPI Customer IP Address
T.EAA.0013: Get Energy Accounts - missing CDS Client Header
T.EAA.0014: Get Energy Accounts - invalid CDS Client Header
T.EAA.0015: Get Energy Account Detail
T.EAA.0016: Get Energy Account Detail - invalid account id format
T.EAA.0017: Get Energy Account Detail - unavailable account id
T.EAA.0018: Get Energy Account Detail - unsupported version without x-min-v included
T.EAA.0019: Get Energy Account Detail - invalid version value
T.EAA.0020: Get Energy Account Detail - invalid version format
T.EAA.0021: Get Energy Account Detail - unsupported version when x-min-v is included
T.EAA.0022: Get Energy Account Detail - invalid FAPI Interaction ID format
T.EAA.0023: Get Energy Account Detail - missing FAPI Auth Date
T.EAA.0024: Get Energy Account Detail - invalid FAPI Auth Date
T.EAA.0025: Get Energy Account Detail - missing FAPI Customer IP Address
T.EAA.0026: Get Energy Account Detail - invalid FAPI Customer IP Address
T.EAA.0027: Get Energy Account Detail - missing CDS Client Header
T.EAA.0028: Get Energy Account Detail - invalid CDS Client Header
T.EAA.0029: Get Agreed Payment Schedule
T.EAA.0030: Get Agreed Payment Schedule - invalid account id format
T.EAA.0031: Get Agreed Payment Schedule - unavailable account id
T.EAA.0032: Get Agreed Payment Schedule - unsupported version without x-min-v included
T.EAA.0033: Get Agreed Payment Schedule - invalid version value
T.EAA.0034: Get Agreed Payment Schedule - invalid version format
T.EAA.0035: Get Agreed Payment Schedule - unsupported version when x-min-v is included
T.EAA.0036: Get Agreed Payment Schedule - invalid FAPI Interaction ID format
T.EAA.0037: Get Agreed Payment Schedule - missing FAPI Auth Date
T.EAA.0038: Get Agreed Payment Schedule - invalid FAPI Auth Date
T.EAA.0039: Get Agreed Payment Schedule - missing FAPI Customer IP Address
T.EAA.0040: Get Agreed Payment Schedule - invalid FAPI Customer IP Address
T.EAA.0041: Get Agreed Payment Schedule - missing CDS Client Header
T.EAA.0042: Get Agreed Payment Schedule - invalid CDS Client Header
T.EAA.0043: Get Concessions
T.EAA.0044: Get Concessions - invalid account id format
T.EAA.0045: Get Concessions - unavailable account id
T.EAA.0046: Get Concessions - unsupported version without x-min-v included
T.EAA.0047: Get Concessions - invalid version value
T.EAA.0048: Get Concessions - invalid version format
T.EAA.0049: Get Concessions - unsupported version when x-min-v is included
T.EAA.0050: Get Concessions - invalid FAPI Interaction ID format
T.EAA.0051: Get Concessions - missing FAPI Auth Date
T.EAA.0052: Get Concessions - invalid FAPI Auth Date
T.EAA.0053: Get Concessions - missing FAPI Customer IP Address
T.EAA.0054: Get Concessions - invalid FAPI Customer IP Address
T.EAA.0055: Get Concessions - missing CDS Client Header
T.EAA.0056: Get Concessions - invalid CDS Client Header
T.EAA.0057: Get Energy Accounts - invalid minimum version format
T.EAA.0058: Get Energy Account Detail - invalid minimum version format
T.EAA.0059: Get Agreed Payment Schedule - invalid minimum version format
T.EAA.0060: Get Concessions - invalid minimum version format
T.EAB.0002: Get Balance for Energy Account - invalid account id format
T.EAB.0003: Get Balance for Energy Account - unavailable account id
T.EAB.0004: Get Balance for Energy Account - unsupported version without x-min-v included
T.EAB.0005: Get Balance for Energy Account - invalid version value
T.EAB.0006: Get Balance for Energy Account - invalid version format
T.EAB.0007: Get Balance for Energy Account - unsupported version when x-min-v is included
T.EAB.0008: Get Energy Account Detail - invalid minimum version format
T.EAB.0009: Get Balance for Energy Account - invalid FAPI Interaction ID format
T.EAB.0010: Get Balance for Energy Account - missing FAPI Auth Date
T.EAB.0011: Get Balance for Energy Account - invalid FAPI Auth Date
T.EAB.0012: Get Balance for Energy Account - missing FAPI Customer IP Address
T.EAB.0013: Get Balance for Energy Account - invalid FAPI Customer IP Address
T.EAB.0014: Get Balance for Energy Account - missing CDS Client Header
T.EAB.0015: Get Balance for Energy Account - invalid CDS Client Header
T.EAB.0016: with pagination
T.EAB.0017: without pagination
T.EAR.0001: ADR call to DH: Get Service Points - no pagination
T.EAR.0002: ADR call to DH: Get Service Points - with pagination
T.EAR.0003: ADR call to DH: Get Service Points - unsupported version without x-min-v included
T.EAR.0004: ADR call to DH: Get Service Points - invalid page parameters
T.EAR.0005: ADR call to DH: Get Service Points - invalid FAPI Interaction ID format
T.EAR.0006: ADR call to DH: Get Service Point Detail
T.EAR.0007: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included
T.EAR.0008: ADR call to DH: Get Service Point Detail - invalid format of Service Point ID
T.EAR.0009: ADR call to DH: Get Service Point Detail - unavailable Service Point ID
T.EAR.0010: ADR call to DH: Get Service Point Detail - invalid FAPI Interaction ID format
T.EAR.0011: ADR call to DH: Get Usage for Service Point Detail - no pagination
T.EAR.0012: ADR call to DH: Get Usage for Service Points - with pagination
T.EAR.0013: ADR call to DH: Get Usage for Service Points - unsupported version without x-min-v included
T.EAR.0014: ADR call to DH: Get Usage for Service Points - invalid page parameters
T.EAR.0015: ADR call to DH: Get Usage for Service Points - oldest date
T.EAR.0016: ADR call to DH: Get Usage for Service Points - newest date
T.EAR.0017: ADR call to DH: Get Usage for Service Points - invalid Service Point ID
T.EAR.0018: ADR call to DH: Get Usage for Service Points - unavailable Service Point ID
T.EAR.0019: ADR call to DH: Get Usage for Service Points - invalid format oldest date
T.EAR.0020: ADR call to DH: Get Usage for Service Points - invalid format newest date
T.EAR.0021: ADR call to DH: Get Usage For Service Point - invalid FAPI Interaction ID format
T.EAR.0022: ADR call to DH: Get Usage for Specific Service Points - no pagination
T.EAR.0023: ADR call to DH: Get Usage for Specific Service Points - with pagination
T.EAR.0024: ADR call to DH: Get Usage for Specific Service Points - unsupported version without x-min-v included
T.EAR.0025: ADR call to DH: Get Usage for Specific Service Points - invalid page parameters
T.EAR.0026: ADR call to DH: Get Usage for Specific Service Points - oldest date
T.EAR.0027: ADR call to DH: Get Usage for Specific Service Points - newest date
T.EAR.0028: ADR call to DH: Get Usage for Specific Service Points - invalid format oldest date
T.EAR.0029: ADR call to DH: Get Usage for Specific Service Points - invalid format newest date
T.EAR.0030: ADR call to DH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
T.EAR.0031: ADR call to DH: Get Usage for Specific Service Points - invalid body values
T.EAR.0032: ADR call to DH: Get Usage for Specific Service Points - invalid body format
T.EAR.0033: ADR call to DH: Get DER for Service Point
T.EAR.0034: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included
T.EAR.0035: ADR call to DH: Get Service Point Detail - invalid format of Service Point ID
T.EAR.0036: ADR call to DH: Get Service Point Detail - unavailable Service Point ID
T.EAR.0037: ADR call to DH: Get DER for Service Point - invalid FAPI Interaction ID format
T.EAR.0038: ADR call to DH: Get DER for Specific Service Points - no pagination
T.EAR.0039: ADR call to DH: Get DER for Specific Service Points - with pagination
T.EAR.0040: ADR call to DH: Get DER for Specific Service Points - unsupported version without x-min-v included
T.EAR.0041: ADR call to DH: Get DER for Specific Service Points - invalid page parameters
T.EAR.0042: ADR call to DH: Get DER for Specific Service Points - invalid body values
T.EAR.0043: ADR call to DH: Get DER for Specific Service Points - invalid body format
T.EAR.0044: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Interaction ID format
T.EAR.0045: ADR call to DH: Get Bulk Usage
T.EAR.0046: ADR call to DH: Get Bulk Usage - with pagination
T.EAR.0047: ADR call to DH: Get Bulk Usage - unsupported version without x-min-v included
T.EAR.0048: ADR call to DH: Get Bulk Usage - invalid page parameters
T.EAR.0049: ADR call to DH: Get Bulk Usage - oldest date
T.EAR.0050: ADR call to DH: Get Bulk Usage - newest date
T.EAR.0051: ADR call to DH: Get Bulk Usage - invalid format oldest date
T.EAR.0052: ADR call to DH: Get Bulk Usage - invalid format newest date
T.EAR.0053: ADR call to DH: Get Bulk Usage - invalid FAPI Interaction ID format
T.EAR.0054: ADR call to DH: Get Bulk Usage - missing FAPI Auth Date
T.EAR.0055: ADR call to DH: Get Bulk Usage - invalid FAPI Auth Date
T.EAR.0056: ADR call to DH: Get Bulk Usage - missing FAPI Customer IP Address
T.EAR.0057: ADR call to DH: Get Bulk Usage - invalid FAPI Customer IP Address
T.EAR.0058: ADR call to DH: Get Bulk Usage - missing CDS Client Header
T.EAR.0059: ADR call to DH: Get Bulk Usage - invalid CDS Client Header
T.EAR.0060: ADR call to DH: Get Bulk DER
T.EAR.0061: ADR call to DH: Get Bulk DER - with pagination
T.EAR.0062: ADR call to DH: Get Bulk DER - unsupported version without x-min-v included
T.EAR.0063: ADR call to DH: Get Bulk DER - invalid page parameters
T.EAR.0064: ADR call to DH: Get Bulk DER - missing FAPI Auth Date
T.EAR.0065: ADR call to DH: DHGet Bulk DER - invalid FAPI Auth Date
T.EAR.0066: ADR call to DH: Get Bulk DER - missing FAPI Customer IP Address
T.EAR.0067: ADR call to DH: DH: Get Bulk DER - invalid FAPI Customer IP Address
T.EAR.0068: ADR call to DH: Get Bulk DER - missing CDS Client Header
T.EAR.0069: ADR call to DH: Get Bulk DER - invalid CDS Client Header
T.EAR.0070: ADR call to DH: Get Bulk DER - invalid FAPI Auth Date
T.EAR.0071: ADR call to DH: Get Bulk DER - missing FAPI Customer IP Address
T.EAR.0072: ADR call to DH: Get Bulk DER - invalid FAPI Customer IP Address
T.EAR.0073: ADR call to DH: Get Service Points - missing FAPI Auth Date
T.EAR.0074: ADR call to DH: Get Service Points - invalid FAPI Auth Date
T.EAR.0075: ADR call to DH: Get Service Points - missing FAPI Customer IP Address
T.EAR.0076: ADR call to DH: Get Service Points - invalid FAPI Customer IP Address
T.EAR.0077: ADR call to DH: Get Service Points - missing CDS Client Header
T.EAR.0078: ADR call to DH: Get Service Points - invalid CDS Client Header
T.EAR.0079: ADR call to DH: Get Service Point - missing FAPI Auth Date
T.EAR.0080: ADR call to DH: Get Service Point - invalid FAPI Auth Date
T.EAR.0081: ADR call to DH: Get Service Point - missing FAPI Customer IP Address
T.EAR.0082: ADR call to DH: Get Service Point - invalid FAPI Customer IP Address
T.EAR.0083: ADR call to DH: Get Service Point - missing CDS Client Header
T.EAR.0084: ADR call to DH: Get Service Point - invalid CDS Client Header
T.EAR.0085: ADR call to DH: Get Usage For Service Point - missing FAPI Auth Date
T.EAR.0086: ADR call to DH: Get Usage For Service Point - invalid FAPI Auth Date
T.EAR.0087: ADR call to DH: Get Usage For Service Point - missing FAPI Customer IP Address
T.EAR.0088: ADR call to DH: Get Usage For Service Point - invalid FAPI Customer IP Address
T.EAR.0089: ADR call to DH: Get Usage For Service Point - missing CDS Client Header
T.EAR.0090: ADR call to DH: Get Usage For Service Point - invalid CDS Client Header
T.EAR.0091: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Auth Date
T.EAR.0092: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Auth Date
T.EAR.0093: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Customer IP Address
T.EAR.0094: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Customer IP Address
T.EAR.0095: ADR call to DH: Get Usage for Specific Service Points - missing CDS Client Header
T.EAR.0096: ADR call to DH: Get Usage for Specific Service Points - invalid CDS Client Header
T.EAR.0097: ADR call to DH: Get DER for Service Point - missing FAPI Auth Date
T.EAR.0098: ADR call to DH: Get DER for Service Point - invalid FAPI Auth Date
T.EAR.0099: ADR call to DH: Get DER for Service Point - missing FAPI Customer IP Address
T.EAR.0100: ADR call to DH: Get DER for Service Point - invalid FAPI Customer IP Address
T.EAR.0101: ADR call to DH: Get DER for Service Point - missing CDS Client Header
T.EAR.0102: ADR call to DH: Get DER for Service Point - invalid CDS Client Header
T.EAR.0103: ADR call to DH: Get DER For Specific Service Points - missing FAPI Auth Date
T.EAR.0104: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Auth Date
T.EAR.0105: ADR call to DH: Get DER For Specific Service Points - missing FAPI Customer IP Address
T.EAR.0106: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Customer IP Address
T.EAR.0107: ADR call to DH: Get DER For Specific Service Points - missing CDS Client Header
T.EAR.0108: ADR call to DH: Get DER For Specific Service Points - invalid CDS Client Header
T.EAR.0109: ADR call to DH: Get Service Points - invalid version value
T.EAR.0110: ADR call to DH: Get Service Points - invalid version format
T.EAR.0111: ADR call to DH: Get Service Point - invalid version value
T.EAR.0112: ADR call to DH: Get Service Point - invalid version format
T.EAR.0113: ADR call to DH: Get Usage For Service Point - invalid version value
T.EAR.0114: ADR call to DH: Get Usage For Service Point - invalid version format
T.EAR.0115: ADR call to DH: Get Bulk Usage - invalid version value
T.EAR.0116: ADR call to DH: Get Bulk Usage - invalid version format
T.EAR.0117: ADR call to DH: Get Usage for Specific Service Points - invalid version value
T.EAR.0118: ADR call to DH: Get Usage for Specific Service Points - invalid version format
T.EAR.0119: ADR call to DH: Get DER for Service Point - invalid version value
T.EAR.0120: ADR call to DH: Get DER for Service Point - invalid version format
T.EAR.0121: ADR call to DH: Get Bulk DER - invalid version value
T.EAR.0122: ADR call to DH: Get Bulk DER - invalid version format
T.EAR.0123: ADR call to DH: Get DER For Specific Service Points - invalid version value
T.EAR.0124: ADR call to DH: Get DER For Specific Service Points - invalid version format
T.EAR.0125: ADR call to DH: Get Service Points - unsupported version when x-min-v is included
T.EAR.0126: ADR call to DH: Get Service Point - unsupported version when x-min-v is included
T.EAR.0127: ADR call to DH: Get Usage For Service Point - unsupported version when x-min-v is included
T.EAR.0128: ADR call to DH: Get Bulk Usage - unsupported version when x-min-v is included
T.EAR.0129: ADR call to DH: Get Usage for Specific Service Points - unsupported version when x-min-v is included
T.EAR.0130: ADR call to DH: Get DER for Service Point - unsupported version when x-min-v is included
T.EAR.0131: ADR call to DH: Get Bulk DER - unsupported version when x-min-v is included
T.EAR.0132: ADR call to DH: Get DER For Specific Service Points - unsupported version when x-min-v is included
T.EAR.0133: ADR call to DH: Get Service Points - invalid minimum version format
T.EAR.0134: ADR call to DH: Get Service Point Detail - invalid minimum version format
T.EAR.0135: ADR call to DH: Get Usage for Service Point - invalid minimum version format
T.EAR.0136: ADR call to DH: Get Bulk Usage - invalid minimum version format
T.EAR.0137: ADR call to DH: Get Usage For Specific Service Points - invalid minimum version format
T.EAR.0138: ADR call to DH: Get DER For Service Point - invalid minimum version format
T.EAR.0139: ADR call to DH: Get Bulk DER - invalid minimum version format
T.EAR.0140: ADR call to DH: Get DER For Specific Service Points - invalid minimum version format
T.EAS.0001: DH call to SDH: Get Service Points - no pagination
T.EAS.0002: DH call to SDH: Get Service Points - with pagination
T.EAS.0003: DH call to SDH: Get Service Points - unsupported version without x-min-v included
T.EAS.0004: DH call to SDH: Get Service Points - invalid page parameters
T.EAS.0005: DH call to SDH: Get Service Point Detail
T.EAS.0006: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included
T.EAS.0007: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID
T.EAS.0008: DH call to SDH: Get Service Point Detail - unavailable Service Point ID
T.EAS.0009: DH call to SDH: Get Usage for Service Point Detail - no pagination
T.EAS.0010: DH call to SDH: Get Usage for Service Points - with pagination
T.EAS.0011: DH call to SDH: Get Usage for Service Points - unsupported version without x-min-v included
T.EAS.0012: DH call to SDH: Get Usage for Service Points - invalid page parameters
T.EAS.0013: DH call to SDH: Get Usage for Service Points - oldest date
T.EAS.0014: DH call to SDH: Get Usage for Service Points - newest date
T.EAS.0015: DH call to SDH: Get Usage for Service Points - invalid Service Point ID
T.EAS.0016: DH call to SDH: Get Usage for Service Points - unavailable Service Point ID
T.EAS.0017: DH call to SDH: Get Usage for Service Points - invalid format oldest date
T.EAS.0018: DH call to SDH: Get Usage for Service Points - invalid format newest date
T.EAS.0019: DH call to SDH: Get Usage for Specific Service Points - no pagination
T.EAS.0020: DH call to SDH: Get Usage for Specific Service Points - with pagination
T.EAS.0021: DH call to SDH: Get Usage for Specific Service Points - unsupported version without x-min-v included
T.EAS.0022: DH call to SDH: Get Usage for Specific Service Points - invalid page parameters
T.EAS.0023: DH call to SDH: Get Usage for Specific Service Points - oldest date
T.EAS.0024: DH call to SDH: Get Usage for Specific Service Points - newest date
T.EAS.0025: DH call to SDH: Get Usage for Specific Service Points - invalid format oldest date
T.EAS.0026: DH call to SDH: Get Usage for Specific Service Points - invalid format newest date
T.EAS.0027: DH call to SDH: Get DER for Service Point
T.EAS.0028: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included
T.EAS.0029: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID
T.EAS.0030: DH call to SDH: Get Service Point Detail - unavailable Service Point ID
T.EAS.0031: DH call to SDH: Get DER for Specific Service Points - no pagination
T.EAS.0032: DH call to SDH: Get DER for Specific Service Points - with pagination
T.EAS.0033: DH call to SDH: Get DER for Specific Service Points - unsupported version without x-min-v included
T.EAS.0034: DH call to SDH: Get DER for Specific Service Points - invalid page parameters
T.EAS.0035: DH call to SDH: Get DER for Specific Service Points - invalid body values
T.EAS.0036: DH call to SDH: Get DER for Specific Service Points - invalid body format
T.EAS.0037: DH call to SDH: Get Usage for Specific Service Points - invalid body values
T.EAS.0038: DH call to SDH: Get Usage for Specific Service Points - invalid body format
T.EAS.0039: DH call to SDH: Get Service Points - invalid FAPI Interaction ID format
T.EAS.0040: DH call to SDH: Get Service Point Detail - invalid FAPI Interaction ID format
T.EAS.0041: DH call to SDH: Get Usage For Service Point - invalid FAPI Interaction ID format
T.EAS.0042: DH call to SDH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
T.EAS.0043: DH call to SDH: Get DER for Service Point - invalid FAPI Interaction ID format
T.EAS.0044: DH call to SDH: Get DER For Specific Service Points - invalid FAPI Interaction ID format
T.EAS.0045: DH call to SDH: Get Service Points - no arragement id
T.EAS.0046: DH call to SDH: Get Service Points - arrangement ID invalid
T.EAS.0047: DH call to SDH: Get Service Point Detail - no arragement id
T.EAS.0048: DH call to SDH: Get Service Point Detail - arrangement ID invalid
T.EAS.0049: DH call to Get Usage For Service Point - no arragement id
T.EAS.0050: DH call to SDH: Get Usage For Service Point - arrangement ID invalid
T.EAS.0051: DH call to SDH: Get Usage For Specific Service Points - no arragement id
T.EAS.0052: DH call to SDH: Get Usage For Specific Service Points - arrangement ID invalid
T.EAS.0053: DH call to SDH: Get DER for Service Point - no arragement id
T.EAS.0054: DH call to SDH: Get DER for Service Point - arrangement ID invalid
T.EAS.0055: DH call to Get DER For Specific Service Points - no arragement id
T.EAS.0056: DH call to SDH: Get DER For Specific Service Points - arrangement ID invalid
T.EAS.0057: DH call to SDH: Get Service Points - invalid version value
T.EAS.0058: DH call to SDH: Get Service Points - invalid version format
T.EAS.0059: DH call to SDH: Get Service Point Detail - invalid version value
T.EAS.0060: DH call to SDH: Get Service Point Detail - invalid version format
T.EAS.0061: DH call to SDH: Get Usage For Service Point - invalid version value
T.EAS.0062: DH call to SDH: Get Usage For Service Point - invalid version format
T.EAS.0063: DH call to SDH: Get Usage For Specific Service Points - invalid version value
T.EAS.0064: DH call to SDH: Get Usage For Specific Service Points - invalid version format
T.EAS.0065: DH call to SDH: Get DER for Service Point - invalid version value
T.EAS.0066: DH call to SDH: Get DER for Service Point - invalid version format
T.EAS.0067: DH call to SDH: Get DER For Specific Service Points - invalid version value
T.EAS.0068: DH call to SDH: Get DER For Specific Service Points - invalid version format
T.EAS.0069: DH call to SDH: Get Service Points - unsupported version when x-min-v is included
T.EAS.0070: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included
T.EAS.0071: DH call to SDH: Get Usage for Service Points - unsupported version when x-min-v is included
T.EAS.0072: DH call to SDH: Get Usage for Specific Service Points - unsupported version when x-min-v is included
T.EAS.0073: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included
T.EAS.0074: DH call to SDH: Get DER for Specific Service Points - unsupported version when x-min-v is included
T.EAS.0075: DH call to SDH: Get Service Points - missing servicePointId in body
T.EAS.0076: DH call to SDH: Get Service Points - invalid servicePointId in body
T.EAS.0077: DH call to SDH: Get Service Points - unavailable servicePointId in body
T.EAS.0078: DH call to SDH: Get Service Points - invalid minimum version format
T.EAS.0079: DH call to SDH: Get Service Point Detail - invalid minimum version format
T.EAS.0080: DH call to SDH: Get Usage for Service Point - invalid minimum version format
T.EAS.0081: DH call to SDH: Get Usage For Specific Service Points - invalid minimum version format
T.EAS.0082: DH call to SDH: Get DER For Service Point - invalid minimum version format
T.EAS.0083: DH call to SDH: Get DER For Specific Service Points - invalid minimum version format
Assertions
A.CAA.0001: Validate schema - GetStatus
A.CAA.0002: Validate schema - GetOutage
A.CAC.0001: Validate schema - ResponseCommonCustomer
A.CAC.0002: Validate schema - ResponseCommonCustomerDetailV2
A.EAA.0001: Validate schema - EnergyAccountListResponse
A.EAA.0002: Validate account and schema - EnergyAccountDetailResponse
A.EAA.0003: Validate account identifier - invalid value
A.EAA.0004: Validate account identifier - unavailable account
A.EAA.0005: validate account and schema - EnergyPaymentScheduleResponse
A.EAA.0006: validate account and schema -EnergyConcessionsResponse
A.EAR.0001: Validate service point and schema - EnergyServicePointDetailResponse
A.EAR.0002: Validate service point - invalid value
A.EAR.0003: Validate service point - unavailable
A.EAR.0004: Validate schema - EnergyServicePointListReponse
A.EAR.0005: Validate service point and schema - EnergyUsageListResponse
A.EAR.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
A.EAR.0007: Validate service point and schema - EnergyDerDetailResponse
A.EAR.0008: Validate servicePointIdList body and schema - EnergyDerListResponse
A.EAR.0009: Validate servicePointIdList - invalid body values
A.EAR.0010: Validate schema - EnergyUsageListResponse
A.EAR.0011: Validate schema - EnergyDerListResponse
A.EAS.0001: Validate service point and schema - EnergyServicePointDetailResponse
A.EAS.0002: Validate service point - invalid NMI value
A.EAS.0003: Validate service point - unavailable NMI
A.EAS.0004: Validate schema - EnergyServicePointListReponse
A.EAS.0005: Validate service point and schema - EnergyUsageListResponse
A.EAS.0006: Validate servicePointIdList body and schema - EnergyUsageListResponse
A.EAS.0007: Validate service point and schema - EnergyDerDetailResponse
A.EAS.0008: Validate servicePointIdList body and schema - EnergyDerListResponse
A.EAS.0009: Validate servicePointIdList - invalid body values
A.EAS.0010: Validate servicePointIdList - invalid servicePointId in body
A.EAS.0011: Validate servicePointIdList - unavailable servicePointId in body
A.ZAA.0001: Validate pagination - LinksPaginated
A.ZAA.0002: Validate pagination - Invalid page size value
A.ZAA.0003: Validate pagination - Non-numeric <page>
A.ZAA.0004: Validate pagination - Max record limit exceeded
A.ZAA.0005: Validate pagination - Non-numeric <page-size>
A.ZAA.0006: Validate version - valid version number [x-v]
A.ZAA.0007: Validate version - invalid version value [x-v]
A.ZAA.0008: Validate version - invalid [x-v] format
A.ZAA.0009: Validate version - unsupported version without <x-min-v>
A.ZAA.0010: Validate version - unsupported version with <x-min-v>
A.ZAA.0011: Validate version - <x-min-v> is provided
A.ZAA.0012: Validate minimum version - invalid <x-min-v> format
A.ZAA.0013: Validate FAPI Interaction ID - included in request
A.ZAA.0014: Validate FAPI Interaction ID - not in request
A.ZAA.0015: Validate FAPI Interaction ID - invalid format
A.ZAA.0016: Validate FAPI Auth date - missing from header
A.ZAA.0017: Validate FAPI Auth date - invalid format
A.ZAA.0018: No <x-fapi-auth-date> in header (SR specific)
A.ZAA.0019: Validate FAPI Customer IP Address - missing from header
A.ZAA.0020: Validate FAPI Customer IP Address - invalid format
A.ZAA.0021: No <x-fapi-customer-ip-address> in header (SR specific)
A.ZAA.0022: Validate the client headers - missing from header
A.ZAA.0023: Validate the client headers - invalid format
A.ZAA.0024: No <x-cds-client-header> in header (SR specific)
A.ZAA.0025: CDS arrangement id - missing from header (SR specific)
A.ZAA.0026: CDS arrangement id - present but invalid (SR specific)
A.ZAA.0027: Validate the Oldest Date parameter - valid format
A.ZAA.0028: Validation the Oldest Date parameter - invalid format
A.ZAA.0029: Validate the Newest Date parameter - valid format
A.ZAA.0030: Validation the Newest Date parameter - invalid format
A.ZAA.0031: Validation of the POST body - malformed body

The CDR Test Documentation

File version: 2.3.0

This documentation has been created by the DSB to assist participants in the development of compliant APIs

For more details see the CDS standards-testing repository

Last updated 21/03/2023 see the change log for details

Test Suites

Test Scenarios

S.CAA.0035: Get status v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.CAA.0001: Get Status with a valid version

S.CAA.0037: Get outages v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.CAA.0007: Get Outages with a valid version

S.CAC.0039: Get customer v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.CAC.0001: Get Customer

S.CAC.0041: Get customer detail v2

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.CAC.0014: Get Customer Detail

S.EAA.0047: Get Energy Accounts v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAA.0001: Get Energy Accounts - no pagination
2Execute TestT.EAA.0002: Get Energy Accounts - with pagination

S.EAA.0049: Get Energy Account Detail v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAA.0015: Get Energy Account Detail

S.EAA.0051: Get Agreed Payment Schedule v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAA.0029: Get Agreed Payment Schedule

S.EAA.0053: Get Concessions v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAA.0043: Get Concessions

S.EAR.0073: 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.0001: ADR call to DH: Get Service Points - no pagination
3Execute TestT.EAR.0002: ADR call to DH: Get Service Points - with pagination

S.EAR.0075: Get Service Point Detail v1

Testing Sequence:

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

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

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.0013: ADR call to DH: Get Usage for Service Points - unsupported version without x-min-v included
2Execute TestT.EAR.0014: ADR call to DH: Get Usage for Service Points - invalid page parameters
3Execute TestT.EAR.0017: ADR call to DH: Get Usage for Service Points - invalid Service Point ID
4Execute TestT.EAR.0018: ADR call to DH: Get Usage for Service Points - unavailable Service Point ID
5Execute TestT.EAR.0019: ADR call to DH: Get Usage for Service Points - invalid format oldest date
6Execute TestT.EAR.0020: ADR call to DH: Get Usage for Service Points - invalid format newest date
7Execute TestT.EAR.0021: ADR call to DH: Get Usage For Service Point - invalid FAPI Interaction ID format
8Execute TestT.EAR.0085: ADR call to DH: Get Usage For Service Point - missing FAPI Auth Date
9Execute TestT.EAR.0086: ADR call to DH: Get Usage For Service Point - invalid FAPI Auth Date
10Execute TestT.EAR.0087: ADR call to DH: Get Usage For Service Point - missing FAPI Customer IP Address
11Execute TestT.EAR.0088: ADR call to DH: Get Usage For Service Point - invalid FAPI Customer IP Address
12Execute TestT.EAR.0089: ADR call to DH: Get Usage For Service Point - missing CDS Client Header
13Execute TestT.EAR.0090: ADR call to DH: Get Usage For Service Point - invalid CDS Client Header
14Execute TestT.EAR.0113: ADR call to DH: Get Usage For Service Point - invalid version value
15Execute TestT.EAR.0114: ADR call to DH: Get Usage For Service Point - invalid version format
16Execute TestT.EAR.0127: ADR call to DH: Get Usage For Service Point - unsupported version when x-min-v is included
17Execute TestT.EAR.0135: ADR call to DH: Get Usage for Service Point - invalid minimum version format

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

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.0024: ADR call to DH: Get Usage for Specific Service Points - unsupported version without x-min-v included
2Execute TestT.EAR.0025: ADR call to DH: Get Usage for Specific Service Points - invalid page parameters
3Execute TestT.EAR.0028: ADR call to DH: Get Usage for Specific Service Points - invalid format oldest date
4Execute TestT.EAR.0029: ADR call to DH: Get Usage for Specific Service Points - invalid format newest date
5Execute TestT.EAR.0030: ADR call to DH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
6Execute TestT.EAR.0031: ADR call to DH: Get Usage for Specific Service Points - invalid body values
7Execute TestT.EAR.0032: ADR call to DH: Get Usage for Specific Service Points - invalid body format
8Execute TestT.EAR.0091: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Auth Date
9Execute TestT.EAR.0092: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Auth Date
10Execute TestT.EAR.0093: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Customer IP Address
11Execute TestT.EAR.0094: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Customer IP Address
12Execute TestT.EAR.0095: ADR call to DH: Get Usage for Specific Service Points - missing CDS Client Header
13Execute TestT.EAR.0096: ADR call to DH: Get Usage for Specific Service Points - invalid CDS Client Header
14Execute TestT.EAR.0117: ADR call to DH: Get Usage for Specific Service Points - invalid version value
15Execute TestT.EAR.0118: ADR call to DH: Get Usage for Specific Service Points - invalid version format
16Execute TestT.EAR.0129: ADR call to DH: Get Usage for Specific Service Points - unsupported version when x-min-v is included
17Execute TestT.EAR.0137: ADR call to DH: Get Usage For Specific Service Points - invalid minimum version format

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

Testing Sequence:

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

S.EAR.0085: Get Bulk DER v1

Testing Sequence:

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

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

Testing Sequence:

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

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

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAR.0040: ADR call to DH: Get DER for Specific Service Points - unsupported version without x-min-v included
2Execute TestT.EAR.0041: ADR call to DH: Get DER for Specific Service Points - invalid page parameters
3Execute TestT.EAR.0042: ADR call to DH: Get DER for Specific Service Points - invalid body values
4Execute TestT.EAR.0043: ADR call to DH: Get DER for Specific Service Points - invalid body format
5Execute TestT.EAR.0044: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Interaction ID format
6Execute TestT.EAR.0103: ADR call to DH: Get DER For Specific Service Points - missing FAPI Auth Date
7Execute TestT.EAR.0104: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Auth Date
8Execute TestT.EAR.0105: ADR call to DH: Get DER For Specific Service Points - missing FAPI Customer IP Address
9Execute TestT.EAR.0106: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Customer IP Address
10Execute TestT.EAR.0107: ADR call to DH: Get DER For Specific Service Points - missing CDS Client Header
11Execute TestT.EAR.0108: ADR call to DH: Get DER For Specific Service Points - invalid CDS Client Header
12Execute TestT.EAR.0123: ADR call to DH: Get DER For Specific Service Points - invalid version value
13Execute TestT.EAR.0124: ADR call to DH: Get DER For Specific Service Points - invalid version format
14Execute TestT.EAR.0132: ADR call to DH: Get DER For Specific Service Points - unsupported version when x-min-v is included
15Execute TestT.EAR.0140: ADR call to DH: Get DER For Specific Service Points - invalid minimum version format

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

Testing Sequence:

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

S.EAS.0096: Get Usage For Specific Service Points Negative SR v1

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAS.0021: DH call to SDH: Get Usage for Specific Service Points - unsupported version without x-min-v included
2Execute TestT.EAS.0022: DH call to SDH: Get Usage for Specific Service Points - invalid page parameters
3Execute TestT.EAS.0025: DH call to SDH: Get Usage for Specific Service Points - invalid format oldest date
4Execute TestT.EAS.0026: DH call to SDH: Get Usage for Specific Service Points - invalid format newest date
5Execute TestT.EAS.0037: DH call to SDH: Get Usage for Specific Service Points - invalid body values
6Execute TestT.EAS.0038: DH call to SDH: Get Usage for Specific Service Points - invalid body format
7Execute TestT.EAS.0042: DH call to SDH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
8Execute TestT.EAS.0051: DH call to SDH: Get Usage For Specific Service Points - no arragement id
9Execute TestT.EAS.0052: DH call to SDH: Get Usage For Specific Service Points - arrangement ID invalid
10Execute TestT.EAS.0063: DH call to SDH: Get Usage For Specific Service Points - invalid version value
11Execute TestT.EAS.0064: DH call to SDH: Get Usage For Specific Service Points - invalid version format
12Execute TestT.EAS.0072: DH call to SDH: Get Usage for Specific Service Points - unsupported version when x-min-v is included
13Execute TestT.EAS.0081: DH call to SDH: Get Usage For Specific Service Points - invalid minimum version format

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

Testing Sequence:

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

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

Testing Sequence:

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

Test Cases

T.CAA.0001: Get Status with a valid version

Positive test case

Obtain a health check status for the implementation

Purpose:

Test API with a valid version

References:

Execution Pre-conditions:

  • Value <x-v> is set to a version supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/status

End State Assertions:

T.CAA.0002: Get Status - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/status

End State Assertions:

T.CAA.0003: Get Status - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/status

End State Assertions:

T.CAA.0004: Get Status - unsupported version without included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/status

End State Assertions:

T.CAA.0005: Get Status - unsupported version when is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/status

End State Assertions:

T.CAA.0006: Get Status - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/status

End State Assertions:

T.CAA.0007: Get Outages with a valid version

Positive test case

Obtain a list of scheduled outages for the implementation

Purpose:

Test API with a valid version

References:

Execution Pre-conditions:

  • Value <x-v> is set to a version supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/outages

End State Assertions:

T.CAA.0008: Get Outages - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/outages

End State Assertions:

T.CAA.0009: Get Outages - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/outages

End State Assertions:

T.CAA.0010: Get Outages - unsupported version without included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/outages

End State Assertions:

T.CAA.0011: Get Outages - unsupported version when is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/outages

End State Assertions:

T.CAA.0012: Get Outages - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /discovery/outages

End State Assertions:

T.CAC.0001: Get Customer

Positive test case

Obtain basic information on the customer that has authorised the current session

Purpose:

Test API with valid version

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0002: Get Customer - invalid version value

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0003: Get Customer - invalid version format

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0004: Get Customer - unsupported version without x-min-v included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0005: Get Customer - unsupported version when x-min-v is included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0006: Get Customer - invalid minimum version value

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid minimum version value

References:

Execution Pre-conditions:

  • The <x-min-v> is a not a positive integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0007: Get Customer - invalid FAPI Interaction ID format

Negative test case

Ensure the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0008: Get Customer - missing FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0009: Get Customer - invalid FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0010: Get Customer - missing FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0011: Get Customer - invalid FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0012: Get Customer - missing CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0013: Get Customer - invalid CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer

End State Assertions:

T.CAC.0014: Get Customer Detail

Positive test case

Obtain detailed information on the authorised customer within the current session

Purpose:

Test API with valid version

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0015: Get Customer Detail - invalid version value

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0016: Get Customer Detail - invalid version format

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0017: Get Customer Detail - unsupported version without x-min-v included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0018: Get Customer Detail - unsupported version when x-min-v is included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0019: Get Customer Detail - invalid minimum version value

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid minimum version value

References:

Execution Pre-conditions:

  • The <x-min-v> is a not a positive integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0020: Get Customer Detail - invalid FAPI Interaction ID format

Negative test case

Ensure the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0021: Get Customer Detail - missing FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0022: Get Customer Detail - invalid FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0023: Get Customer Detail - missing FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0024: Get Customer Detail - invalid FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0025: Get Customer Detail - missing CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.CAC.0026: Get Customer Detail - invalid CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /common/customer/detail

End State Assertions:

T.EAA.0001: Get Energy Accounts - no pagination

Positive test case

Obtain the list of energy accounts available under the authorised consent

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0002: Get Energy Accounts - with pagination

Positive test case

Obtain the list of energy accounts available under the authorised con

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0003: Get Energy Accounts - invalid page parameters

Negative test case

Ensure the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0004: Get Energy Accounts - unsupported version without x-min-v included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0005: Get Energy Accounts - invalid version value

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0006: Get Energy Accounts - invalid version format

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0007: Get Energy Accounts - unsupported version when x-min-v is included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0008: Get Energy Accounts - invalid FAPI Interaction ID format

Negative test case

Ensure the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0009: Get Energy Accounts - missing FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0010: Get Energy Accounts - invalid FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0011: Get Energy Accounts - missing FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0012: Get Energy Accounts - invalid FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0013: Get Energy Accounts - missing CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0014: Get Energy Accounts - invalid CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0015: Get Energy Account Detail

Positive test case

Obtain detailed information for a specific energy account

Purpose:

Test API with valid account and version

References:

Execution Pre-conditions:

  • The {accountId} is set in the Path
  • AND value <x-v> is set in the request header to a version supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0016: Get Energy Account Detail - invalid account id format

Negative test case

Ensure the endpoint returns accountId compatible errors

Purpose:

Test API with an invalid accountId

References:

Execution Pre-conditions:

  • The {accountId} is set in the Path to a value that is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0017: Get Energy Account Detail - unavailable account id

Negative test case

Ensure the endpoint returns accountId compatible errors

Purpose:

Test API with an unavailable accountId

References:

Execution Pre-conditions:

  • The {accountID} is set in the Path to a value that is unavailable

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0018: Get Energy Account Detail - unsupported version without x-min-v included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0019: Get Energy Account Detail - invalid version value

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0020: Get Energy Account Detail - invalid version format

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0021: Get Energy Account Detail - unsupported version when x-min-v is included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0022: Get Energy Account Detail - invalid FAPI Interaction ID format

Negative test case

Ensure the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0023: Get Energy Account Detail - missing FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0024: Get Energy Account Detail - invalid FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0025: Get Energy Account Detail - missing FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0026: Get Energy Account Detail - invalid FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0027: Get Energy Account Detail - missing CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0028: Get Energy Account Detail - invalid CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0029: Get Agreed Payment Schedule

Positive test case

Obtain the agreed payment schedule and details, if any, for a specific energy account

Purpose:

Test API with valid account and version

References:

Execution Pre-conditions:

  • The {accountId} is set in the Path
  • AND value <x-v> is set in the request header to a version supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0030: Get Agreed Payment Schedule - invalid account id format

Negative test case

Ensure the endpoint returns accountId compatible errors

Purpose:

Test API with an invalid accountId

References:

Execution Pre-conditions:

  • The {accountId} is set in the Path to a value that is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0031: Get Agreed Payment Schedule - unavailable account id

Negative test case

Ensure the endpoint returns accountId compatible errors

Purpose:

Test API with an unavailable accountId

References:

Execution Pre-conditions:

  • The {accountID} is set in the Path to a value that is unavailable

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0032: Get Agreed Payment Schedule - unsupported version without x-min-v included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0033: Get Agreed Payment Schedule - invalid version value

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0034: Get Agreed Payment Schedule - invalid version format

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0035: Get Agreed Payment Schedule - unsupported version when x-min-v is included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0036: Get Agreed Payment Schedule - invalid FAPI Interaction ID format

Negative test case

Ensure the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0037: Get Agreed Payment Schedule - missing FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0038: Get Agreed Payment Schedule - invalid FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0039: Get Agreed Payment Schedule - missing FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0040: Get Agreed Payment Schedule - invalid FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0041: Get Agreed Payment Schedule - missing CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0042: Get Agreed Payment Schedule - invalid CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0043: Get Concessions

Positive test case

Obtain the details of any concessions or arrangements applied to a specific energy account

Purpose:

Test API with valid account and version

References:

Execution Pre-conditions:

  • The {accountId} is set in the Path
  • AND value <x-v> is set in the request header to a version supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0044: Get Concessions - invalid account id format

Negative test case

Ensure the endpoint returns accountId compatible errors

Purpose:

Test API with an invalid accountId

References:

Execution Pre-conditions:

  • The {accountId} is set in the Path to a value that is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0045: Get Concessions - unavailable account id

Negative test case

Ensure the endpoint returns accountId compatible errors

Purpose:

Test API with an unavailable accountId

References:

Execution Pre-conditions:

  • The {accountID} is set in the Path to a value that is unavailable

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0046: Get Concessions - unsupported version without x-min-v included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0047: Get Concessions - invalid version value

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0048: Get Concessions - invalid version format

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0049: Get Concessions - unsupported version when x-min-v is included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0050: Get Concessions - invalid FAPI Interaction ID format

Negative test case

Ensure the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0051: Get Concessions - missing FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0052: Get Concessions - invalid FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0053: Get Concessions - missing FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0054: Get Concessions - invalid FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0055: Get Concessions - missing CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0056: Get Concessions - invalid CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAA.0057: Get Energy Accounts - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts

End State Assertions:

T.EAA.0058: Get Energy Account Detail - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}

End State Assertions:

T.EAA.0059: Get Agreed Payment Schedule - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/payment-schedule

End State Assertions:

T.EAA.0060: Get Concessions - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/concessions

End State Assertions:

T.EAB.0002: Get Balance for Energy Account - invalid account id format

Negative test case

Ensure the endpoint returns accountId compatible errors

Purpose:

Test API with an invalid accountId

References:

Execution Pre-conditions:

  • The {accountId} is set in the Path to a value that is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0003: Get Balance for Energy Account - unavailable account id

Negative test case

Ensure the endpoint returns accountId compatible errors

Purpose:

Test API with an unavailable accountId

References:

Execution Pre-conditions:

  • The {accountID} is set in the Path to a value that is unavailable

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0004: Get Balance for Energy Account - unsupported version without x-min-v included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0005: Get Balance for Energy Account - invalid version value

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0006: Get Balance for Energy Account - invalid version format

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0007: Get Balance for Energy Account - unsupported version when x-min-v is included

Negative test case

Ensure the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0008: Get Energy Account Detail - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0009: Get Balance for Energy Account - invalid FAPI Interaction ID format

Negative test case

Ensure the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0010: Get Balance for Energy Account - missing FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0011: Get Balance for Energy Account - invalid FAPI Auth Date

Negative test case

Ensure the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0012: Get Balance for Energy Account - missing FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0013: Get Balance for Energy Account - invalid FAPI Customer IP Address

Negative test case

Ensure the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0014: Get Balance for Energy Account - missing CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0015: Get Balance for Energy Account - invalid CDS Client Header

Negative test case

Ensure the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/{accountId}/balance

End State Assertions:

T.EAB.0016: with pagination

Positive test case

Purpose:

References:

Execution Pre-conditions:

No pre-conditions for this test case

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/balances

End State Assertions:

No end state ssertions defined for this test case

T.EAB.0017: without pagination

Positive test case

Purpose:

References:

Execution Pre-conditions:

No pre-conditions for this test case

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/accounts/balances

End State Assertions:

No end state ssertions defined for this test case

T.EAR.0001: ADR call to DH: Get Service Points - no pagination

Positive test case

Obtain a list of service points owned by the consumer that has authorised the current session

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0002: ADR call to DH: Get Service Points - with pagination

Positive test case

Obtain a paginated list of service points owned by the consumer that has authorised the current session

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0003: ADR call to DH: Get Service Points - unsupported version without x-min-v included

Negative test case

DH call to SDH: Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0004: ADR call to DH: Get Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0005: ADR call to DH: Get Service Points - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0006: ADR call to DH: Get Service Point Detail

Positive test case

Obtain the details of a service point owned by the consumer that has authorised the current session

Purpose:

Test API with a vaild service point and version

References:

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.0007: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the value for <x-v> is in a valid format

Execution Steps:

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

End State Assertions:

T.EAR.0008: ADR call to DH: Get Service Point Detail - invalid format of Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path to a value that is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0009: ADR call to DH: Get Service Point Detail - unavailable Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path to a value that is unavailable

Execution Steps:

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

End State Assertions:

T.EAR.0010: ADR call to DH: Get Service Point Detail - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0011: ADR call to DH: Get Usage for Service Point Detail - no pagination

Positive test case

Obtain a list of electricity usage data from a particular service point owned by the consumer that has authorised the current session

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0012: ADR call to DH: Get Usage for Service Points - with pagination

Positive test case

Obtain a paginated list of electricity usage data from a particular service point owned by the consumer that has authorised the current session

Purpose:

Test API with pagination partameters

References:

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.0013: ADR call to DH: Get Usage for Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

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

End State Assertions:

T.EAR.0014: ADR call to DH: Get Usage for Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0015: ADR call to DH: Get Usage for Service Points - oldest date

Positive test case

Obtain a list of electricity usage data constrained by oldest date from a particular service point owned by the consumer that has authorised the current session

Purpose:

Test API with <oldest date> parameter

References:

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.0016: ADR call to DH: Get Usage for Service Points - newest date

Positive test case

Obtain a list of service points owned by the consumer that has authorised the current session

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

  • <newest-date> query parameter is provided
  • AND <newest-date> is a valid DateTime string

Execution Steps:

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

End State Assertions:

T.EAR.0017: ADR call to DH: Get Usage for Service Points - invalid Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path to a value that is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0018: ADR call to DH: Get Usage for Service Points - unavailable Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path to a value that is unavailable

Execution Steps:

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

End State Assertions:

T.EAR.0019: ADR call to DH: Get Usage for Service Points - invalid format oldest date

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with <oldest date> parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0020: ADR call to DH: Get Usage for Service Points - invalid format newest date

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0021: ADR call to DH: Get Usage For Service Point - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0022: ADR call to DH: Get Usage for Specific Service Points - no pagination

Positive test case

Obtain the electricity usage data for a specific set of service points owned by the consumer that has authorised the current session

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0023: ADR call to DH: Get Usage for Specific Service Points - with pagination

Positive test case

Obtain the electricity usage data for a specific set of service points owned by the consumer that has authorised the current session

Purpose:

Test API with pagination partameters

References:

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.0024: ADR call to DH: Get Usage for Specific Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

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

End State Assertions:

T.EAR.0025: ADR call to DH: Get Usage for Specific Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0026: ADR call to DH: Get Usage for Specific Service Points - oldest date

Positive test case

Obtain the electricity usage data for a specific set of service points owned by the consumer that has authorised the current session

Purpose:

Test API with oldest date parameter

References:

Execution Pre-conditions:

  • <oldest-date> query parameters is provided

Execution Steps:

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

End State Assertions:

T.EAR.0027: ADR call to DH: Get Usage for Specific Service Points - newest date

Positive test case

Obtain the electricity usage data for a specific set of service points owned by the consumer that has authorised the current session

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

  • <newest-date> query parameter is provided

Execution Steps:

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

End State Assertions:

T.EAR.0028: ADR call to DH: Get Usage for Specific Service Points - invalid format oldest date

Negative test case

Ensure the endpoint returns oldest-date compatible errors

Purpose:

Test API with oldest date parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0029: ADR call to DH: Get Usage for Specific Service Points - invalid format newest date

Negative test case

Ensure the endpoint returns newest-date compatible errors

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0030: ADR call to DH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0031: ADR call to DH: Get Usage for Specific Service Points - invalid body values

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with invalid body values

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0032: ADR call to DH: Get Usage for Specific Service Points - invalid body format

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with a malformed body

References:

Execution Pre-conditions:

  • The body is incorrectly formatted

Execution Steps:

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

End State Assertions:

T.EAR.0033: ADR call to DH: Get DER for Service Point

Positive test case

Obtain a list of DER data from a particular service point owned by the consumer that has authorised the current session

Purpose:

Test API with a vaild service point and version

References:

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.0034: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the value for <x-v> is in a valid format

Execution Steps:

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

End State Assertions:

T.EAR.0035: ADR call to DH: Get Service Point Detail - invalid format of Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

  • The <{servicePointId}> is set in the Path to a value that is

Execution Steps:

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

End State Assertions:

T.EAR.0036: ADR call to DH: Get Service Point Detail - unavailable Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path to a value that is unavailable

Execution Steps:

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

End State Assertions:

T.EAR.0037: ADR call to DH: Get DER for Service Point - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0038: ADR call to DH: Get DER for Specific Service Points - no pagination

Positive test case

Obtain DER data for a specific set of service points owned by the consumer that has authorised the current session

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0039: ADR call to DH: Get DER for Specific Service Points - with pagination

Positive test case

Obtain DER data for a specific set of service points owned by the consumer that has authorised the current session

Purpose:

Test API with pagination partameters

References:

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.0040: ADR call to DH: Get DER for Specific Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the value for <x-v> is in a valid format

Execution Steps:

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

End State Assertions:

T.EAR.0041: ADR call to DH: Get DER for Specific Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0042: ADR call to DH: Get DER for Specific Service Points - invalid body values

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with invalid body values

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0043: ADR call to DH: Get DER for Specific Service Points - invalid body format

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with a malformed body

References:

Execution Pre-conditions:

  • The body is incorrectly formatted

Execution Steps:

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

End State Assertions:

T.EAR.0044: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0045: ADR call to DH: Get Bulk Usage

Positive test case

Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0046: ADR call to DH: Get Bulk Usage - with pagination

Positive test case

Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0047: ADR call to DH: Get Bulk Usage - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

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

End State Assertions:

T.EAR.0048: ADR call to DH: Get Bulk Usage - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0049: ADR call to DH: Get Bulk Usage - oldest date

Positive test case

Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session

Purpose:

Test API with oldest date parameter

References:

Execution Pre-conditions:

  • <oldest-date> query parameters is provided

Execution Steps:

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

End State Assertions:

T.EAR.0050: ADR call to DH: Get Bulk Usage - newest date

Positive test case

Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

  • <newest-date> query parameter is provided

Execution Steps:

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

End State Assertions:

T.EAR.0051: ADR call to DH: Get Bulk Usage - invalid format oldest date

Negative test case

Ensure the endpoint returns oldest-date compatible errors

Purpose:

Test API with an invalid oldest date parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0052: ADR call to DH: Get Bulk Usage - invalid format newest date

Negative test case

Ensure the endpoint returns newest-date compatible errors

Purpose:

Test API with an invalid newest date parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0053: ADR call to DH: Get Bulk Usage - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0054: ADR call to DH: Get Bulk Usage - missing FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0055: ADR call to DH: Get Bulk Usage - invalid FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0056: ADR call to DH: Get Bulk Usage - missing FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0057: ADR call to DH: Get Bulk Usage - invalid FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0058: ADR call to DH: Get Bulk Usage - missing CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0059: ADR call to DH: Get Bulk Usage - invalid CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0060: ADR call to DH: Get Bulk DER

Positive test case

Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0061: ADR call to DH: Get Bulk DER - with pagination

Positive test case

Obtain the electricity usage data for all service points owned by the consumer that has authorised the current session

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0062: ADR call to DH: Get Bulk DER - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH

Execution Steps:

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

End State Assertions:

T.EAR.0063: ADR call to DH: Get Bulk DER - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0064: ADR call to DH: Get Bulk DER - missing FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0065: ADR call to DH: DHGet Bulk DER - invalid FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0066: ADR call to DH: Get Bulk DER - missing FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0067: ADR call to DH: DH: Get Bulk DER - invalid FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0068: ADR call to DH: Get Bulk DER - missing CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0069: ADR call to DH: Get Bulk DER - invalid CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0070: ADR call to DH: Get Bulk DER - invalid FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0071: ADR call to DH: Get Bulk DER - missing FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0072: ADR call to DH: Get Bulk DER - invalid FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0073: ADR call to DH: Get Service Points - missing FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0074: ADR call to DH: Get Service Points - invalid FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0075: ADR call to DH: Get Service Points - missing FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0076: ADR call to DH: Get Service Points - invalid FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0077: ADR call to DH: Get Service Points - missing CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0078: ADR call to DH: Get Service Points - invalid CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0079: ADR call to DH: Get Service Point - missing FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0080: ADR call to DH: Get Service Point - invalid FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0081: ADR call to DH: Get Service Point - missing FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0082: ADR call to DH: Get Service Point - invalid FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0083: ADR call to DH: Get Service Point - missing CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0084: ADR call to DH: Get Service Point - invalid CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0085: ADR call to DH: Get Usage For Service Point - missing FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0086: ADR call to DH: Get Usage For Service Point - invalid FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0087: ADR call to DH: Get Usage For Service Point - missing FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0088: ADR call to DH: Get Usage For Service Point - invalid FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0089: ADR call to DH: Get Usage For Service Point - missing CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0090: ADR call to DH: Get Usage For Service Point - invalid CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0091: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0092: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0093: ADR call to DH: Get Usage for Specific Service Points - missing FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0094: ADR call to DH: Get Usage for Specific Service Points - invalid FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0095: ADR call to DH: Get Usage for Specific Service Points - missing CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0096: ADR call to DH: Get Usage for Specific Service Points - invalid CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0097: ADR call to DH: Get DER for Service Point - missing FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0098: ADR call to DH: Get DER for Service Point - invalid FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0099: ADR call to DH: Get DER for Service Point - missing FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0100: ADR call to DH: Get DER for Service Point - invalid FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0101: ADR call to DH: Get DER for Service Point - missing CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0102: ADR call to DH: Get DER for Service Point - invalid CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0103: ADR call to DH: Get DER For Specific Service Points - missing FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0104: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Auth Date

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-auth-date> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0105: ADR call to DH: Get DER For Specific Service Points - missing FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is missing from the header

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0106: ADR call to DH: Get DER For Specific Service Points - invalid FAPI Customer IP Address

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

Test API when FAPI Customer IP Address is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-fapi-customer-ip-address> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0107: ADR call to DH: Get DER For Specific Service Points - missing CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

  • The <x-cds-client-header> is not present in the header

Execution Steps:

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

End State Assertions:

T.EAR.0108: ADR call to DH: Get DER For Specific Service Points - invalid CDS Client Header

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is present but the format is invalid

References:

Execution Pre-conditions:

  • The <x-cds-client-header> format is invalid

Execution Steps:

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

End State Assertions:

T.EAR.0109: ADR call to DH: Get Service Points - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0110: ADR call to DH: Get Service Points - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0111: ADR call to DH: Get Service Point - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0112: ADR call to DH: Get Service Point - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAR.0113: ADR call to DH: Get Usage For Service Point - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0114: ADR call to DH: Get Usage For Service Point - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAR.0115: ADR call to DH: Get Bulk Usage - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0116: ADR call to DH: Get Bulk Usage - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAR.0117: ADR call to DH: Get Usage for Specific Service Points - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0118: ADR call to DH: Get Usage for Specific Service Points - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAR.0119: ADR call to DH: Get DER for Service Point - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0120: ADR call to DH: Get DER for Service Point - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAR.0121: ADR call to DH: Get Bulk DER - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0122: ADR call to DH: Get Bulk DER - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAR.0123: ADR call to DH: Get DER For Specific Service Points - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.0124: ADR call to DH: Get DER For Specific Service Points - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAR.0125: ADR call to DH: Get Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0126: ADR call to DH: Get Service Point - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAR.0127: ADR call to DH: Get Usage For Service Point - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAR.0128: ADR call to DH: Get Bulk Usage - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAR.0129: ADR call to DH: Get Usage for Specific Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAR.0130: ADR call to DH: Get DER for Service Point - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAR.0131: ADR call to DH: Get Bulk DER - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAR.0132: ADR call to DH: Get DER For Specific Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAR.0133: ADR call to DH: Get Service Points - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

Action No.Action TypeDetail
1ActionGET /energy/electricity/servicepoints

End State Assertions:

T.EAR.0134: ADR call to DH: Get Service Point Detail - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAR.0135: ADR call to DH: Get Usage for Service Point - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAR.0136: ADR call to DH: Get Bulk Usage - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAR.0137: ADR call to DH: Get Usage For Specific Service Points - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAR.0138: ADR call to DH: Get DER For Service Point - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAR.0139: ADR call to DH: Get Bulk DER - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAR.0140: ADR call to DH: Get DER For Specific Service Points - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAS.0001: DH call to SDH: Get Service Points - no pagination

Positive test case

Obtain a list of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0002: DH call to SDH: Get Service Points - with pagination

Positive test case

Obtain a paginated list of service points requested by the DH

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0003: DH call to SDH: Get Service Points - unsupported version without x-min-v included

Negative test case

DH call to SDH: Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version
  • AND the value for <x-v> is in a valid format not supported by the DH

Execution Steps:

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

End State Assertions:

T.EAS.0004: DH call to SDH: Get Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0005: DH call to SDH: Get Service Point Detail

Positive test case

Obtain the details of a service point requested by the DH

Purpose:

Test API with a vaild service point and version

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path
  • AND value <x-v> is set in the request header to a version supported by the DH

Execution Steps:

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

End State Assertions:

T.EAS.0006: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH
  • AND the value for <x-v> is in a valid format

Execution Steps:

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

End State Assertions:

T.EAS.0007: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

  • The <{servicePointId}> is set in the Path to a value that is invalid

Execution Steps:

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

End State Assertions:

T.EAS.0008: DH call to SDH: Get Service Point Detail - unavailable Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path to a value that is unavailable

Execution Steps:

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

End State Assertions:

T.EAS.0009: DH call to SDH: Get Usage for Service Point Detail - no pagination

Positive test case

Obtain a list of electricity usage data from a particular service point requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0010: DH call to SDH: Get Usage for Service Points - with pagination

Positive test case

Obtain a paginated list of electricity usage data from a particular service requested by the DH

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0011: DH call to SDH: Get Usage for Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • The value <x-v> is set in the request header to a version not supported by the DH
  • AND the value for <x-v> is in a valid format

Execution Steps:

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

End State Assertions:

T.EAS.0012: DH call to SDH: Get Usage for Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0013: DH call to SDH: Get Usage for Service Points - oldest date

Positive test case

Obtain a list of electricity usage data constrained by oldest date from a particular service point requested by the DH

Purpose:

Test API with <oldest date> parameter

References:

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.0014: DH call to SDH: Get Usage for Service Points - newest date

Positive test case

Obtain a list of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

  • <newest-date> query parameter is provided
  • AND <newest-date> is a valid DateTime string

Execution Steps:

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

End State Assertions:

T.EAS.0015: DH call to SDH: Get Usage for Service Points - invalid Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path to a value that is invalid

Execution Steps:

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

End State Assertions:

T.EAS.0016: DH call to SDH: Get Usage for Service Points - unavailable Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path to a value that is unavailable

Execution Steps:

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

End State Assertions:

T.EAS.0017: DH call to SDH: Get Usage for Service Points - invalid format oldest date

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with <oldest date> parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0018: DH call to SDH: Get Usage for Service Points - invalid format newest date

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0019: DH call to SDH: Get Usage for Specific Service Points - no pagination

Positive test case

Obtain the electricity usage data for a specific set of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

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.0020: DH call to SDH: Get Usage for Specific Service Points - with pagination

Positive test case

Obtain the electricity usage data for a specific set of service points requested by the DH

Purpose:

Test API with pagination partameters

References:

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.0021: DH call to SDH: Get Usage for Specific Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

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.0022: DH call to SDH: Get Usage for Specific Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

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.0023: DH call to SDH: Get Usage for Specific Service Points - oldest date

Negative test case

Obtain the electricity usage data for a specific set of service points requested by the DH

Purpose:

Test API with oldest date parameter

References:

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.0024: DH call to SDH: Get Usage for Specific Service Points - newest date

Positive test case

Obtain the electricity usage data for a specific set of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

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.0025: DH call to SDH: Get Usage for Specific Service Points - invalid format oldest date

Negative test case

Ensure the endpoint returns oldest-date compatible errors

Purpose:

Test API with oldest date parameter

References:

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.0026: DH call to SDH: Get Usage for Specific Service Points - invalid format newest date

Negative test case

Ensure the endpoint returns newest-date compatible errors

Purpose:

Test API without any pagination partameters

References:

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.0027: DH call to SDH: Get DER for Service Point

Positive test case

Obtain a list of DER data from a particular service point requested by the DH

Purpose:

Test API with a vaild service point and version

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path
  • AND value <x-v> is set in the request header to a version supported by the DH

Execution Steps:

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

End State Assertions:

T.EAS.0028: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the value for <x-v> is in a valid format

Execution Steps:

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

End State Assertions:

T.EAS.0029: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

  • The <{servicePointId}> is set in the Path to a value that is

Execution Steps:

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

End State Assertions:

T.EAS.0030: DH call to SDH: Get Service Point Detail - unavailable Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} is set in the Path to a value that is unavailable

Execution Steps:

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

End State Assertions:

T.EAS.0031: DH call to SDH: Get DER for Specific Service Points - no pagination

Positive test case

Obtain DER data for a specific set of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0032: DH call to SDH: Get DER for Specific Service Points - with pagination

Positive test case

Obtain DER data for a specific set of service points requested by the DH

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0033: DH call to SDH: Get DER for Specific Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the value for <x-v> is in a valid format

Execution Steps:

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

End State Assertions:

T.EAS.0034: DH call to SDH: Get DER for Specific Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0035: DH call to SDH: Get DER for Specific Service Points - invalid body values

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with invalid body values

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0036: DH call to SDH: Get DER for Specific Service Points - invalid body format

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with a malformed body

References:

Execution Pre-conditions:

  • The body is incorrectly formatted

Execution Steps:

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

End State Assertions:

T.EAS.0037: DH call to SDH: Get Usage for Specific Service Points - invalid body values

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with invalid body values

References:

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.0038: DH call to SDH: Get Usage for Specific Service Points - invalid body format

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with a malformed body

References:

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.0039: DH call to SDH: Get Service Points - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0040: DH call to SDH: Get Service Point Detail - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0041: DH call to SDH: Get Usage For Service Point - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0042: DH call to SDH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

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.0043: DH call to SDH: Get DER for Service Point - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0044: DH call to SDH: Get DER For Specific Service Points - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0045: DH call to SDH: Get Service Points - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.0046: DH call to SDH: Get Service Points - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0047: DH call to SDH: Get Service Point Detail - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.0048: DH call to SDH: Get Service Point Detail - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0049: DH call to Get Usage For Service Point - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.0050: DH call to SDH: Get Usage For Service Point - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0051: DH call to SDH: Get Usage For Specific Service Points - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

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.0052: DH call to SDH: Get Usage For Specific Service Points - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

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.0053: DH call to SDH: Get DER for Service Point - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.0054: DH call to SDH: Get DER for Service Point - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0055: DH call to Get DER For Specific Service Points - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.0056: DH call to SDH: Get DER For Specific Service Points - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0057: DH call to SDH: Get Service Points - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0058: DH call to SDH: Get Service Points - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.0059: DH call to SDH: Get Service Point Detail - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0060: DH call to SDH: Get Service Point Detail - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.0061: DH call to SDH: Get Usage For Service Point - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0062: DH call to SDH: Get Usage For Service Point - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.0063: DH call to SDH: Get Usage For Specific Service Points - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

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.0064: DH call to SDH: Get Usage For Specific Service Points - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

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.0065: DH call to SDH: Get DER for Service Point - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0066: DH call to SDH: Get DER for Service Point - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.0067: DH call to SDH: Get DER For Specific Service Points - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.0068: DH call to SDH: Get DER For Specific Service Points - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.0069: DH call to SDH: Get Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAS.0070: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAS.0071: DH call to SDH: Get Usage for Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAS.0072: DH call to SDH: Get Usage for Specific Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

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.0073: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAS.0074: DH call to SDH: Get DER for Specific Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with a version that is not supported by the DH

References:

Execution Pre-conditions:

  • the value <x-v> is set in the request header to a version not supported by the DH
  • AND the <x-min-v> is included

Execution Steps:

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

End State Assertions:

T.EAS.0075: DH call to SDH: Get Service Points - missing servicePointId in body

Positive test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with a missing servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} in the body is missing

Execution Steps:

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

End State Assertions:

T.EAS.0076: DH call to SDH: Get Service Points - invalid servicePointId in body

Positive test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} in the body is invalid

Execution Steps:

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

End State Assertions:

T.EAS.0077: DH call to SDH: Get Service Points - unavailable servicePointId in body

Positive test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} in the body is unavailable

Execution Steps:

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

End State Assertions:

T.EAS.0078: DH call to SDH: Get Service Points - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAS.0079: DH call to SDH: Get Service Point Detail - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAS.0080: DH call to SDH: Get Usage for Service Point - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAS.0081: DH call to SDH: Get Usage For Specific Service Points - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAS.0082: DH call to SDH: Get DER For Service Point - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

T.EAS.0083: DH call to SDH: Get DER For Specific Service Points - invalid minimum version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test invalid format for minimum version

References:

Execution Pre-conditions:

  • <x-min-v> is included
  • AND <x-min-v> is not an integer

Execution Steps:

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

End State Assertions:

No test cases defined

Assertions

A.CAA.0001: Validate schema - GetStatus

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Givena request is made to obtain a health check status for the implementation
Whena response is returned
Then
the response has a status of 200
AND the response body complies with the ResponseCommonDiscoveryStatus schema

A.CAA.0002: Validate schema - GetOutage

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Givena request is made to obtain a list of scheduled outages
Whena response is returned
Then
the response has a status of 200
AND the response body complies with the ResponseDiscoveryOutageList schema

A.CAC.0001: Validate schema - ResponseCommonCustomer

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request to call the API is formatted correctly
Whena response is returned
Then
the response has a status of 200
AND the response body complies with the ResponseCommonCustomer schema

A.CAC.0002: Validate schema - ResponseCommonCustomerDetailV2

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request to call the API is formatted correctly
Whena response is returned
Then
the response has a status of 200
AND the response body complies with the ResponseCommonCustomerDetailV2 schema

A.EAA.0001: Validate schema - EnergyAccountListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe request to call the API is formatted correctly by the ADR
Whena response is returned
Then
the response has a status of 200
AND the response body complies with the EnergyAccountListResponse schema

A.EAA.0002: Validate account and schema - EnergyAccountDetailResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {accountID} is included
AND the {accountId} value is valid
Whena response is returned
Then
the response has a status of 200
AND the response body complies with the EnergyAccountDetailResponse schema

A.EAA.0003: Validate account identifier - invalid value

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAA.0004: Validate account identifier - unavailable account

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAA.0005: validate account and schema - EnergyPaymentScheduleResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {accountID} is included
AND the {accountId} value is valid
Whena response is returned
Then
the response has a status of 200
AND the response body complies with the EnergyPaymentScheduleResponse schema

A.EAA.0006: validate account and schema -EnergyConcessionsResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe {accountID} is included
AND the {accountId} value is valid
Whena response is returned
Then
the response has a status of 200
AND the response body complies with the EnergyConcessionsResponse schema

A.EAR.0001: 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
the response has a status of 200
AND the response body complies with the EnergyServicePointDetailResponse schema

A.EAR.0002: 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
the response has a status of 404
AND the response body has ErrorListReponse object
AND error code is "Authorisation/InvalidServicePoint"

A.EAR.0003: 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
the response has a status of 404
AND the response body has ErrorListReponse object
AND error code is "Authorisation/UnavailableServicePoint"

A.EAR.0004: Validate schema - EnergyServicePointListReponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAR.0005: 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
the response has a status code of 200
AND the response body complies with the EnergyUsageListResponse schema

A.EAR.0006: 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
the response has a status code 200
AND the response body complies with the EnergyUsageListResponse schema

A.EAR.0007: 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
the response has a status of 200
AND the response body complies with the EnergyDerDetailResponse schema

A.EAR.0008: 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
the response has a status code 200
AND the response body complies with the EnergyDerListResponse schema

A.EAR.0009: 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
the response has a status code 422
AND the response body has ErrorListReponse
AND error code is "Field/Invalid"

A.EAR.0010: Validate schema - EnergyUsageListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAR.0011: Validate schema - EnergyDerListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAS.0001: 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
the response has a status of 200
AND the response body complies with the EnergyServicePointDetailResponse schema

A.EAS.0002: 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
the response has a status of 404
AND the response body has ErrorListReponse object
AND error code is "Authorisation/InvalidServicePoint"

A.EAS.0003: 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
the response has a status of 404
AND the response body has ErrorListReponse object
AND error code is "Authorisation/UnavailableServicePoint"

A.EAS.0004: Validate schema - EnergyServicePointListReponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAS.0005: 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
the response has a status code of 200
AND the response body complies with the EnergyUsageListResponse schema

A.EAS.0006: 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
the response has a status code 200
AND the response body complies with the EnergyUsageListResponse schema

A.EAS.0007: 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
the response has a status of 200
AND the response body complies with the EnergyDerDetailResponse schema

A.EAS.0008: 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
the response has a status code 200
AND the response body complies with the EnergyDerListResponse schema

A.EAS.0009: 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
the response has a status code 400
AND the response body complies with the ErrorListReponse schema
AND error code is "Field/Invalid"

A.EAS.0010: 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
the response has a status code 422
AND the response body complies with the ErrorListReponse schema
AND error code is "Authorisation/InvalidServicePoint"

A.EAS.0011: 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
the response has a status code 422
AND the response body complies with the ErrorListReponse schema
AND error code is "Authorisation/UnavailableServicePoint"

A.ZAA.0001: 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..1000,null]
Whena response is returned
AND the response has a status of 200
Then
the nominated <page number> is returned
AND the "first" link has page=1
AND the "last" link is greater than or equal to 1
AND the "self" link has page=<page number>
AND the "prev" link has page equal to 1 or <page number> - 1
AND the "prev" link has page equal to "last" or <page number> + 1
AND "meta"/"totalPages" is greater than or equal to <page number>
AND "meta"/"totalRecords" is greater than or equal to <page number> * <page size>

A.ZAA.0002: Validate pagination - Invalid page size value

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Field/InvalidPageSize"

A.ZAA.0003: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Field/Invalid"

A.ZAA.0004: 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
the response has a status of 422
AND the response body has ErrorListReponse object
AND the error code is "Field/InvalidPage"

A.ZAA.0005: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Field/Invalid"

A.ZAA.0006: 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
<x-v> is in the response header
AND <x-v> is a positive integer

A.ZAA.0007: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Field/Invalid"

A.ZAA.0008: Validate version - invalid [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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Field/Invalid"

A.ZAA.0009: 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
the response has a status of 406
AND the response body has ErrorListReponse object
AND error code is "Header/UnsupportedVersion"

A.ZAA.0010: 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
the response has a status of 406
AND the response body has ErrorListReponse object
AND error code is "Header/UnsupportedVersion"

A.ZAA.0011: 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
<x-v> is in the response header
AND <x-v> = [<x-min-v>, <x-v>]
AND <x-v> is a positive integer

A.ZAA.0012: Validate minimum version - invalid <x-min-v> format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.ZAA.0013: 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.ZAA.0014: 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.ZAA.0015: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Header/invalid"

A.ZAA.0016: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Header/missing"

A.ZAA.0017: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Header/invalid"

A.ZAA.0018: 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.ZAA.0019: Validate FAPI Customer IP Address - missing from header

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.ZAA.0020: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Header/invalid"

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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.ZAA.0022: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Header/missing"

A.ZAA.0023: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Header/Invalid"

A.ZAA.0024: 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.ZAA.0025: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Header/Missing"

A.ZAA.0026: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Header/Invalid"

A.ZAA.0027: 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.ZAA.0028: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Field/invalid"

A.ZAA.0029: 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.ZAA.0030: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Field/Invalid"

A.ZAA.0031: 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
the response has a status of 400
AND the response body has ErrorListReponse object
AND error code is "Field/Invalid"