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
*** Settings ***
Resource environment/variables.txt
Resource NSLCMOperationKeywords.robot
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}
Library OperatingSystem
Library JSONLibrary
Library JSONSchemaLibrary schemas/
*** Test Cases ***
Create a new subscription
Do POST subscriptions
Check HTTP Response Status Code Is 201
Check HTTP Response Header Contains Location
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is subscription.schema.json
Create a new Subscription - DUPLICATION
Do POST subscriptions DUPLICATION
Check HTTP Response Status Code Is 201
Check HTTP Response Header Contains Location
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is subscription.schema.json
Create a new Subscription - NO-DUPLICATION
Do POST subscriptions NO DUPLICATION
Check HTTP Response Status Code Is 201
Check HTTP Response Header Contains Location
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
GET Subscriptions
Do GET Subscriptions
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is subscriptions.schema.json
GET Subscription - Filter
Do GET Subscriptions with filter
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is subscriptions.schema.json
PUT subscriptions - Method not implemented
Do PUT subscriptions
Check HTTP Response Status Code Is 405
PATCH subscriptions - Method not implemented
Do PATCH subscriptions
Check HTTP Response Status Code Is 405
DELETE subscriptions - Method not implemented
Do DELETE subscriptions
Check HTTP Response Status Code Is 405