NSLCMOccurences.robot 4.64 KB
Newer Older
AHMADABB's avatar
AHMADABB committed
1
2
3
4
5
6
7
8
9
10
*** 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 ***
Post NS LCM occurences - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
11
    [Documentation]    Test ID: 5.3.2.8.1
aureliano sinatra's avatar
aureliano sinatra committed
12
    ...    Test title: Post NS LCM occurences - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
13
14
15
16
17
18
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.9.3.1 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
AHMADABB's avatar
AHMADABB committed
19
	POST NS LCM OP Occurences
AHMADABB's avatar
AHMADABB committed
20
21
	Check HTTP Response Status Code Is    405

aureliano sinatra's avatar
aureliano sinatra committed
22
Get status information about multiple NS LCM OCC   
aureliano sinatra's avatar
aureliano sinatra committed
23
     [Documentation]    Test ID: 5.3.2.8.2
aureliano sinatra's avatar
aureliano sinatra committed
24
    ...    Test title: Get status information about multiple NS LCM OCC
25
    ...    Test objective: The objective is to test that GET method returns a list of LCM occurrences of the NS
aureliano sinatra's avatar
aureliano sinatra committed
26
    ...    Pre-conditions: At least one LCM OCC available in the NFVO
aureliano sinatra's avatar
aureliano sinatra committed
27
28
29
30
    ...    Reference:  section 6.4.9.3.2 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
AHMADABB's avatar
AHMADABB committed
31
	GET NS LCN OP Occurences
AHMADABB's avatar
AHMADABB committed
32
	Check HTTP Response Status Code Is    200
AHMADABB's avatar
AHMADABB committed
33
	Check HTTP Response Body Json Schema Is    NsLcmOpOccs
AHMADABB's avatar
AHMADABB committed
34

aureliano sinatra's avatar
aureliano sinatra committed
35
Get status information about multiple NS LCM OCC Bad Request Invalid attribute-based filtering parameters
aureliano sinatra's avatar
aureliano sinatra committed
36
    [Documentation]    Test ID: 5.3.2.8.3
aureliano sinatra's avatar
aureliano sinatra committed
37
    ...    Test title: Get status information about multiple NS LCM OCC Bad Request Invalid attribute-based filtering parameters
aureliano sinatra's avatar
aureliano sinatra committed
38
    ...    Test objective: The objective is to test that GET method fail because the query parameter is not existing
aureliano sinatra's avatar
aureliano sinatra committed
39
    ...    Pre-conditions: At least one LCM OCC available in the NFVO, Invalid filter parameter
aureliano sinatra's avatar
aureliano sinatra committed
40
41
42
43
    ...    Reference:  section 6.4.9.3.2 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
AHMADABB's avatar
AHMADABB committed
44
	GET NS LCN OP Occurences Invalid attribute-based filtering parameters
AHMADABB's avatar
AHMADABB committed
45
	Check HTTP Response Status Code Is    400
AHMADABB's avatar
AHMADABB committed
46
	Check HTTP Response Body Json Schema Is    ProblemDetails
AHMADABB's avatar
AHMADABB committed
47

aureliano sinatra's avatar
aureliano sinatra committed
48
Get status information about multiple NS LCM OCC Bad Request Invalid attribute selector
aureliano sinatra's avatar
aureliano sinatra committed
49
    [Documentation]    Test ID: 5.3.2.8.4
aureliano sinatra's avatar
aureliano sinatra committed
50
    ...    Test title: Get status information about multiple NS LCM OCC Bad Request Invalid attribute selector
aureliano sinatra's avatar
aureliano sinatra committed
51
    ...    Test objective: The objective is to test that GET method fail because the attributes selector is not existing
aureliano sinatra's avatar
aureliano sinatra committed
52
    ...    Pre-conditions: At least one LCM OCC available in the NFVO, Invalid attribute selector
aureliano sinatra's avatar
aureliano sinatra committed
53
54
55
56
    ...    Reference:  section 6.4.9.3.2 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
AHMADABB's avatar
AHMADABB committed
57
	GET NS LCN OP Occurences Invalid attribute selector
AHMADABB's avatar
AHMADABB committed
58
	Check HTTP Response Status Code Is    400
AHMADABB's avatar
AHMADABB committed
59
	Check HTTP Response Body Json Schema Is    ProblemDetails
aureliano sinatra's avatar
aureliano sinatra committed
60
61
	

aureliano sinatra's avatar
aureliano sinatra committed
62
PUT status information about multiple NS LCM OCC - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
63
    [Documentation]    Test ID: 5.3.2.8.5
aureliano sinatra's avatar
aureliano sinatra committed
64
    ...    Test title: PUT status information about multiple NS LCM OCC - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
65
66
67
68
69
70
71
72
73
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.9.3.3 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    PUT NS LCM OP Occurences
    Check HTTP Response Status Code Is    405

aureliano sinatra's avatar
aureliano sinatra committed
74
PATCH status information about multiple NS LCM OCC - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
75
    [Documentation]    Test ID: 5.3.2.8.6
aureliano sinatra's avatar
aureliano sinatra committed
76
    ...    Test title: PATCH status information about multiple NS LCM OCC - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
77
78
79
80
81
82
83
84
85
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.9.3.4 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    PATCH NS LCM OP Occurences
    Check HTTP Response Status Code Is    405

aureliano sinatra's avatar
aureliano sinatra committed
86
DELETE status information about multiple NS LCM OCC - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
87
    [Documentation]    Test ID: 5.3.2.8.7
aureliano sinatra's avatar
aureliano sinatra committed
88
    ...    Test title: DELETE status information about multiple NS LCM OCC - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
89
90
91
92
93
94
95
96
97
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.9.3.5 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    DELETE NS LCM OP Occurences
    Check HTTP Response Status Code Is    405