Commit b3c1bdf8 authored by Elian Kraja's avatar Elian Kraja
Browse files

Refactor MEC029, Fix on MEC012

parent 22f44068
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
*** Settings *** *** Settings ***
Resource environment/variables.txt Resource environment/variables.txt
Resource ../../pics.txt Resource ../../../pics.txt
Resource ../../GenericKeywords.robot Resource ../../../GenericKeywords.robot
Resource resources/RadioNetworkInformationAPI.robot Resource resources/RadioNetworkInformationAPI.robot
Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false
Library BuiltIn Library BuiltIn
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
*** Settings *** *** Settings ***
Resource environment/variables.txt Resource environment/variables.txt
Resource ../../pics.txt Resource ../../../pics.txt
Resource ../../GenericKeywords.robot Resource ../../../GenericKeywords.robot
Resource resources/RadioNetworkInformationAPI.robot Resource resources/RadioNetworkInformationAPI.robot
Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
*** Settings *** *** Settings ***
Resource environment/variables.txt Resource environment/variables.txt
Resource ../../pics.txt Resource ../../../pics.txt
Resource ../../GenericKeywords.robot Resource ../../../GenericKeywords.robot
Resource resources/RadioNetworkInformationAPI.robot Resource resources/RadioNetworkInformationAPI.robot
Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
*** Settings *** *** Settings ***
Resource environment/variables.txt Resource environment/variables.txt
Resource ../../pics.txt Resource ../../../pics.txt
Resource ../../GenericKeywords.robot Resource ../../../GenericKeywords.robot
Resource resources/RadioNetworkInformationAPI.robot Resource resources/RadioNetworkInformationAPI.robot
Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
*** Settings *** *** Settings ***
Library OperatingSystem Library OperatingSystem
Resource environment/variables.txt Resource environment/variables.txt
Resource ../../pics.txt Resource ../../../pics.txt
Resource ../../GenericKeywords.robot Resource ../../../GenericKeywords.robot
Resource resources/RadioNetworkInformationAPI.robot Resource resources/RadioNetworkInformationAPI.robot
Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false
Library String Library String
......
*** Settings *** *** Settings ***
Resource ../environment/variables.txt Resource ../environment/variables.txt
Resource ../../../pics.txt Resource ../../../../pics.txt
Resource ../../../GenericKeywords.robot Resource ../../../../GenericKeywords.robot
Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false
Library JSONSchemaLibrary schemas/ Library JSONSchemaLibrary schemas/
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
Documentation Documentation
... A test suite for validating Fixed Access Information Service (FAIS) operations. ... A test suite for validating Fixed Access Information Service (FAIS) operations.
Resource ../../GenericKeywords.robot Resource ../../../GenericKeywords.robot
Resource ../../../pics.txt
Resource environment/variables.txt Resource environment/variables.txt
Library REST ${SCHEMA}://${HOST}:${PORT} ssl_verify=false Library REST ${SCHEMA}://${HOST}:${PORT} ssl_verify=false
Library OperatingSystem Library OperatingSystem
...@@ -15,8 +16,7 @@ Default Tags TC_MEC_SRV_FAIS ...@@ -15,8 +16,7 @@ Default Tags TC_MEC_SRV_FAIS
*** Test Cases *** *** Test Cases ***
TC_MEC_MEC029_SRV_FAIS_001_OK
TC_MEC_SRV_FAIS_001_OK
[Documentation] [Documentation]
... Check that the IUT responds with the current status of the fixed access information ... Check that the IUT responds with the current status of the fixed access information
... when queried by a MEC Application ... when queried by a MEC Application
...@@ -29,7 +29,7 @@ TC_MEC_SRV_FAIS_001_OK ...@@ -29,7 +29,7 @@ TC_MEC_SRV_FAIS_001_OK
Check HTTP Response Body Json Schema Is FaInfo Check HTTP Response Body Json Schema Is FaInfo
TC_MEC_SRV_FAIS_001_BR TC_MEC_MEC029_SRV_FAIS_001_BR
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request with incorrect parameters is sent by a MEC Application ... a request with incorrect parameters is sent by a MEC Application
...@@ -41,7 +41,7 @@ TC_MEC_SRV_FAIS_001_BR ...@@ -41,7 +41,7 @@ TC_MEC_SRV_FAIS_001_BR
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TC_MEC_SRV_FAIS_001_NF TC_MEC_MEC029_SRV_FAIS_001_NF
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request for non-existing data is sent by a MEC Application ... a request for non-existing data is sent by a MEC Application
...@@ -53,7 +53,7 @@ TC_MEC_SRV_FAIS_001_NF ...@@ -53,7 +53,7 @@ TC_MEC_SRV_FAIS_001_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TC_MEC_SRV_FAIS_002_OK TC_MEC_MEC029_SRV_FAIS_002_OK
[Documentation] [Documentation]
... Check that the IUT responds with the current status of the device information ... Check that the IUT responds with the current status of the device information
... when queried by a MEC Application ... when queried by a MEC Application
...@@ -66,7 +66,7 @@ TC_MEC_SRV_FAIS_002_OK ...@@ -66,7 +66,7 @@ TC_MEC_SRV_FAIS_002_OK
Check HTTP Response Body Json Schema Is DeviceInfo Check HTTP Response Body Json Schema Is DeviceInfo
TC_MEC_SRV_FAIS_002_BR TC_MEC_MEC029_SRV_FAIS_002_BR
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request with incorrect parameters is sent by a MEC Application ... a request with incorrect parameters is sent by a MEC Application
...@@ -78,7 +78,7 @@ TC_MEC_SRV_FAIS_002_BR ...@@ -78,7 +78,7 @@ TC_MEC_SRV_FAIS_002_BR
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TC_MEC_SRV_FAIS_002_NF TC_MEC_MEC029_SRV_FAIS_002_NF
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request for non-existing data is sent by a MEC Application ... a request for non-existing data is sent by a MEC Application
...@@ -90,7 +90,7 @@ TC_MEC_SRV_FAIS_002_NF ...@@ -90,7 +90,7 @@ TC_MEC_SRV_FAIS_002_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TC_MEC_SRV_FAIS_003_OK TC_MEC_MEC029_SRV_FAIS_003_OK
[Documentation] [Documentation]
... Check that the IUT responds with the current status of the cable line information ... Check that the IUT responds with the current status of the cable line information
... when queried by a MEC Application ... when queried by a MEC Application
...@@ -103,7 +103,7 @@ TC_MEC_SRV_FAIS_003_OK ...@@ -103,7 +103,7 @@ TC_MEC_SRV_FAIS_003_OK
Check HTTP Response Body Json Schema Is CableLineInfo Check HTTP Response Body Json Schema Is CableLineInfo
TC_MEC_SRV_FAIS_003_BR TC_MEC_MEC029_SRV_FAIS_003_BR
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request with incorrect parameters is sent by a MEC Application ... a request with incorrect parameters is sent by a MEC Application
...@@ -115,7 +115,7 @@ TC_MEC_SRV_FAIS_003_BR ...@@ -115,7 +115,7 @@ TC_MEC_SRV_FAIS_003_BR
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TC_MEC_SRV_FAIS_003_NF TC_MEC_MEC029_SRV_FAIS_003_NF
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request for non-existing data is sent by a MEC Application ... a request for non-existing data is sent by a MEC Application
...@@ -127,7 +127,7 @@ TC_MEC_SRV_FAIS_003_NF ...@@ -127,7 +127,7 @@ TC_MEC_SRV_FAIS_003_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TC_MEC_SRV_FAIS_004_OK TC_MEC_MEC029_SRV_FAIS_004_OK
[Documentation] [Documentation]
... Check that the IUT responds with the current status of the optical network information ... Check that the IUT responds with the current status of the optical network information
... when queried by a MEC Application ... when queried by a MEC Application
...@@ -140,7 +140,7 @@ TC_MEC_SRV_FAIS_004_OK ...@@ -140,7 +140,7 @@ TC_MEC_SRV_FAIS_004_OK
Check HTTP Response Body Json Schema Is PonInfo Check HTTP Response Body Json Schema Is PonInfo
TC_MEC_SRV_FAIS_004_BR TC_MEC_MEC029_SRV_FAIS_004_BR
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request with incorrect parameters is sent by a MEC Application ... a request with incorrect parameters is sent by a MEC Application
...@@ -152,7 +152,7 @@ TC_MEC_SRV_FAIS_004_BR ...@@ -152,7 +152,7 @@ TC_MEC_SRV_FAIS_004_BR
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TC_MEC_SRV_FAIS_004_NF TC_MEC_MEC029_SRV_FAIS_004_NF
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request for non-existing data is sent by a MEC Application ... a request for non-existing data is sent by a MEC Application
...@@ -164,7 +164,7 @@ TC_MEC_SRV_FAIS_004_NF ...@@ -164,7 +164,7 @@ TC_MEC_SRV_FAIS_004_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TC_MEC_SRV_FAIS_005_OK TC_MEC_MEC029_SRV_FAIS_005_OK
[Documentation] [Documentation]
... Check that the IUT responds with the subscriptions for fixed access information notifications ... Check that the IUT responds with the subscriptions for fixed access information notifications
... when queried by a MEC Application ... when queried by a MEC Application
...@@ -177,7 +177,7 @@ TC_MEC_SRV_FAIS_005_OK ...@@ -177,7 +177,7 @@ TC_MEC_SRV_FAIS_005_OK
Check HTTP Response Body Json Schema Is SubscriptionLinkList Check HTTP Response Body Json Schema Is SubscriptionLinkList
TC_MEC_SRV_FAIS_005_BR TC_MEC_MEC029_SRV_FAIS_005_BR
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request with incorrect parameters is sent by a MEC Application ... a request with incorrect parameters is sent by a MEC Application
...@@ -189,7 +189,7 @@ TC_MEC_SRV_FAIS_005_BR ...@@ -189,7 +189,7 @@ TC_MEC_SRV_FAIS_005_BR
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TC_MEC_SRV_FAIS_005_NF TC_MEC_MEC029_SRV_FAIS_005_NF
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request for non-existing data is sent by a MEC Application ... a request for non-existing data is sent by a MEC Application
...@@ -201,7 +201,7 @@ TC_MEC_SRV_FAIS_005_NF ...@@ -201,7 +201,7 @@ TC_MEC_SRV_FAIS_005_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TC_MEC_SRV_FAIS_006_OK TC_MEC_MEC029_SRV_FAIS_006_OK
[Documentation] [Documentation]
... Check that the IUT acknowledges the subscription by a MEC Application ... Check that the IUT acknowledges the subscription by a MEC Application
... to notifications on Optical Network Unit alarm events ... to notifications on Optical Network Unit alarm events
...@@ -216,7 +216,7 @@ TC_MEC_SRV_FAIS_006_OK ...@@ -216,7 +216,7 @@ TC_MEC_SRV_FAIS_006_OK
TC_MEC_SRV_FAIS_006_BR TC_MEC_MEC029_SRV_FAIS_006_BR
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request with incorrect parameters is sent by a MEC Application ... a request with incorrect parameters is sent by a MEC Application
...@@ -228,7 +228,7 @@ TC_MEC_SRV_FAIS_006_BR ...@@ -228,7 +228,7 @@ TC_MEC_SRV_FAIS_006_BR
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TC_MEC_SRV_FAIS_007_OK TC_MEC_MEC029_SRV_FAIS_007_OK
[Documentation] [Documentation]
... Check that the IUT responds with the information on a given subscription ... Check that the IUT responds with the information on a given subscription
... when queried by a MEC Application ... when queried by a MEC Application
...@@ -242,7 +242,7 @@ TC_MEC_SRV_FAIS_007_OK ...@@ -242,7 +242,7 @@ TC_MEC_SRV_FAIS_007_OK
Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType OnuAlarmSubscription Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType OnuAlarmSubscription
TC_MEC_SRV_FAIS_007_NF TC_MEC_MEC029_SRV_FAIS_007_NF
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request for an unknown URI is sent by a MEC Application ... a request for an unknown URI is sent by a MEC Application
...@@ -254,7 +254,7 @@ TC_MEC_SRV_FAIS_007_NF ...@@ -254,7 +254,7 @@ TC_MEC_SRV_FAIS_007_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TC_MEC_SRV_FAIS_008_OK TC_MEC_MEC029_SRV_FAIS_008_OK
[Documentation] [Documentation]
... Check that the IUT updates an existing subscription ... Check that the IUT updates an existing subscription
... when commanded by a MEC Application ... when commanded by a MEC Application
...@@ -268,7 +268,7 @@ TC_MEC_SRV_FAIS_008_OK ...@@ -268,7 +268,7 @@ TC_MEC_SRV_FAIS_008_OK
Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType OnuAlarmSubscription Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType OnuAlarmSubscription
TC_MEC_SRV_FAIS_008_BR TC_MEC_MEC029_SRV_FAIS_008_BR
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request with incorrect parameters is sent by a MEC Application ... a request with incorrect parameters is sent by a MEC Application
...@@ -280,7 +280,7 @@ TC_MEC_SRV_FAIS_008_BR ...@@ -280,7 +280,7 @@ TC_MEC_SRV_FAIS_008_BR
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TC_MEC_SRV_FAIS_008_NF TC_MEC_MEC029_SRV_FAIS_008_NF
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request for an unknown URI is sent by a MEC Application ... a request for an unknown URI is sent by a MEC Application
...@@ -292,7 +292,7 @@ TC_MEC_SRV_FAIS_008_NF ...@@ -292,7 +292,7 @@ TC_MEC_SRV_FAIS_008_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TC_MEC_SRV_FAIS_008_PF TC_MEC_MEC029_SRV_FAIS_008_PF
[Documentation] [Documentation]
... Check that the IUT responds with an error when ... Check that the IUT responds with an error when
... a request sent by a MEC Application doesn't comply with a required condition ... a request sent by a MEC Application doesn't comply with a required condition
...@@ -304,7 +304,7 @@ TC_MEC_SRV_FAIS_008_PF ...@@ -304,7 +304,7 @@ TC_MEC_SRV_FAIS_008_PF
Check HTTP Response Status Code Is 412 Check HTTP Response Status Code Is 412
TC_MEC_SRV_FAIS_009_OK TC_MEC_MEC029_SRV_FAIS_009_OK
[Documentation] [Documentation]
... Check that the IUT cancels an existing subscription ... Check that the IUT cancels an existing subscription
... when commanded by a MEC Application ... when commanded by a MEC Application
...@@ -316,7 +316,7 @@ TC_MEC_SRV_FAIS_009_OK ...@@ -316,7 +316,7 @@ TC_MEC_SRV_FAIS_009_OK
Check HTTP Response Status Code Is 204 Check HTTP Response Status Code Is 204
TC_MEC_SRV_FAIS_010_OK TC_MEC_MEC029_SRV_FAIS_010_OK
[Documentation] [Documentation]
... Check that the IUT sends notification on expiry of Fixed Access Information event subscription ... Check that the IUT sends notification on expiry of Fixed Access Information event subscription
... to a MEC Application ... to a MEC Application
...@@ -336,7 +336,7 @@ TC_MEC_SRV_FAIS_010_OK ...@@ -336,7 +336,7 @@ TC_MEC_SRV_FAIS_010_OK
Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint}
TC_MEC_SRV_FAIS_011_OK TC_MEC_MEC029_SRV_FAIS_011_OK
[Documentation] [Documentation]
... Check that the IUT sends notifications on Fixed Access Information events ... Check that the IUT sends notifications on Fixed Access Information events
... to a subscribed MEC Application ... to a subscribed MEC Application
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment