Newer
Older
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/subscriptions.txt
Elian Kraja
committed
Resource VNFPackageManagementKeywords.robot
Library OperatingSystem
Library JSONLibrary
Elian Kraja
committed
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false
Library MockServerLibrary
Library Process
Suite Setup Create Sessions
Suite Teardown Terminate All Processes kill=true
*** Test Cases ***
Elian Kraja
committed
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Get All VNF Package Subscriptions
Get all VNF Package Subscriptions
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PkgmSubscriptions
Get VNF Package Subscriptions with attribute-based filter
Get VNF Package Subscriptions with attribute-based filters
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PkgmSubscriptions
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
Get VNF Package Subscriptions with invalid attribute-based filter
Get VNF Package Subscriptions with invalid attribute-based filters
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET VNF Package Subscription with invalid resource endpoint
Get VNF Package Subscriptions with invalid resource endpoint
Check HTTP Response Status Code Is 404
Create new VNF Package subscription
Send Post Request for VNF Package Subscription
Check HTTP Response Status Code Is 201
Check HTTP Response Body Json Schema Is PkgmSubscription
Check HTTP Response Body Matches the Subscription
Check Postcondition VNF Package Subscription Is Set
Create duplicated VNF Package subscription with duplication handler
[Tags] no-duplicated-subs
Send Post Request for Duplicated VNF Package Subscription
Check HTTP Response Status Code Is 303
Check HTTP Response Body Is Empty
Check HTTP Response Header Contains Location
Check Postcondition VNF Package Subscription Is Set Location
Create duplicated VNF Package subscription without duplication handler
[Tags] duplicated-subs
Send Post Request for Duplicated VNF Package Subscription
Check HTTP Response Status Code Is 201
Check HTTP Response Body Json Schema Is PmSubscription
Check HTTP Response Body Matches the Subscription
Check Postcondition VNF Package Subscription Is Set
PUT VNF Package Subscriptions - Method not implemented
Send Put Request for VNF Package Subscriptions
Check HTTP Response Status Code Is 405
PATCH VNF Package Subscriptions - Method not implemented
Send Patch Request for VNF Package Subscriptions
Check HTTP Response Status Code Is 405
DELETE VNF Package Subscriptions - Method not implemented
Send Delete Request for VNF Package Subscriptions
Check HTTP Response Status Code Is 405