Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
api-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Miguel Angel Reina Ortega
api-tests
Commits
031fc296
Commit
031fc296
authored
5 years ago
by
Giacomo Bernini
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'master'
fixed filters See merge request
nfv/api-tests!77
parents
84a5a2a1
d214a6e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
+3
-3
3 additions, 3 deletions
...05/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
SOL005/NSLifecycleManagement-API/environment/variables.txt
+3
-0
3 additions, 0 deletions
SOL005/NSLifecycleManagement-API/environment/variables.txt
with
6 additions
and
3 deletions
SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
+
3
−
3
View file @
031fc296
*** Settings ***
Resource
environment/variables.txt
Resource
environment/variables.txt
Library
REST
${NFVO_SCHEMA}
://
${NFVO_HOST}
:
${NFVO_PORT}
Library
JSONLibrary
Library
Process
...
...
@@ -556,7 +556,7 @@ GET NS LCN OP Occurences Invalid attribute-based filtering parameters
Log
Query status information about multiple NS lifecycle management operation occurrences.
Set Headers
{"Accept":"
${ACCEPT}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
GET
${apiRoot}
/
${apiName}
/
${apiVersion}
/ns_lcm_op_occs?
attribute_not_exist=some_value
GET
${apiRoot}
/
${apiName}
/
${apiVersion}
/ns_lcm_op_occs?
${NEG_FILTER}
${outputResponse}
=
Output
response
Set Global Variable
@{response}
${outputResponse}
...
...
@@ -564,7 +564,7 @@ GET NS LCN OP Occurences Invalid attribute selector
Log
Query NS The GET method queries information about multiple NS instances.
Set Headers
{"Accept":"
${ACCEPT}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
GET
${apiRoot}
/
${apiName}
/
${apiVersion}
/ns_lcm_op_occs?
fields=wrong_field
GET
${apiRoot}
/
${apiName}
/
${apiVersion}
/ns_lcm_op_occs?
${NEG_SELECTOR}
${outputResponse}
=
Output
response
Set Global Variable
@{response}
${outputResponse}
...
...
This diff is collapsed.
Click to expand it.
SOL005/NSLifecycleManagement-API/environment/variables.txt
+
3
−
0
View file @
031fc296
...
...
@@ -54,3 +54,6 @@ ${response} {}
${Etag}= an etag
${Etag_modified}= a modified etag
${NEG_FILTER} attribute_not_exist=some_value
${NEG_SELECTOR} fields=wrong_field
\ No newline at end of file
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