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

The CDR Test Documentation

File version: 1.0.3

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

Test Suites

Test Scenarios

S.CAA.035: Get status v1

Testing Sequence:

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

S.CAA.037: Get outages v1

Testing Sequence:

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

S.CAC.039: Get customer v1

Testing Sequence:

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

S.CAC.041: Get customer detail v2

Testing Sequence:

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

S.EAA.047: Get Energy Accounts v1

Testing Sequence:

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

S.EAA.049: Get Energy Account Detail v1

Testing Sequence:

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

S.EAA.051: Get Agreed Payment Schedule v1

Testing Sequence:

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

S.EAA.053: Get Concessions v1

Testing Sequence:

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

S.EAR.073: Get Service Points v1

Purpose:

Test cases which will return a 2xx status code

References:

Testing Sequence:

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

S.EAR.075: Get Service Point Detail v1

Testing Sequence:

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

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

Testing Sequence:

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

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

Testing Sequence:

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

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

Testing Sequence:

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

S.EAR.085: Get Bulk DER v1

Testing Sequence:

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

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

Testing Sequence:

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

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

Testing Sequence:

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

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

Testing Sequence:

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

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

Testing Sequence:

Action No.Action TypeDetail
1Execute TestT.EAS.021: DH call to SDH: Get Usage for Specific Service Points - unsupported version without x-min-v included
2Execute TestT.EAS.022: DH call to SDH: Get Usage for Specific Service Points - invalid page parameters
3Execute TestT.EAS.025: DH call to SDH: Get Usage for Specific Service Points - invalid format oldest date
4Execute TestT.EAS.026: DH call to SDH: Get Usage for Specific Service Points - invalid format newest date
5Execute TestT.EAS.037: DH call to SDH: Get Usage for Specific Service Points - invalid body values
6Execute TestT.EAS.038: DH call to SDH: Get Usage for Specific Service Points - invalid body format
7Execute TestT.EAS.042: DH call to SDH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format
8Execute TestT.EAS.051: DH call to SDH: Get Usage For Specific Service Points - no arragement id
9Execute TestT.EAS.052: DH call to SDH: Get Usage For Specific Service Points - arrangement ID invalid
10Execute TestT.EAS.063: DH call to SDH: Get Usage For Specific Service Points - invalid version value
11Execute TestT.EAS.064: DH call to SDH: Get Usage For Specific Service Points - invalid version format
12Execute TestT.EAS.072: DH call to SDH: Get Usage for Specific Service Points - unsupported version when x-min-v is included
13Execute TestT.EAS.081: DH call to SDH: Get Usage For Specific Service Points - invalid minimum version format

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

Testing Sequence:

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

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

Testing Sequence:

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

Test Cases

T.CAA.001: 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.002: 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.003: 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.004: 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.005: 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.006: 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.007: 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.008: 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.009: 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.010: 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.011: 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.012: 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.001: 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.002: 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.003: 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.004: 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.005: 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.006: 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.007: 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.008: 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.009: 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.010: 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.011: 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.012: 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.013: 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.014: 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.015: 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.016: 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.017: 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.018: 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.019: 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.020: 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.021: 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.022: 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.023: 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.024: 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.025: 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.026: 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.001: 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.002: 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.003: 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.004: 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.005: 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.006: 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.007: 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.008: 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.009: 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.010: 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.011: 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.012: 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.013: 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.014: 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.015: 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.016: 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.017: 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.018: 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.019: 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.020: 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.021: 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.022: 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.023: 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.024: 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.025: 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.026: 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.027: 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.028: 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.029: 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.030: 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.031: 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.032: 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.033: 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.034: 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.035: 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.036: 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.037: 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.038: 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.039: 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.040: 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.041: 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.042: 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.043: 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.044: 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.045: 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.046: 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.047: 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.048: 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.049: 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.050: 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.051: 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.052: 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.053: 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.054: 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.055: 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.056: 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.057: 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.058: 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.059: 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.060: 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.002: 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.003: 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.004: 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.005: 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.006: 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.007: 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.008: 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.009: 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.010: 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.011: 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.012: 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.013: 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.014: 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.015: 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.016: 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.017: 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.001: ADR call to DH: Get Service Points - no pagination

Positive test case

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

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

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

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with a vaild service point and version

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.007: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with <oldest date> parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with <oldest date> parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with oldest date parameter

References:

Execution Pre-conditions:

  • <oldest-date> query parameters is provided

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

  • <newest-date> query parameter is provided

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns oldest-date compatible errors

Purpose:

Test API with oldest date parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns newest-date compatible errors

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with invalid body values

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with a malformed body

References:

Execution Pre-conditions:

  • The body is incorrectly formatted

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with a vaild service point and version

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.034: ADR call to DH: Get Service Point Detail - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.040: ADR call to DH: Get DER for Specific Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with invalid body values

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with a malformed body

References:

Execution Pre-conditions:

  • The body is incorrectly formatted

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with oldest date parameter

References:

Execution Pre-conditions:

  • <oldest-date> query parameters is provided

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

  • <newest-date> query parameter is provided

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns oldest-date compatible errors

Purpose:

Test API with an invalid oldest date parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure the endpoint returns newest-date compatible errors

Purpose:

Test API with an invalid newest date parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Positive test case

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

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

Test API when FAPI Auth date is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Auth date errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns FAPI Customer IP address errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

Test API when CDS Client Header is missing from the header

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns CDS Client Header errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

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

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAR.133: 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.134: 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.135: 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.136: 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.137: 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.138: 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.139: 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.140: 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.001: DH call to SDH: Get Service Points - no pagination

Positive test case

Obtain a list of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.002: DH call to SDH: Get Service Points - with pagination

Positive test case

Obtain a paginated list of service points requested by the DH

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.003: DH call to SDH: Get Service Points - unsupported version without x-min-v included

Negative test case

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

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.004: DH call to SDH: Get Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.005: DH call to SDH: Get Service Point Detail

Positive test case

Obtain the details of a service point requested by the DH

Purpose:

Test API with a vaild service point and version

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.006: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.007: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.008: DH call to SDH: Get Service Point Detail - unavailable Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.009: DH call to SDH: Get Usage for Service Point Detail - no pagination

Positive test case

Obtain a list of electricity usage data from a particular service point requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.010: DH call to SDH: Get Usage for Service Points - with pagination

Positive test case

Obtain a paginated list of electricity usage data from a particular service requested by the DH

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.011: DH call to SDH: Get Usage for Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.012: DH call to SDH: Get Usage for Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.013: DH call to SDH: Get Usage for Service Points - oldest date

Positive test case

Obtain a list of electricity usage data constrained by oldest date from a particular service point requested by the DH

Purpose:

Test API with <oldest date> parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.014: DH call to SDH: Get Usage for Service Points - newest date

Positive test case

Obtain a list of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.015: DH call to SDH: Get Usage for Service Points - invalid Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.016: DH call to SDH: Get Usage for Service Points - unavailable Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.017: DH call to SDH: Get Usage for Service Points - invalid format oldest date

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with <oldest date> parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.018: DH call to SDH: Get Usage for Service Points - invalid format newest date

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.019: DH call to SDH: Get Usage for Specific Service Points - no pagination

Positive test case

Obtain the electricity usage data for a specific set of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.020: DH call to SDH: Get Usage for Specific Service Points - with pagination

Positive test case

Obtain the electricity usage data for a specific set of service points requested by the DH

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.021: DH call to SDH: Get Usage for Specific Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.022: DH call to SDH: Get Usage for Specific Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.023: DH call to SDH: Get Usage for Specific Service Points - oldest date

Negative test case

Obtain the electricity usage data for a specific set of service points requested by the DH

Purpose:

Test API with oldest date parameter

References:

Execution Pre-conditions:

  • <oldest-date> query parameters is provided

Execution Steps:

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

End State Assertions:

T.EAS.024: DH call to SDH: Get Usage for Specific Service Points - newest date

Positive test case

Obtain the electricity usage data for a specific set of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

  • <newest-date> query parameter is provided

Execution Steps:

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

End State Assertions:

T.EAS.025: DH call to SDH: Get Usage for Specific Service Points - invalid format oldest date

Negative test case

Ensure the endpoint returns oldest-date compatible errors

Purpose:

Test API with oldest date parameter

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.026: DH call to SDH: Get Usage for Specific Service Points - invalid format newest date

Negative test case

Ensure the endpoint returns newest-date compatible errors

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.027: DH call to SDH: Get DER for Service Point

Positive test case

Obtain a list of DER data from a particular service point requested by the DH

Purpose:

Test API with a vaild service point and version

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.028: DH call to SDH: Get Service Point Detail - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.029: DH call to SDH: Get Service Point Detail - invalid format of Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.030: DH call to SDH: Get Service Point Detail - unavailable Service Point ID

Negative test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.031: DH call to SDH: Get DER for Specific Service Points - no pagination

Positive test case

Obtain DER data for a specific set of service points requested by the DH

Purpose:

Test API without any pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.032: DH call to SDH: Get DER for Specific Service Points - with pagination

Positive test case

Obtain DER data for a specific set of service points requested by the DH

Purpose:

Test API with pagination partameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.033: DH call to SDH: Get DER for Specific Service Points - unsupported version without x-min-v included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.034: DH call to SDH: Get DER for Specific Service Points - invalid page parameters

Negative test case

Ensure that the endpoint returns pagination errors

Purpose:

Test API with invalid pagination parameters

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.035: DH call to SDH: Get DER for Specific Service Points - invalid body values

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with invalid body values

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.036: DH call to SDH: Get DER for Specific Service Points - invalid body format

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with a malformed body

References:

Execution Pre-conditions:

  • The body is incorrectly formatted

Execution Steps:

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

End State Assertions:

T.EAS.037: DH call to SDH: Get Usage for Specific Service Points - invalid body values

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with invalid body values

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.038: DH call to SDH: Get Usage for Specific Service Points - invalid body format

Negative test case

Ensure that the endpoint returns body compatibility errors

Purpose:

Test API with a malformed body

References:

Execution Pre-conditions:

  • The body is incorrectly formatted

Execution Steps:

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

End State Assertions:

T.EAS.039: DH call to SDH: Get Service Points - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID format is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.040: DH call to SDH: Get Service Point Detail - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.041: DH call to SDH: Get Usage For Service Point - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.042: DH call to SDH: Get Usage For Specific Service Points - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.043: DH call to SDH: Get DER for Service Point - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.044: DH call to SDH: Get DER For Specific Service Points - invalid FAPI Interaction ID format

Negative test case

Ensure that the endpoint returns FAPI Interaction ID errors

Purpose:

Test API where FAPI Interaction ID fomat is invalid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.045: DH call to SDH: Get Service Points - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.046: DH call to SDH: Get Service Points - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.047: DH call to SDH: Get Service Point Detail - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.048: DH call to SDH: Get Service Point Detail - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.049: DH call to Get Usage For Service Point - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.050: DH call to SDH: Get Usage For Service Point - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.051: DH call to SDH: Get Usage For Specific Service Points - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.052: DH call to SDH: Get Usage For Specific Service Points - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.053: DH call to SDH: Get DER for Service Point - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.054: DH call to SDH: Get DER for Service Point - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.055: DH call to Get DER For Specific Service Points - no arragement id

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is included

References:

Execution Pre-conditions:

  • The <x-cds-arrangement> is missing

Execution Steps:

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

End State Assertions:

T.EAS.056: DH call to SDH: Get DER For Specific Service Points - arrangement ID invalid

Negative test case

Ensure that the endpoint returns arrangement id errors

Purpose:

Test API to ensure the arrangement ID is valid

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.057: DH call to SDH: Get Service Points - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.058: DH call to SDH: Get Service Points - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.059: DH call to SDH: Get Service Point Detail - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.060: DH call to SDH: Get Service Point Detail - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.061: DH call to SDH: Get Usage For Service Point - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.062: DH call to SDH: Get Usage For Service Point - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.063: DH call to SDH: Get Usage For Specific Service Points - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.064: DH call to SDH: Get Usage For Specific Service Points - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.065: DH call to SDH: Get DER for Service Point - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.066: DH call to SDH: Get DER for Service Point - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.067: DH call to SDH: Get DER For Specific Service Points - invalid version value

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version value

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.068: DH call to SDH: Get DER For Specific Service Points - invalid version format

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

Test API with invalid version format

References:

Execution Pre-conditions:

  • The <x-v> format is not valid

Execution Steps:

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

End State Assertions:

T.EAS.069: DH call to SDH: Get Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.070: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.071: DH call to SDH: Get Usage for Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.072: DH call to SDH: Get Usage for Specific Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.073: DH call to SDH: Get Service Point Detail - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.074: DH call to SDH: Get DER for Specific Service Points - unsupported version when x-min-v is included

Negative test case

Ensure that the endpoint returns version compatibility errors

Purpose:

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

References:

Execution Pre-conditions:

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

Execution Steps:

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

End State Assertions:

T.EAS.075: DH call to SDH: Get Service Points - missing servicePointId in body

Positive test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with a missing servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} in the body is missing

Execution Steps:

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

End State Assertions:

T.EAS.076: DH call to SDH: Get Service Points - invalid servicePointId in body

Positive test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an invalid servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} in the body is invalid

Execution Steps:

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

End State Assertions:

T.EAS.077: DH call to SDH: Get Service Points - unavailable servicePointId in body

Positive test case

Ensure the endpoint returns servicePointId compatible errors

Purpose:

Test API with an unavailable servicePointId

References:

Execution Pre-conditions:

  • The {servicePointId} in the body is unavailable

Execution Steps:

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

End State Assertions:

T.EAS.078: 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.079: 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.080: 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.081: 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.082: 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.083: 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.CPG.001: Validate pagination - LinksPaginated

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe page parameter is included in a GET request
AND the page value is a number and page-size is [1..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.CPG.002: Validate pagination - Invalid page size value

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.CVN.003: 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.CVN.004: Validate version - unsupported version without <x-min-v>

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.CVM.002: 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.CFI.001: Validate FAPI Interaction ID - included in request

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

Giventhe API requires authentication
AND the 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.CFC.003: Validate FAPI Customer IP Address - invalid format

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.CAA.001: 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.002: 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.001: 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.002: 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.001: 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.002: 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.003: 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.004: 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.005: 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.006: 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.001: Validate service point and schema - EnergyServicePointDetailResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAR.003: Validate service point - unavailable

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAR.004: Validate schema - EnergyServicePointListReponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAR.010: Validate schema - EnergyUsageListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAR.011: Validate schema - EnergyDerListResponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

A.EAS.004: Validate schema - EnergyServicePointListReponse

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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

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

References:

Severity:

Critical (Test Fails)

Assertion Logic:

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