MEC Robot Test Suite issueshttps://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues2020-06-08T13:10:10Zhttps://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues/17SRV/APPSUB/PlatAppSubscriptions.robot TC_MEC_SRV_APPSUB_002_OK better set SUB...2020-06-08T13:10:10ZlimingjiSRV/APPSUB/PlatAppSubscriptions.robot TC_MEC_SRV_APPSUB_002_OK better set SUBSCRIPTION_ID as global variable and keyword error1. TC_MEC_SRV_APPSUB_002_OK better set $SUBSCRIPTION_ID as global variable so it can be passed to below test cases.
2. Check Result Contains ${response['body']['AppTerminationNotificationSubscription']} should be ${response['body']}
...1. TC_MEC_SRV_APPSUB_002_OK better set $SUBSCRIPTION_ID as global variable so it can be passed to below test cases.
2. Check Result Contains ${response['body']['AppTerminationNotificationSubscription']} should be ${response['body']}
suggestion change:
[patch suggest](https://github.com/rexlee8776/mep-robot-test/commit/c62ee36795026cf20b5deddaf03f86c3d1b3f112)https://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues/15SRV/SRVSUB/PlatSrvSubscriptions.robot TC_MEC_SRV_SRVSUB_002_OK better set $SU...2020-06-08T13:10:19ZlimingjiSRV/SRVSUB/PlatSrvSubscriptions.robot TC_MEC_SRV_SRVSUB_002_OK better set $SUBSCRIPTION_ID as golbal variablebetter set $SUBSCRIPTION_ID as golbal variable, so it can be passed to below test cases as input, so that the test suite can run in a batch
suggestion:
`
Check HTTP Response Header Contains Location
Dictionary Should Contain ...better set $SUBSCRIPTION_ID as golbal variable, so it can be passed to below test cases as input, so that the test suite can run in a batch
suggestion:
`
Check HTTP Response Header Contains Location
Dictionary Should Contain Item ${response['body']} subscriptionType SerAvailabilityNotificationSubscription Dictionary Should Contain Item ${response['body']} subscriptionType SerAvailabilityNotificationSubscription
Dictionary Should Contain Item ${response['body']} callbackReference ${APP_SRVSUB_NOTIF_CALLBACK_URI} Dictionary Should Contain Item ${response['body']} callbackReference ${APP_SRVSUB_NOTIF_CALLBACK_URI}
${SUBSCRIPTION_URL}= Get From Dictionary ${response['body']['_links']['self']} href
${SUBSCRIPTION_ID}= Fetch From Right ${SUBSCRIPTION_URL} /
Set Global Variable ${SUBSCRIPTION_ID}
`https://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues/13SRV/APPSAQ/PlatAppServices.robot TC_MEC_SRV_APPSAQ_002_OK better set service_...2020-06-08T13:10:28ZlimingjiSRV/APPSAQ/PlatAppServices.robot TC_MEC_SRV_APPSAQ_002_OK better set service_id as global variable, so the test suite can run together$SERVICE_ID would be called in below test cases, so it should better be set as global variable and pass to below test cases, so that the test suite can run in a row.
a change suggestrion would be:
`
[Tags] PIC_MEC_PLAT PIC_SERVICE...$SERVICE_ID would be called in below test cases, so it should better be set as global variable and pass to below test cases, so that the test suite can run in a row.
a change suggestrion would be:
`
[Tags] PIC_MEC_PLAT PIC_SERVICES
Create new service ServiceInfo ${APP_INSTANCE_ID} Create new service ServiceInfo ${APP_INSTANCE_ID}
Check HTTP Response Status Code Is 201 Check HTTP Response Status Code Is 201
Check HTTP Response Body Json Schema Is ServiceInfo Check HTTP Response Body Json Schema Is ServiceInfo
Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location
Set Global Variable ${SERVICE_ID}
`