Commit dcd69504 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed 422 unprocessable entity -> content

parent f17ae76b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -126,15 +126,15 @@ PATCH Individual NS Performance Job - Precondition failed HTTP Conditional Reque
    Check HTTP Response Status Code Is    412
    Check HTTP Response Body Json Schema Is     ProblemDetails
    
PATCH Individual NS Performance Job - Unprocessable Entity
PATCH Individual NS Performance Job - Unprocessable Content
    [Documentation]    Test ID: 5.3.4.2.9
    ...    Test title: PATCH Individual NS Performance Job - Unprocessable Entity
    ...    Test title: PATCH Individual NS Performance Job - Unprocessable Content
    ...    Test objective: The objective is to test that PATCH method cannot modify an exsisting individual PM job resource when a request contains syntactically correct data but the data cannot be processed.
    ...    Pre-conditions: A NS instance is instantiated. One or more NS performance jobs are set in the NFVO.
    ...    Reference: Clause 7.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send Patch request for individual NS Performance Job with unprocessable entity
    Send Patch request for individual NS Performance Job with unprocessable content
    Check HTTP Response Status Code Is    422
    Check HTTP Response Body Json Schema Is    ProblemDetails
+4 −4
Original line number Diff line number Diff line
@@ -131,16 +131,16 @@ PATCH Individual Threshold - Precondition failed HTTP Conditional Request Not Su
    Check HTTP Response Body Json Schema Is    ProblemDetails
    Check Postcondition NS performance Threshold is Unmodified (Implicit)
    
PATCH Individual Threshold - Unprocessable Entity
PATCH Individual Threshold - Unprocessable Content
    [Documentation]    Test ID: 5.3.4.2.9
    ...    Test title: PATCH Individual NS Performance Job - Unprocessable Entity
    ...    Test title: PATCH Individual NS Performance Job - Unprocessable Content
    ...    Test objective: The objective is to test that PATCH method cannot modify an exsisting individual PM job resource when a request contains syntactically correct data but the data cannot be processed.
    ...    Pre-conditions: A NS instance is instantiated. One or more NS performance jobs are set in the NFVO.
    ...    Reference: Clause 7.4.6.3.4 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The NS performance Threshold is not modified by the operation
    Send Patch request for Individual Threshold with unprocessable entity
    Send Patch request for Individual Threshold with unprocessable content
    Check HTTP Response Status Code Is    422
    Check HTTP Response Body Json Schema Is    ProblemDetails
    Check Postcondition NS performance Threshold is Unmodified (Implicit)
+4 −4
Original line number Diff line number Diff line
@@ -212,15 +212,15 @@ GET all NS Performance Monitoring Jobs with "fields" and "exclude_default" attri
    Check HTTP Response Body Json Schema Is   PmJobs
    Check HTTP Response Body PmJobs Matches the requested selector
    
POST new NS Performance Monitoring Job - Unprocessable Entity
POST new NS Performance Monitoring Job - Unprocessable Content
    [Documentation]    Test ID: 5.3.4.1.16
    ...    Test title: POST new NS Performance Monitoring Job - Unprocessable Entity
    ...    Test title: POST new NS Performance Monitoring Job - Unprocessable Content
    ...    Test objective:  The objective is to test the creation of a new NS performance monitoring job fails when a request contains syntactically correct data but the data cannot be processed.
    ...    Pre-conditions: A NS instance is instantiated. One or more NS performance jobs are set in the NFVO.
    ...    Reference: clause 7.4.2.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send POST request for NS Performance Monitoring Job with unprocessable entity
    Send POST request for NS Performance Monitoring Job with unprocessable content
    Check HTTP Response Status Code Is    422
    Check HTTP Response Body Json Schema Is    ProblemDetails
+4 −4
Original line number Diff line number Diff line
@@ -143,16 +143,16 @@ GET Performance Thresholds - Bad Request Response too Big
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
POST new Performance Threshold - Unprocessable Entity
POST new Performance Threshold - Unprocessable Content
    [Documentation]    Test ID: 5.3.4.4.11
    ...    Test title: POST new Performance Threshold - Unprocessable Entity
    ...    Test title: POST new Performance Threshold - Unprocessable Content
    ...    Test objective:  The objective is to test the creation of a new NS performance threshold fails when a request contains syntactically correct data but the data cannot be processed.
    ...    Pre-conditions: A NS instance is instantiated.
    ...    Reference: clause 7.4.5.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send POST request for Performance threshold with unprocessable entity
    Send POST request for Performance threshold with unprocessable content
    Check HTTP Response Status Code Is    422
    Check HTTP Response Body Json Schema Is    ProblemDetails