Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MEC Robot Test Suite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MEC - Multi-access Edge Computing
MEC Robot Test Suite
Commits
7607edfb
Commit
7607edfb
authored
1 year ago
by
piscione
Browse files
Options
Downloads
Patches
Plain Diff
TTF027: Updated LIV TCs for MEC011v3.2.1
parent
c02ba824
No related branches found
No related tags found
1 merge request
!3
Merge of TT027 branch into master
Pipeline
#15480
canceled
9 months ago
Stage: external
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MEC011/SRV/LIV/Liveness.robot
+35
-12
35 additions, 12 deletions
MEC011/SRV/LIV/Liveness.robot
MEC011/SRV/LIV/environment/variables.txt
+0
-2
0 additions, 2 deletions
MEC011/SRV/LIV/environment/variables.txt
with
35 additions
and
14 deletions
MEC011/SRV/LIV/Liveness.robot
+
35
−
12
View file @
7607edfb
*** Settings ***
*** Settings ***
Documentation
Documentation
...
A test suite for validating
Application Subscriptions (APPSUB
) operations.
...
A test suite for validating
MEC Liveness Service (MLS
) operations.
Resource
../../../GenericKeywords.robot
Resource
../../../GenericKeywords.robot
Resource
environment/variables.txt
Resource
environment/variables.txt
...
@@ -15,35 +15,38 @@ TP_MEC_MEC011_SRV_MSL_001_OK
...
@@ -15,35 +15,38 @@ TP_MEC_MEC011_SRV_MSL_001_OK
[
Documentation
]
[
Documentation
]
...
Check that the IUT responds with the liveness of a MEC service instance
...
Check that the IUT responds with the liveness of a MEC service instance
...
when queried by a MEC Application
...
when queried by a MEC Application
...
Reference
ETSI GS MEC 011 V2.2.1, clause 8.2.10.3.1
...
Reference
"ETSI GS MEC 011 3.2.1, clause 5.2.12",
...
"ETSI GS MEC 011 3.2.1, clause 8.1.2.4",
...
"ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1"
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Individual MEC service liveness
${URL_SERVICE_MEC_LIVENESS}
Individual MEC service liveness
${URL_SERVICE_MEC_LIVENESS}
Check HTTP Response Status Code Is
200
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
ServiceLivenessInfo
Check HTTP Response Body Json Schema Is
ServiceLivenessInfo
Check Response Contains
${response['body']}
state
ACTIVE
TP_MEC_MEC011_SRV_MSL_001_NF
TP_MEC_MEC011_SRV_MSL_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 an URI that cannot be mapped to a valid resource URI
...
a request for an URI that cannot be mapped to a valid resource URI
...
is sent by a MEC Application
...
is sent by a MEC Application
...
Reference
ETSI GS MEC 011 V2.2.1, clause 8.2.10.3.1
...
Reference
"ETSI GS MEC 011 3.2.1, clause 5.2.12",
...
"ETSI GS MEC 011 3.2.1, clause 8.1.2.4",
...
"ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1"
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Individual MEC service liveness
${NOT_EXISING_URL_SERVICE_MEC_LIVENESS}
Individual MEC service liveness
${NOT_EXISING_URL_SERVICE_MEC_LIVENESS}
Check HTTP Response Status Code Is
404
Check HTTP Response Status Code Is
404
TP_MEC_MEC011_SRV_MSL_002_OK
TP_MEC_MEC011_SRV_MSL_002_OK
_01
[
Documentation
]
[
Documentation
]
...
Check that the IUT updates the liveness of a MEC service instance
...
Check that the IUT updates the liveness of a MEC service instance
...
when requested by a MEC Application
...
when requested by a MEC Application
...
Reference
"ETSI GS MEC 011 3.2.1, clause 5.2.12",
...
"ETSI GS MEC 011 3.2.1, clause 8.1.2.5",
...
"ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3"
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Set Headers
{"Authorization":"
${TOKEN}
"}
Set Headers
{"Authorization":"
${TOKEN}
"}
${file}
=
Catenate
SEPARATOR=
jsons/
ServiceLivenessUpdate
.json
${file}
=
Catenate
SEPARATOR=
jsons/
ServiceLivenessUpdate
.json
${body}
=
Get File
${file}
${body}
=
Get File
${file}
Update MEC service liveness
${URL_SERVICE_MEC_LIVENESS}
${body}
Update MEC service liveness
${URL_SERVICE_MEC_LIVENESS}
${body}
...
@@ -51,11 +54,30 @@ TP_MEC_MEC011_SRV_MSL_002_OK
...
@@ -51,11 +54,30 @@ TP_MEC_MEC011_SRV_MSL_002_OK
Check HTTP Response Body Json Schema Is
ServiceLivenessInfo
Check HTTP Response Body Json Schema Is
ServiceLivenessInfo
Check Response Contains
${response['body']}
state
ACTIVE
Check Response Contains
${response['body']}
state
ACTIVE
TP_MEC_MEC011_SRV_MSL_002_OK_02
[
Documentation
]
...
Check that the IUT updates the liveness of a MEC service instance
...
when requested by a MEC Application
...
Reference
"ETSI GS MEC 011 3.2.1, clause 5.2.12",
...
"ETSI GS MEC 011 3.2.1, clause 8.1.2.5",
...
"ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3"
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Set Headers
{"Authorization":"
${TOKEN}
"}
${file}
=
Catenate
SEPARATOR=
jsons/
ServiceLivenessUpdate
.json
${body}
=
Get File
${file}
Update MEC service liveness
${URL_SERVICE_MEC_LIVENESS}
${body}
Check HTTP Response Status Code Is
204
TP_MEC_MEC011_SRV_MSL_002_BR
TP_MEC_MEC011_SRV_MSL_002_BR
[
Documentation
]
[
Documentation
]
...
Check that the IUT responds with an error when
...
Check that the IUT responds with an error when
...
incorrect parameters were sent by a MEC Application
...
incorrect parameters were sent by a MEC Application
...
Reference
"ETSI GS MEC 011 3.2.1, clause 8.1.2.5",
...
"ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3",
...
"ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3"
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Set Headers
{"Authorization":"
${TOKEN}
"}
Set Headers
{"Authorization":"
${TOKEN}
"}
...
@@ -80,6 +102,7 @@ Update MEC service liveness
...
@@ -80,6 +102,7 @@ Update MEC service liveness
[
Arguments
]
${URL_MEC_SERVICE_LIVENESS}
${body}
[
Arguments
]
${URL_MEC_SERVICE_LIVENESS}
${body}
Set Headers
{"Accept":"application/json"}
Set Headers
{"Accept":"application/json"}
Set Headers
{"Authorization":"
${TOKEN}
"}
Set Headers
{"Authorization":"
${TOKEN}
"}
Set Headers
{"Content-Type":"application/json"}
Patch
${URL_MEC_SERVICE_LIVENESS}
${body}
Patch
${URL_MEC_SERVICE_LIVENESS}
${body}
${output}
=
Output
response
${output}
=
Output
response
Set Suite Variable
${response}
${output}
Set Suite Variable
${response}
${output}
This diff is collapsed.
Click to expand it.
MEC011/SRV/LIV/environment/variables.txt
+
0
−
2
View file @
7607edfb
...
@@ -6,8 +6,6 @@ ${PORT} 8081
...
@@ -6,8 +6,6 @@ ${PORT} 8081
${response} {}
${response} {}
${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l
${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l
${apiRoot}
${apiRoot}
${apiName} mec_app_support
${apiVersion} v1
# Specific variables
# Specific variables
${URL_SERVICE_MEC_LIVENESS} /link/to/individual/mecServiceLiveness
${URL_SERVICE_MEC_LIVENESS} /link/to/individual/mecServiceLiveness
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment