Commit d589d74c authored by piscione's avatar piscione
Browse files

Fixes on Platform configuration TCs of MEC010p2

parent 4c976b03
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -14,20 +14,20 @@ TC_MEC_MEC010p2_MEPM_LCM_001_OK
    [Documentation]    TP_MEC_MEC010p2_MEPM_LCM_001_OK
    ...    Check that MEC API provider has created the configuration information in AppD to the MEPM-V
    ...    ETSI GS MEC 010-2 3.1.1, clause 7.7.6.3.1
    ...    ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2-1   #ConfigPlatformForAppRequest
    ...    ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2   #ConfigPlatformForAppRequest
    [Setup]   Create new App Instance  CreateAppInstanceRequest
    ${APPD_ID_SET}   Get value entry from JSON file    CreateAppInstanceRequest  appDId
    Request to configure Platform    ${APP_INSTANCE_ID}    ConfigPlatformForAppRequest
    Check HTTP Response Status Code Is    202
    Check Response Header contains    Location
    [Setup]   Delete APP Instance   ${APPD_ID_SET}
    Check HTTP Response Header Contains    Location
    [Teardown]   Delete APP Instance   ${APPD_ID_SET}
    

TC_MEC_MEC010p2_MEPM_LCM_001_BR
    [Documentation]    TP_MEC_MEC010p2_MEPM_LCM_001_BR
    ...    Check that MEC API provider sends an error when it receives a malformed request for the configuration information in AppD to the MEPM-V
    ...    ETSI GS MEC 010-2 3.1.1, clause 7.7.6.3.1
    ...    ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2-1   #ConfigPlatformForAppRequest
    ...    ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2   #ConfigPlatformForAppRequest

    Request to configure Platform   ${APP_INSTANCE_ID}   ConfigPlatformForAppRequestBadRequest
    Check HTTP Response Status Code Is    400
@@ -71,7 +71,7 @@ Delete APP Instance
    

Request to configure Platform
    [Argument]  ${appInstanceId}   ${content}
    [Arguments]  ${appInstanceId}   ${content}
    Log    Request to configure platform
    Set Headers    {"Accept":"application/json"}
    Set Headers    {"Content-Type":"application/json"}
+0 −5
Original line number Diff line number Diff line
{
	"appServiceWrongRequired": [{
		"sernName": "serviceName"
	}]
}
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
{
	"appServiceWrongRequired":"someValue"
}
 No newline at end of file