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

[test-new][SOL003][VNF-LCM][v5.2.1][7.3.1.1.21 Test-ID] Implement new test...

[test-new][SOL003][VNF-LCM][v5.2.1][7.3.1.1.21 Test-ID] Implement new test case for response code 404
parent 4bf737da
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -282,3 +282,16 @@ POST Create a new vnfInstance - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is    ProblemDetails  

GET information about instances with invalid resource endpoint
    [Documentation]    Test ID: 7.3.1.1.21
    ...    Test title: GET information about VNF instances with invalid resource endpoint
    ...    Test objective: The objective is to query information about VNF instances with invalid resource endpoint
    ...    Pre-conditions:  none
    ...    Reference: Clause 5.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v5.2.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    GET information about instances with invalid resource endpoint
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is    ProblemDetails 
+12 −1
Original line number Diff line number Diff line
@@ -628,6 +628,17 @@ GET multiple vnfInstances with bad filter
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse} 

GET information about instances with invalid resource endpoint
    Log    Query VNF The GET method queries information with invalid resource endpoint.
    Set Headers  {"Accept":"${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    Get    ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instance   
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse} 
	
	
GET multiple vnfInstances using filter	
    Log    Query VNF The GET method queries information about multiple VNF instances using filter
    Set Headers  {"Accept":"${ACCEPT}"}