Loading Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +56 −7 Original line number Original line Diff line number Diff line Loading @@ -7,14 +7,63 @@ Package MEC_MEC010p2_MEO_GRANT_BI { import all from MEC_Common; import all from MEC_Common; Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" //Negative case 400 Bad request TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" Test objective "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed - INSTANTIATE" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT Initial conditions with { the IUT entity having a app_instance containing appInstanceID indicating value APP_INSTANCE_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/granting/v1/grants", body containing GrantRequest containing appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, operationERROR set to INSTANTIATE, not addResources, _links ; ; ; from the MEPM entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request" ; to the MEPM entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" Test objective Test objective "Check that MEO responds with an error when it receives "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed" a malformed request when a new grant request is performed" Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2", Reference "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.4.2-1" //Grant "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 Config Id Config_MEC_3 Loading Loading @@ -50,7 +99,7 @@ Package MEC_MEC010p2_MEO_GRANT_BI { } } Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" //Negative case 404 Not found TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" Test objective Test objective "Check that MEO responds with an error when it receives "Check that MEO responds with an error when it receives Loading Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +132 −26 Original line number Original line Diff line number Diff line Loading @@ -10,11 +10,13 @@ Package MEC_MEC010p2_MEO_GRANT_BV { TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_OK" TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_OK" Test objective Test objective "Check that MEO sends a synchronous grant response when a grant request is requested" "Check that MEO sends a synchronous grant response when a grant request is requested - INSTANTIATE" Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.1", Reference "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.4.2-1" //Grant "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT PICS Selection PIC_GRANTS_MANAGEMENT Loading @@ -34,18 +36,22 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appInstanceId set to APP_INSTANCE_ID, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appLcmOpOccId set to any_value, appDId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - INSTANTIATE - OPERATE - TERMINATE operation set to INSTANTIATE, addResources set to INST_RESOURCES_LIST _links;;; _links;;; from the MEPM entity from the MEPM entity } } then { then { the IUT entity sends a HTTP_RESPONSE containing the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", status set to "201 Created", headers containing Location indicating value "{GRANTING_ID}" body containing body containing Grant containing Grant containing id set to any_value, id set to any_value, appInstanceId set to APP_INSTANCE_ID, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appLcmOpOccId set to any_value, addResources set to INST_RESOURCES_LIST, _links _links ; ; ; ; Loading @@ -54,17 +60,70 @@ Package MEC_MEC010p2_MEO_GRANT_BV { } } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" Test objective "Check that MEO sends a synchronous grant response when a grant request is requested" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT Initial conditions with { the IUT entity having a app_instance containing appInstanceID indicating value APP_INSTANCE_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/granting/v1/grants", body containing GrantRequest containing appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE _links;;; from the MEPM entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", headers containing Location set to "/granting/v1/grants/{GRANTING_ID}" ; body containing Grant containing id set to any_value, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, _links ; ; ; to the MEPM entity } } } Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK - INSTANTIATE" Test objective Test objective "Check that MEO sends a asynchronous grant response when a grant request is requested" "Check that MEO sends a asynchronous grant response when a grant request is requested" Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.1", Reference "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.2.2-1" //GrantRequest "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT PICS Selection PIC_GRANTS_MANAGEMENT Loading @@ -84,7 +143,8 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appInstanceId set to APP_INSTANCE_ID, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appLcmOpOccId set to any_value, appDId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - INSTANTIATE - OPERATE - TERMINATE operation set to INSTANTIATE, addResources set to INST_RESOURCES_LIST, _links _links ; ; ; ; Loading @@ -102,16 +162,63 @@ Package MEC_MEC010p2_MEO_GRANT_BV { } } } } Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK" TP Id "TP_MEC_MEC010p2_MEO_GRANT_004_OK" Test objective Test objective "Check that MEO sends the status of a grant request when a query on a granting ID is performed" "Check that MEO sends a asynchronous grant response when a grant request is requested" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT Initial conditions with { the IUT entity having a app_instance containing appInstanceID indicating value APP_INSTANCE_ID ; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/granting/v1/grants", body containing GrantRequest containing appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE _links ; ; ; from the MEPM entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted", headers containing Location set to "/granting/v1/grants/{GRANTING_ID}" ; ; to the MEPM entity } } } Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2" Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_005_OK" Test objective "Check that MEO sends the status of a grant request when a query on a granting ID is performed" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" Config Id Config_MEC_3 Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT PICS Selection PIC_GRANTS_MANAGEMENT Loading Loading @@ -142,15 +249,14 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_004_OK" TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_OK" Test objective Test objective "Check that MEO sends the status of a grant request when a query on a granting ID is performed" "Check that MEO sends the status of a grant request when a query on a granting ID is performed" Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2", Reference "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.4.2-1" //Grant "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" Config Id Config_MEC_3 Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT PICS Selection PIC_GRANTS_MANAGEMENT Loading Loading
Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +56 −7 Original line number Original line Diff line number Diff line Loading @@ -7,14 +7,63 @@ Package MEC_MEC010p2_MEO_GRANT_BI { import all from MEC_Common; import all from MEC_Common; Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" //Negative case 400 Bad request TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" Test objective "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed - INSTANTIATE" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT Initial conditions with { the IUT entity having a app_instance containing appInstanceID indicating value APP_INSTANCE_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/granting/v1/grants", body containing GrantRequest containing appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, operationERROR set to INSTANTIATE, not addResources, _links ; ; ; from the MEPM entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request" ; to the MEPM entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" Test objective Test objective "Check that MEO responds with an error when it receives "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed" a malformed request when a new grant request is performed" Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2", Reference "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.4.2-1" //Grant "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 Config Id Config_MEC_3 Loading Loading @@ -50,7 +99,7 @@ Package MEC_MEC010p2_MEO_GRANT_BI { } } Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" //Negative case 404 Not found TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" Test objective Test objective "Check that MEO responds with an error when it receives "Check that MEO responds with an error when it receives Loading
Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +132 −26 Original line number Original line Diff line number Diff line Loading @@ -10,11 +10,13 @@ Package MEC_MEC010p2_MEO_GRANT_BV { TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_OK" TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_OK" Test objective Test objective "Check that MEO sends a synchronous grant response when a grant request is requested" "Check that MEO sends a synchronous grant response when a grant request is requested - INSTANTIATE" Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.1", Reference "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.4.2-1" //Grant "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT PICS Selection PIC_GRANTS_MANAGEMENT Loading @@ -34,18 +36,22 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appInstanceId set to APP_INSTANCE_ID, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appLcmOpOccId set to any_value, appDId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - INSTANTIATE - OPERATE - TERMINATE operation set to INSTANTIATE, addResources set to INST_RESOURCES_LIST _links;;; _links;;; from the MEPM entity from the MEPM entity } } then { then { the IUT entity sends a HTTP_RESPONSE containing the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", status set to "201 Created", headers containing Location indicating value "{GRANTING_ID}" body containing body containing Grant containing Grant containing id set to any_value, id set to any_value, appInstanceId set to APP_INSTANCE_ID, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appLcmOpOccId set to any_value, addResources set to INST_RESOURCES_LIST, _links _links ; ; ; ; Loading @@ -54,17 +60,70 @@ Package MEC_MEC010p2_MEO_GRANT_BV { } } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" Test objective "Check that MEO sends a synchronous grant response when a grant request is requested" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT Initial conditions with { the IUT entity having a app_instance containing appInstanceID indicating value APP_INSTANCE_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/granting/v1/grants", body containing GrantRequest containing appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE _links;;; from the MEPM entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", headers containing Location set to "/granting/v1/grants/{GRANTING_ID}" ; body containing Grant containing id set to any_value, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, _links ; ; ; to the MEPM entity } } } Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK - INSTANTIATE" Test objective Test objective "Check that MEO sends a asynchronous grant response when a grant request is requested" "Check that MEO sends a asynchronous grant response when a grant request is requested" Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.1", Reference "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.2.2-1" //GrantRequest "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT PICS Selection PIC_GRANTS_MANAGEMENT Loading @@ -84,7 +143,8 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appInstanceId set to APP_INSTANCE_ID, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appLcmOpOccId set to any_value, appDId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - INSTANTIATE - OPERATE - TERMINATE operation set to INSTANTIATE, addResources set to INST_RESOURCES_LIST, _links _links ; ; ; ; Loading @@ -102,16 +162,63 @@ Package MEC_MEC010p2_MEO_GRANT_BV { } } } } Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK" TP Id "TP_MEC_MEC010p2_MEO_GRANT_004_OK" Test objective Test objective "Check that MEO sends the status of a grant request when a query on a granting ID is performed" "Check that MEO sends a asynchronous grant response when a grant request is requested" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT Initial conditions with { the IUT entity having a app_instance containing appInstanceID indicating value APP_INSTANCE_ID ; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/granting/v1/grants", body containing GrantRequest containing appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE _links ; ; ; from the MEPM entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted", headers containing Location set to "/granting/v1/grants/{GRANTING_ID}" ; ; to the MEPM entity } } } Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2" Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_005_OK" Test objective "Check that MEO sends the status of a grant request when a query on a granting ID is performed" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" Config Id Config_MEC_3 Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT PICS Selection PIC_GRANTS_MANAGEMENT Loading Loading @@ -142,15 +249,14 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Test Purpose { Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_004_OK" TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_OK" Test objective Test objective "Check that MEO sends the status of a grant request when a query on a granting ID is performed" "Check that MEO sends the status of a grant request when a query on a granting ID is performed" Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2", Reference "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.4.2-1" //Grant "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" Config Id Config_MEC_3 Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT PICS Selection PIC_GRANTS_MANAGEMENT Loading