RollbackOperationTask.robot 1.41 KB
Newer Older
*** Settings ***
Resource    environment/variables.txt 
Resource   NSLCMOperationKeywords.robot   
Library    REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} 
Library    OperatingSystem
Giacomo Bernini's avatar
Giacomo Bernini committed
Library    DependencyLibrary
Library    JSONLibrary
Library    JSONSchemaLibrary    schemas/

*** Test Cases ***
Post Rollback operation task
    Depends on test    Check resource FAILED_TEMP
AHMADABB's avatar
AHMADABB committed
	POST Rollback operation task
	Check HTTP Response Status Code Is    202

	
Post Rollback operation task Not Found
    [Setup]    Check Rollback not supported
AHMADABB's avatar
AHMADABB committed
	POST Rollback operation task
	Check HTTP Response Status Code Is    404
AHMADABB's avatar
AHMADABB committed
	Check HTTP Response Body Json Schema Is    ProblemDetails
		
Post Rollback operation task Conflict
    Depends on test failure  Check resource FAILED_TEMP
AHMADABB's avatar
AHMADABB committed
	POST Rollback operation task
	Check HTTP Response Status Code Is    409
AHMADABB's avatar
AHMADABB committed
	Check HTTP Response Body Json Schema Is    ProblemDetails
	
PUT Rollback operation task - Method not implemented
AHMADABB's avatar
AHMADABB committed
    PUT Rollback operation task
    Check HTTP Response Status Code Is    405

PATCH Rollback operation task - Method not implemented
AHMADABB's avatar
AHMADABB committed
    PATCH Rollback operation task
    Check HTTP Response Status Code Is    405

DELETE Rollback operation task - Method not implemented
AHMADABB's avatar
AHMADABB committed
    DELETE Rollback operation task
    Check HTTP Response Status Code Is    405
    
GET Rollback operation task - Method not implemented 
AHMADABB's avatar
AHMADABB committed
	GET Rollback operation task
	Check HTTP Response Status Code Is    405