Commit 63726d7f 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.14.10 Test-ID] Implement 401 error response for LCM APIs

parent e15033d9
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -119,6 +119,19 @@ POST Rollback operation task with not permitted authorization value
    Post Rollback operation with not permitted authorization scope
    Check HTTP Response Status Code Is    403
    Check HTTP Response Body Json Schema Is    ProblemDetails

POST Rollback operation task - Unauthorized
    [Documentation]    Test ID:6.3.5.14.10
    ...    Test title: POST Rollback operation task - Unauthorized
    ...    Test objective: The objective is to test that the rollback operation cannot be executed because the request is not authorized
    ...    Pre-conditions: the "VNF LCM operation occurrence" resource is in "FAILED_TEMP" state.
    ...    Reference: Clause 5.4.15.3.1 - ETSI GS NFV-SOL 002 [2] v5.1.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: none
    ...    Post-Conditions: none
    POST Rollback operation task - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is    ProblemDetails
*** Keywords ***
Check resource existence
    Set Headers    {"Accept":"${ACCEPT}"}