Commit 9526e49a authored by Eisha Ayaz's avatar Eisha Ayaz Committed by Giacomo Bernini
Browse files

[test-new][SOL002][VNF-LCM][v5.2.1][6.3.5.4.10 Test-ID] Implement 401 error response for LCM APIs

parent 63726d7f
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -122,6 +122,20 @@ POST Scale a vnfInstance with not permited authorization scope
    POST Scale vnfInstance with not permitted authorization scope    0
    Check HTTP Response Status Code Is    403
    Check HTTP Response Body Json Schema Is    ProblemDetails 

POST Scale a vnfInstance - Unauthorized
    [Documentation]    Test ID: 6.3.5.4.10
    ...    Test title: Post Scale a vnfInstance - Unauthorized 
    ...    Test objective: The objective is to scale a VNF instance without authorization
    ...    Pre-conditions: none
    ...    Reference: Clause 5.4.5.3.1 - ETSI GS NFV-SOL 002 [2] v5.1.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: none
    ...    Post-Conditions: none
    POST scale vnfInstance - Unauthorized   0
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is    ProblemDetails

*** Keywords ***
Check resource existence
    Set Headers    {"Accept":"${ACCEPT}"}