Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
api-tests
Commits
81ef0d34
Commit
81ef0d34
authored
Nov 02, 2020
by
Najam UI Hassan
Browse files
added majorAPIVersion
parent
9dd75a29
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
SOL005/NSPerformanceManagement-API/ApiVersion.robot
View file @
81ef0d34
...
...
@@ -169,35 +169,35 @@ DELETE API Version
POST API Version with apiMajorVersion
Set Headers
{"Accept":"
${ACCEPT_JSON}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
Post
${apiRoot}
/
${apiName}
/
v1
/api_version
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/api_version
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
GET API Version with apiMajorVersion
Set Headers
{"Accept":"
${ACCEPT_JSON}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
Get
${apiRoot}
/
${apiName}
/
v1
/api_version
Get
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/api_version
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
PUT API Version with apiMajorVersion
Set Headers
{"Accept":"
${ACCEPT_JSON}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
Put
${apiRoot}
/
${apiName}
/
v1
/api_version
Put
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/api_version
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
PATCH API Version with apiMajorVersion
Set Headers
{"Accept":"
${ACCEPT_JSON}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
Patch
${apiRoot}
/
${apiName}
/
v1
/api_version
Patch
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/api_version
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
DELETE API Version with apiMajorVersion
Set Headers
{"Accept":"
${ACCEPT_JSON}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
Delete
${apiRoot}
/
${apiName}
/
v1
/api_version
Delete
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/api_version
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
...
...
SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot
View file @
81ef0d34
This diff is collapsed.
Click to expand it.
SOL005/NSPerformanceManagement-API/PMJobs.robot
View file @
81ef0d34
...
...
@@ -180,7 +180,7 @@ GET all NS Performance Monitoring Jobs as Paged Response
...
Post-Conditions: none
GET all NS Performance Monitoring Jobs
Check HTTP Response Status Code Is
200
Check
LINK in Header
Check
HTTP Response Header Contains Location
GET NS Performance Monitoring Jobs - Bad Request Response too Big
[
Documentation
]
Test ID: 5.3.4.1.14
...
...
SOL005/NSPerformanceManagement-API/Thresholds.robot
View file @
81ef0d34
...
...
@@ -124,7 +124,7 @@ GET All Performance Thresholds as Paged Response
...
Post-Conditions: none
GET all Performance Thresholds
Check HTTP Response Status Code Is
200
Check
LINK in Header
Check
HTTP Response Header Contains Location
GET Performance Thresholds - Bad Request Response too Big
[
Documentation
]
Test ID: 5.3.4.4.10
...
...
SOL005/NSPerformanceManagement-API/environment/variables.txt
View file @
81ef0d34
...
...
@@ -8,7 +8,7 @@ ${ACCEPT_JSON} application/json
${apiRoot} /
${AUTH_USAGE} 1
${NEG_AUTHORIZATION} Bearer negativetoken
${apiVersion} v1
${api
Major
Version} v1
${apiName} nspm
${FIELD_USAGE} 1
${NFVO_CHECKS_NOTIF_ENDPOINT} 1
...
...
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