MEC Robot Test Suite issueshttps://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues2022-12-15T15:23:42Zhttps://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues/46MEC-013/SRV/UELOCSUB userTrackingSubscription.json file has an incorrect attr...2022-12-15T15:23:42ZLaurent VelezMEC-013/SRV/UELOCSUB userTrackingSubscription.json file has an incorrect attribute formatIn the json file userTrackingSubscription.json, the attribute `userEventCriteria` is an enum and therfore must be between square brackets [], as follows:
{
"userTrackingSubscription": {
"clientCorrelator": "0123",
"callbackReferenc...In the json file userTrackingSubscription.json, the attribute `userEventCriteria` is an enum and therfore must be between square brackets [], as follows:
{
"userTrackingSubscription": {
"clientCorrelator": "0123",
"callbackReference": {
"notifyURL": "http://clientApp.example.com/location_notifications/123456"
},
"address": "acr:10.0.0.1",
"userEventCriteria": ["Transferring"]
}
}https://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues/48MEC013_SRV_UELOCSUB_001_OK - ${USERTRACK_NOTIF_CALLBACK_URI} incorrect format2022-12-14T14:43:06ZLaurent VelezMEC013_SRV_UELOCSUB_001_OK - ${USERTRACK_NOTIF_CALLBACK_URI} incorrect formatIn the TC MEC013_SRV_UELOCSUB_001_OK , the The callback reference is compared to the value in the config variable file.
```robot_framework
# Check Result Contains ${response['body']['userTrackingSubscription']} clientCorrelator ...In the TC MEC013_SRV_UELOCSUB_001_OK , the The callback reference is compared to the value in the config variable file.
```robot_framework
# Check Result Contains ${response['body']['userTrackingSubscription']} clientCorrelator ${USERTRACKSUB_CLIENT_ID}
Should Be Equal As Strings ${response['body']['userTrackingSubscription']['callbackReference']} ${USERTRACK_NOTIF_CALLBACK_URI}
```
The robot is expecting value with simple quote but the value of the example in the variables.txt file is with double quote :
`${USERTRACK_NOTIF_CALLBACK_URI} {"notifyURL": "http://clientApp.example.com/location_notifications/123456"}`
The config variables.txt file should be corrected.https://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues/47MEC013_SRV_UEINFOLOOK_001_NF - Incorrect response status code2022-12-14T14:28:42ZLaurent VelezMEC013_SRV_UEINFOLOOK_001_NF - Incorrect response status codeIn the TC MEC013_SRV_UEINFOLOOK_001_NF, the Test System expects to get a 200 OK response to request `for an unknown URI` .
According to the TP and the specification, the IUT must replies with status code "404 Not Found" .In the TC MEC013_SRV_UEINFOLOOK_001_NF, the Test System expects to get a 200 OK response to request `for an unknown URI` .
According to the TP and the specification, the IUT must replies with status code "404 Not Found" .https://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues/38Plugtest 2021: Specification discussion: non existent attribute in a json bod...2021-02-26T20:19:05ZSimon PastorPlugtest 2021: Specification discussion: non existent attribute in a json body should be ignoredUsed as a placeholder for the specific issue below:
When receiving a json body and an attribute is not defined, the current expectation from the plugtest is to receive a code 400. Is a more appropriate action to ignore the unknown param...Used as a placeholder for the specific issue below:
When receiving a json body and an attribute is not defined, the current expectation from the plugtest is to receive a code 400. Is a more appropriate action to ignore the unknown parameter? This allows a less strict approach. It was not found in the spec what should be the behavior as a result of this situation. Need a clearer spec indication in order to standardized the implementations.https://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues/41Review the TPs and TCs on MEC 0132021-02-18T17:20:02ZMichele CarignaniReview the TPs and TCs on MEC 013https://forge.etsi.org/rep/mec/gs032p3-robot-test-suite/-/issues/25Templates for Notification requests are not resolved2021-02-03T10:53:46ZMichele CarignaniTemplates for Notification requests are not resolvedThe request object for Notification creation contains variables that should be resolved and substituted with the values inserted in variables.txt.
This is currently not supported. As a result, the body of the request contains the variab...The request object for Notification creation contains variables that should be resolved and substituted with the values inserted in variables.txt.
This is currently not supported. As a result, the body of the request contains the variable name, not the variable value.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}
`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/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)