Commit 029fbbbc authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

added test doc to SOL002 VNF PM

parent 6c9a60d5
......@@ -19,7 +19,7 @@ Set new VNF Configuration
Send VNF configuration
Check HTTP Response Status Code Is 200
Check HTTP Response Header Contains ETag
Check HTTP Response Body Json Schema Is vnfConfigModifications.schema.json
Check HTTP Response Body Json Schema Is vnfConfigModifications
Check Postcondition VNF Is Configured
Get information about a VNF configuration
......@@ -34,7 +34,7 @@ Get information about a VNF configuration
... Post-Conditions: none
Get VNF configuration
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfConfiguration.schema.json
Check HTTP Response Body Json Schema Is vnfConfiguration
Get information about a VNF configuration with HTTP Etag
[Tags] etag
......@@ -49,7 +49,7 @@ Get information about a VNF configuration with HTTP Etag
Get VNF configuration
Check HTTP Response Status Code Is 200
Check HTTP Response Header Contains ETag
Check HTTP Response Body Json Schema Is vnfConfiguration.schema.json
Check HTTP Response Body Json Schema Is vnfConfiguration
Set new VNF Configuration - HTTP Etag precondition unsuccessful
[Tags] etag
......@@ -138,8 +138,9 @@ Check HTTP Response Header Contains
Log Header is present
Check HTTP Response Body Json Schema Is
[Arguments] ${schema}
[Arguments] ${input}
Should Contain ${response[0]['headers']['Content-Type']} application/json
${schema} = Catenate ${input} .schema.json
Validate Json ${schema} ${response[0]['body']}
Log Json Schema Validation OK
......
......@@ -171,8 +171,9 @@ Check HTTP Response Header Contains
Log Header is present
Check HTTP Response Body Json Schema Is
[Arguments] ${schema}
[Arguments] ${input}
Should Contain ${response[0]['headers']['Content-Type']} application/json
${schema} = Catenate ${input} .schema.json
Validate Json ${schema} ${response[0]['body']}
Log Json Schema Validation OK
......
......@@ -144,8 +144,9 @@ Check HTTP Response Header Contains
Log Header is present
Check HTTP Response Body Json Schema Is
[Arguments] ${schema}
[Arguments] ${input}
Should Contain ${response[0]['headers']['Content-Type']} application/json
${schema} = Catenate ${input} .schema.json
Validate Json ${schema} ${response[0]['body']}
Log Json Schema Validation OK
......
......@@ -191,8 +191,9 @@ Check HTTP Response Header Contains
Log Header is present
Check HTTP Response Body Json Schema Is
[Arguments] ${schema}
[Arguments] ${input}
Should Contain ${response[0]['headers']['Content-Type']} application/json
${schema} = Catenate ${input} .schema.json
Validate Json ${schema} ${response[0]['body']}
Log Json Schema Validation OK
......
This diff is collapsed.
......@@ -188,8 +188,9 @@ Check HTTP Response Header Contains
Log Header is present
Check HTTP Response Body Json Schema Is
[Arguments] ${schema}
[Arguments] ${input}
Should Contain ${response[0]['headers']['Content-Type']} application/json
${schema} = Catenate ${input} .schema.json
Validate Json ${schema} ${response[0]['body']}
Log Json Schema Validation OK
......
......@@ -2,3 +2,4 @@
${POS_FILTER} objectInstanceIds=1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${NEG_FILTER} criteriaPmJob=erroneousAttributeName
${fields} criteria,reports
@{response}= httpresponse
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