Commit 049d79de authored by Giacomo Bernini's avatar Giacomo Bernini Committed by Giacomo Bernini
Browse files

added oauth scope tests for policy subscriptions 10.3.1.7.7 and 10.3.1.7.8

parent 6f6068e4
Loading
Loading
Loading
Loading
+26 −1
Original line number Diff line number Diff line
@@ -77,3 +77,28 @@ DELETE an individual subscription
    DELETE Individual Subscription
    Check HTTP Response Status Code Is    204
    Check Postcondition Individual Subscription is Deleted

GET Information about an individual subscription with permitted authorization scope
     [Documentation]    Test ID: 10.3.1.7.7
    ...    Test title: GET Information about an individual subscription with permitted authorization scope
    ...    Test objective: The objective is to test the retrieval of Policy Management subscription when a permitted authorization scope is used.
    ...    Pre-conditions: At least one policy management subscription is available in the NFV-MANO.
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Individual subscription with permitted authorization scope
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   PolicySubscription

GET Information about an individual subscription with not permitted authorization scope
     [Documentation]    Test ID: 10.3.1.7.8
    ...    Test title: GET Information about an individual subscription with not permitted authorization scope
    ...    Test objective: The objective is to test that retrieval of Policy Management subscription fails when a not permitted authorization scope is used.
    ...    Pre-conditions: At least one policy management subscription is available in the NFV-MANO.
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Individual subscription with not permitted authorization scope
    Check HTTP Response Status Code Is    401
 No newline at end of file