Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC Robot Test Suite
Commits
7f2630ca
Commit
7f2630ca
authored
Apr 30, 2021
by
Elian Kraja
Browse files
Fix on Get File keyword
parent
798f9476
Pipeline
#6841
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
MEC016/MEO/UEAPPCTX/SysUeAppsContext.robot
View file @
7f2630ca
...
...
@@ -113,7 +113,7 @@ Create application context
Set Headers
{"Content-Type":"application/json"}
Set Headers
{"Authorization":"
${TOKEN}
"}
${path}
Catenate
SEPARATOR=
jsons/
${content}
${body}
Get
Binary
File
${path}
${body}
Get File
${path}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/app_contexts
${body}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
...
...
@@ -125,7 +125,7 @@ Create application context using wrong endpoint
Set Headers
{"Content-Type":"application/json"}
Set Headers
{"Authorization":"
${TOKEN}
"}
${path}
Catenate
SEPARATOR=
jsons/
${content}
${body}
Get
Binary
File
${path}
${body}
Get File
${path}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/app_contexts_error
${body}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
...
...
@@ -136,7 +136,9 @@ Update application context
Set Headers
{"Accept":"application/json"}
Set Headers
{"Content-Type":"application/json"}
Set Headers
{"Authorization":"
${TOKEN}
"}
Put
${apiRoot}
/
${apiName}
/
${apiVersion}
/app_contexts/
${context_id}
${content}
${path}
Catenate
SEPARATOR=
jsons/
${content}
${body}
Get File
${path}
Put
${apiRoot}
/
${apiName}
/
${apiVersion}
/app_contexts/
${context_id}
${body}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
...
...
@@ -146,7 +148,9 @@ Update application context using wrong endpoint
Set Headers
{"Accept":"application/json"}
Set Headers
{"Content-Type":"application/json"}
Set Headers
{"Authorization":"
${TOKEN}
"}
Put
${apiRoot}
/
${apiName}
/
${apiVersion}
/app_contexts_error/
${context_id}
${content}
${path}
Catenate
SEPARATOR=
jsons/
${content}
${body}
Get File
${path}
Put
${apiRoot}
/
${apiName}
/
${apiVersion}
/app_contexts_error/
${context_id}
${body}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
...
...
MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.robot
View file @
7f2630ca
...
...
@@ -52,7 +52,7 @@ Obtain Application Location Availability Task
Set Headers
{"Content-Type":"application/json"}
Set Headers
{"Authorization":"
${TOKEN}
"}
${path}
=
Catenate
SEPARATOR=
jsons/
${content}
${body}
Get
Binary
File
${path}
${body}
Get File
${path}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/obtain_app_loc_availability
${body}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
...
...
@@ -64,7 +64,7 @@ Obtain Application Location Availability Task using wrong endpoint
Set Headers
{"Content-Type":"application/json"}
Set Headers
{"Authorization":"
${TOKEN}
"}
${path}
=
Catenate
SEPARATOR=
jsons/
${content}
${body}
Get
Binary
File
${path}
${body}
Get File
${path}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/obtain_app_loc_availability_error
${body}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment