| Name | Verify the Get Metrics API (Admin) |
|---|
| Category | ADMIN |
|---|
| Execution Method | SEMI AUTOMATED (VTT) |
|---|
| Description | In this scenario we verify that the Get Metrics functionality exists at a Data Holder. |
|---|
| Preconditions | - All systems functional with no outages in progress
- Active Consent agreement with multiple accounts belonging to multiple product categories
|
|---|
| Steps | - Perform a client_assertion using private_key_jwt against the Data Holderβs identity server using the prescribed client_id given during Register onboarding. Retrieve token information from this call.
- Initiate GET /admin/metrics using the token retrieved in (1) specify a period of CURRENT and an x-v of 2. Validate the format of the response is semantically valid with ResponseMetricsListV2 and that it only contains current values populated.
- Initiate GET /admin/metrics using the token retrieved in (1) specify a period of HISTORIC and an x-v of 2. Validate the format of the response is semantically valid with ResponseMetricsListV2 and that it only covers previous metrics.
- Initiate GET /admin/metrics using the token retrieved in (1) specify a period of ALL and an x-v of 2. Validate the format of the response is semantically valid with ResponseMetricsListV2 and it contains both current and previous values populated.
|
|---|
| Inputs | Headers: Parameters: - Various based on scenario including:
- x-fapi-interaction-id
|
|---|
| Expected Results | - Verify links validity ensuring each attribute links to the appropriate page locations.
- Verify data object validity verifying:
- All Required Fields
- Validate that previous is populated only for HISTORIC and ALL requests
- Validate that current is populated only for CURRENT and ALL requests
|
|---|