Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
*** Settings ***
Resource environment/variables.txt
Resource VNFLCMCoordinationKeywords.robot
Library String
Library REST ${EM-VNF_SCHEMA}://${EM-VNF_HOST}:${EM-VNF_PORT} ssl_verify=false
Library JSONLibrary
Library JSONSchemaLibrary schemas/
Library OperatingSystem
Library DependencyLibrary
*** Test Cases ***
POST Coordination of LCM Operation Occurance and API Producer has Chosen the Synchronous Mode
[Documentation] Test ID: 6.3.6.2.1
... Test title: Post Coordination of an LCM operation occurrence
... Test Objective: The objective is to test the creation of new Individual Coordination Action, and perform a JSON schema validation of the returned LCM coordination data structure.
... pre-condition: LCM operation occurrence resource is in Processing state
... Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
... Config ID: Config_prod_VE
... Applicability: API producer has chosen the synchronous mode
... Post-Condition: none
Post coordination of LCM operation Occurance and API Producer has Chosen Synchronous Mode
Check HTTP Response Status Code Is 201
Check HTTP Location Header Contains URI of Created Resource
Check HTTP Response Body Json Schema Is LcmCoords
POST Coordination of LCM Operation Occurance and API Producer has Chosen the Asynchronous Mode
[Documentation] Test ID: 6.3.6.2.2
... Test title: Post Coordination of an LCM operation occurrence
... Test Objective: The objective is to test that the coordination of a LCM operation occurance request has been accepted for processing, and perform a JSON schema validation of the returned LCM coordination data structure.
... pre-condition: LCM operation occurrence resource is in Processing state
... Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
... Config ID: Config_prod_VE
... Applicability: API producer has chosen the asynchronous mode
... Post-Condition: none
Post coordination of LCM operation Occurance and API Producer has Chosen Asynchronous Mode
Check HTTP Response Status Code Is 202
Check HTTP Location Header Contains URI of Resource That Will be Created
Check HTTP Response Body Should be Empty
POST Coordination of a LCM Operation Occurance Forbidden
[Documentation] Test ID: 6.3.6.2.3
... Test title: Post Coordination of an LCM operation occurrence Forbidden
... Test Objective: The objective is to verify that the coordination of LCM operation occurance has been rejected.
... pre-condition: LCM operation occurrence resource is in Processing state
... Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Condition: none
Post coordination of LCM operation Occurance is Forbidden
Check HTTP Response Status Code Is 403
Check HTTP Response Body Json Schema Is ProblemDetails
POST Coordination of LCM Operation Occurance Conflict
[Documentation] Test ID: 6.3.6.2.4
... Test title: Post Coordination of an LCM operation occurrence Conflict
... Test Objective: The objective is to verify that no coordination actions can be executed currently, due to a conflict with the state of the "Coordinations" resource.
... pre-condition: LCM operation occurrence resource is in Processing state
... Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
... Config ID: Config_prod_VE
... Applicability: When there are many coordination actions exist, or conflicting ones, are in progress.
... Post-Condition: none
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
POST Coordination of LCM Operation Occurance Service Unavailable
[Documentation] Test ID: 6.3.6.2.5
... Test title: Post Coordination of an LCM operation occurrence Service Unavailable
... Test Objective: The objective is to verify that requested coordination operation cannot be executed currently.
... pre-condition: LCM operation occurrence resource is in Processing state
... Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
... Config ID: Config_prod_VE
... Applicability: API producer has chosen the synchronous mode
... Post-Condition: none
Post coordination of LCM operation Occurance and API Producer has Chosen Synchronous Mode
Check HTTP Response Status Code Is 503
Check HTTP Retry-After Header Contains Delay After Which Corrdination Request Will be Repeated
Check HTTP Response Body Json Schema Is ProblemDetails
GET Coordination of a LCM Operation Occurance - Method not implemented
[Documentation] Test ID: 6.3.6.2.6
... Test title: GET Coordination of a LCM Operation Occurance - Method not implemented
... Test Objective: The objective is to test that GET method for Resource Coordinations is not implemented.
... pre-condition: none
... Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v3.5.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Condition: none
GET coordination of LCM operation Occurance
Check HTTP Response Status Code Is 405
PUT Coordination of a LCM Operation Occurance - Method not implemented
[Documentation] Test ID: 6.3.6.2.7
... Test title: PUT Coordination of a LCM Operation Occurance - Method not implemented
... Test Objective: The objective is to test that PUT method for Resource Coordinations is not implemented.
... pre-condition: none
... Reference: Clause 10.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v3.5.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Condition: none
PUT coordination of LCM operation Occurance
Check HTTP Response Status Code Is 405
PACTH Coordination of a LCM Operation Occurance - Method not implemented
[Documentation] Test ID: 6.3.6.2.8
... Test title: PATCH Coordination of a LCM Operation Occurance - Method not implemented
... Test Objective: The objective is to test that PATCH method for Resource Coordinations is not implemented.
... pre-condition: none
... Reference: Clause 10.4.2.3.4 - ETSI GS NFV-SOL 002 [2] v3.5.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Condition: none
PATCH coordination of LCM operation Occurance
Check HTTP Response Status Code Is 405
DELETE Coordination of a LCM Operation Occurance - Method not implemented
[Documentation] Test ID: 6.3.6.2.9
... Test title: DELETE Coordination of a LCM Operation Occurance - Method not implemented
... Test Objective: The objective is to test that DELETE method for Resource Coordinations is not implemented.
... pre-condition: none
... Reference: Clause 10.4.2.3.5 - ETSI GS NFV-SOL 002 [2] v3.5.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Condition: none
DELETE coordination of LCM operation Occurance
Check HTTP Response Status Code Is 405