Skip to content
InstantiateNSTask.robot 1.2 KiB
Newer Older
AHMADABB's avatar
AHMADABB committed
*** Settings ***
Resource    environment/variables.txt 
Resource   NSLCMOperationKeywords.robot   
Library    REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} 
Library    OperatingSystem
Library    JSONLibrary
Library    JSONSchemaLibrary    schemas/
Suite Setup    Check resource existance

*** Test Cases ***
Instantiate a nsInstance
AHMADABB's avatar
AHMADABB committed
    POST Instatiate nsInstance
AHMADABB's avatar
AHMADABB committed
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains    Location

Instantiate a nsInstance Conflict
    [Setup]    Check resource instantiated
AHMADABB's avatar
AHMADABB committed
    POST Instatiate nsInstance
AHMADABB's avatar
AHMADABB committed
    Check HTTP Response Status Code Is    409
AHMADABB's avatar
AHMADABB committed
    Check HTTP Response Body Json Schema Is    ProblemDetails
AHMADABB's avatar
AHMADABB committed
    
GET Instantiate NSInstance - Method not implemented
AHMADABB's avatar
AHMADABB committed
    GET Instantiate NSInstance
AHMADABB's avatar
AHMADABB committed
    Check HTTP Response Status Code Is    405
    
PUT Instantiate NSInstance - Method not implemented
AHMADABB's avatar
AHMADABB committed
    PUT Instantiate NSInstance
AHMADABB's avatar
AHMADABB committed
    Check HTTP Response Status Code Is    405
    
PATCH Instantiate NSInstance - Method not implemented
AHMADABB's avatar
AHMADABB committed
    PATCH Instantiate NSInstance
AHMADABB's avatar
AHMADABB committed
    Check HTTP Response Status Code Is    405

DELETE Instantiate NSInstance - Method not implemented
AHMADABB's avatar
AHMADABB committed
    DELETE Instantiate NSInstance
AHMADABB's avatar
AHMADABB committed
    Check HTTP Response Status Code Is    405