diff --git a/doc/testing/testplan/api_logging_service/README.md b/doc/testing/testplan/api_logging_service/README.md index fbb87d47162a8562d19691f1aa91472443f50d84..b2437e9ed8e3d16054fa9c129b4d8993590baef6 100644 --- a/doc/testing/testplan/api_logging_service/README.md +++ b/doc/testing/testplan/api_logging_service/README.md @@ -15,6 +15,11 @@ At this documentation you will have all information and related files and exampl * Service exist in CAPIF * Invoker exist in CAPIF +**Execution Steps**: + 1. Register Provider and Invoker CCF + 2. Publish Service + 3. Create Log Entry + **Information of Test**: 1. Perform [provider onboarding] and [invoker onboarding] @@ -29,11 +34,6 @@ At this documentation you will have all information and related files and exampl 2. body [log entry request body] 3. Use **AEF Certificate** -**Execution Steps**: - 1. Register Provider and Invoker CCF - 2. Publish Service - 3. Create Log Entry - **Expected Result**: 1. Response to Logging Service must accomplish: @@ -45,8 +45,6 @@ At this documentation you will have all information and related files and exampl 3. Response Header **Location** must be received with URI to new resource created, following this structure: **{apiRoot}/api-invocation-logs/v1/{aefId}/logs/{logId}** - - ## Test Case 2: Creates a new individual CAPIF Log Entry with Invalid aefId **Test ID**: ***capif_api_logging-2*** @@ -61,6 +59,11 @@ At this documentation you will have all information and related files and exampl * Service exist in CAPIF * Invoker exist in CAPIF +**Execution Steps**: + 1. Register Provider and Invoker CCF + 2. Publish Service + 3. Create Log Entry + **Information of Test**: 1. Perform [provider onboarding] and [invoker onboarding] @@ -75,11 +78,6 @@ At this documentation you will have all information and related files and exampl 2. body [log entry request body] 3. Use **AEF Certificate** -**Execution Steps**: - 1. Register Provider and Invoker CCF - 2. Publish Service - 3. Create Log Entry - **Expected Result**: 1. Response to Logging Service must accomplish: @@ -90,6 +88,7 @@ At this documentation you will have all information and related files and exampl * detail with message "Exposer not exist". * cause with message "Exposer id not found". + ## Test Case 3: Creates a new individual CAPIF Log Entry with Invalid serviceAPI **Test ID**: ***capif_api_logging-3*** @@ -102,6 +101,11 @@ At this documentation you will have all information and related files and exampl * CAPIF subscriber is pre-authorised (has valid aefId from CAPIF Authority) +**Execution Steps**: + 1. Register Provider and Invoker CCF + 2. Publish Service + 3. Create Log Entry + **Information of Test**: 1. Perform [provider onboarding] and [invoker onboarding] @@ -116,11 +120,6 @@ At this documentation you will have all information and related files and exampl 2. body [log entry request body with serviceAPI apiName apiId not valid] 3. Use **AEF Certificate** -**Execution Steps**: - 1. Register Provider and Invoker CCF - 2. Publish Service - 3. Create Log Entry - **Expected Result**: 1. Response to Logging Service must accomplish: @@ -132,7 +131,6 @@ At this documentation you will have all information and related files and exampl * cause with message "Invoker id not found". - ## Test Case 4: Creates a new individual CAPIF Log Entry with Invalid apiInvokerId **Test ID**: ***capif_api_logging-4*** @@ -145,6 +143,11 @@ At this documentation you will have all information and related files and exampl * CAPIF subscriber is pre-authorised (has valid aefId from CAPIF Authority) +**Execution Steps**: + 1. Register Provider and Invoker CCF + 2. Publish Service + 3. Create Log Entry + **Information of Test**: 1. Perform [provider onboarding] and [invoker onboarding] @@ -159,11 +162,6 @@ At this documentation you will have all information and related files and exampl 2. body [log entry request body with invokerId not valid] 3. Use **AEF Certificate** -**Execution Steps**: - 1. Register Provider and Invoker CCF - 2. Publish Service - 3. Create Log Entry - **Expected Result**: 1. Response to Onboard request must accomplish: @@ -199,6 +197,11 @@ At this documentation you will have all information and related files and exampl * Service exist in CAPIF * Invoker exist in CAPIF +**Execution Steps**: + 1. Register Provider and Invoker CCF + 2. Publish Service + 3. Create Log Entry + **Information of Test**: 1. Perform [provider onboarding] and [invoker onboarding] @@ -213,11 +216,6 @@ At this documentation you will have all information and related files and exampl 2. body [log entry request body with bad aefId] 3. Use **AEF Certificate** -**Execution Steps**: - 1. Register Provider and Invoker CCF - 2. Publish Service - 3. Create Log Entry - **Expected Result**: 1. Response to Logging Service must accomplish: @@ -229,10 +227,6 @@ At this documentation you will have all information and related files and exampl * cause with message "Not identical AEF id". - - - - [log entry request body]: ./invocation_log.json "Log Request Body" [invoker onboarding]: ../common_operations/README.md#onboard-an-invoker "Invoker Onboarding"