Skip to content
Snippets Groups Projects
Commit efcf3594 authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

logging test plan refactored

parent e6a3b141
No related branches found
No related tags found
1 merge request!12Resolve "Change order of sections in tests to improve readability"
...@@ -15,6 +15,11 @@ At this documentation you will have all information and related files and exampl ...@@ -15,6 +15,11 @@ At this documentation you will have all information and related files and exampl
* Service exist in CAPIF * Service exist in CAPIF
* Invoker 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**: **Information of Test**:
1. Perform [provider onboarding] and [invoker onboarding] 1. Perform [provider onboarding] and [invoker onboarding]
...@@ -29,11 +34,6 @@ At this documentation you will have all information and related files and exampl ...@@ -29,11 +34,6 @@ At this documentation you will have all information and related files and exampl
2. body [log entry request body] 2. body [log entry request body]
3. Use **AEF Certificate** 3. Use **AEF Certificate**
**Execution Steps**:
1. Register Provider and Invoker CCF
2. Publish Service
3. Create Log Entry
**Expected Result**: **Expected Result**:
1. Response to Logging Service must accomplish: 1. Response to Logging Service must accomplish:
...@@ -45,8 +45,6 @@ At this documentation you will have all information and related files and exampl ...@@ -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}** 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 Case 2: Creates a new individual CAPIF Log Entry with Invalid aefId
**Test ID**: ***capif_api_logging-2*** **Test ID**: ***capif_api_logging-2***
...@@ -61,6 +59,11 @@ At this documentation you will have all information and related files and exampl ...@@ -61,6 +59,11 @@ At this documentation you will have all information and related files and exampl
* Service exist in CAPIF * Service exist in CAPIF
* Invoker 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**: **Information of Test**:
1. Perform [provider onboarding] and [invoker onboarding] 1. Perform [provider onboarding] and [invoker onboarding]
...@@ -75,11 +78,6 @@ At this documentation you will have all information and related files and exampl ...@@ -75,11 +78,6 @@ At this documentation you will have all information and related files and exampl
2. body [log entry request body] 2. body [log entry request body]
3. Use **AEF Certificate** 3. Use **AEF Certificate**
**Execution Steps**:
1. Register Provider and Invoker CCF
2. Publish Service
3. Create Log Entry
**Expected Result**: **Expected Result**:
1. Response to Logging Service must accomplish: 1. Response to Logging Service must accomplish:
...@@ -90,6 +88,7 @@ At this documentation you will have all information and related files and exampl ...@@ -90,6 +88,7 @@ At this documentation you will have all information and related files and exampl
* detail with message "Exposer not exist". * detail with message "Exposer not exist".
* cause with message "Exposer id not found". * cause with message "Exposer id not found".
## Test Case 3: Creates a new individual CAPIF Log Entry with Invalid serviceAPI ## Test Case 3: Creates a new individual CAPIF Log Entry with Invalid serviceAPI
**Test ID**: ***capif_api_logging-3*** **Test ID**: ***capif_api_logging-3***
...@@ -102,6 +101,11 @@ At this documentation you will have all information and related files and exampl ...@@ -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) * 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**: **Information of Test**:
1. Perform [provider onboarding] and [invoker onboarding] 1. Perform [provider onboarding] and [invoker onboarding]
...@@ -116,11 +120,6 @@ At this documentation you will have all information and related files and exampl ...@@ -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] 2. body [log entry request body with serviceAPI apiName apiId not valid]
3. Use **AEF Certificate** 3. Use **AEF Certificate**
**Execution Steps**:
1. Register Provider and Invoker CCF
2. Publish Service
3. Create Log Entry
**Expected Result**: **Expected Result**:
1. Response to Logging Service must accomplish: 1. Response to Logging Service must accomplish:
...@@ -132,7 +131,6 @@ At this documentation you will have all information and related files and exampl ...@@ -132,7 +131,6 @@ At this documentation you will have all information and related files and exampl
* cause with message "Invoker id not found". * cause with message "Invoker id not found".
## Test Case 4: Creates a new individual CAPIF Log Entry with Invalid apiInvokerId ## Test Case 4: Creates a new individual CAPIF Log Entry with Invalid apiInvokerId
**Test ID**: ***capif_api_logging-4*** **Test ID**: ***capif_api_logging-4***
...@@ -145,6 +143,11 @@ At this documentation you will have all information and related files and exampl ...@@ -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) * 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**: **Information of Test**:
1. Perform [provider onboarding] and [invoker onboarding] 1. Perform [provider onboarding] and [invoker onboarding]
...@@ -159,11 +162,6 @@ At this documentation you will have all information and related files and exampl ...@@ -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] 2. body [log entry request body with invokerId not valid]
3. Use **AEF Certificate** 3. Use **AEF Certificate**
**Execution Steps**:
1. Register Provider and Invoker CCF
2. Publish Service
3. Create Log Entry
**Expected Result**: **Expected Result**:
1. Response to Onboard request must accomplish: 1. Response to Onboard request must accomplish:
...@@ -199,6 +197,11 @@ At this documentation you will have all information and related files and exampl ...@@ -199,6 +197,11 @@ At this documentation you will have all information and related files and exampl
* Service exist in CAPIF * Service exist in CAPIF
* Invoker 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**: **Information of Test**:
1. Perform [provider onboarding] and [invoker onboarding] 1. Perform [provider onboarding] and [invoker onboarding]
...@@ -213,11 +216,6 @@ At this documentation you will have all information and related files and exampl ...@@ -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] 2. body [log entry request body with bad aefId]
3. Use **AEF Certificate** 3. Use **AEF Certificate**
**Execution Steps**:
1. Register Provider and Invoker CCF
2. Publish Service
3. Create Log Entry
**Expected Result**: **Expected Result**:
1. Response to Logging Service must accomplish: 1. Response to Logging Service must accomplish:
...@@ -229,10 +227,6 @@ At this documentation you will have all information and related files and exampl ...@@ -229,10 +227,6 @@ At this documentation you will have all information and related files and exampl
* cause with message "Not identical AEF id". * cause with message "Not identical AEF id".
[log entry request body]: ./invocation_log.json "Log Request Body" [log entry request body]: ./invocation_log.json "Log Request Body"
[invoker onboarding]: ../common_operations/README.md#onboard-an-invoker "Invoker Onboarding" [invoker onboarding]: ../common_operations/README.md#onboard-an-invoker "Invoker Onboarding"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment