Commit aeb7d6df authored by Giacomo Bernini's avatar Giacomo Bernini Committed by Giacomo Bernini
Browse files

fixed issues #90 and #190 in 2.8.1

parent 6c3d8ca5
...@@ -136,7 +136,8 @@ Check HTTP Response Header Contains ...@@ -136,7 +136,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/problem+json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema}= Catenate SEPARATOR= ${input} .schema.json ${schema}= Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -352,7 +352,8 @@ Check HTTP Response Header Contains ...@@ -352,7 +352,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -112,7 +112,8 @@ Check HTTP Response Status Code Is ...@@ -112,7 +112,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
\ No newline at end of file
...@@ -192,7 +192,8 @@ Check HTTP Response Status Code Is ...@@ -192,7 +192,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -147,7 +147,8 @@ Check HTTP Response Status Code Is ...@@ -147,7 +147,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -424,7 +424,8 @@ Check HTTP Response Status Code Is ...@@ -424,7 +424,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -168,7 +168,8 @@ Check HTTP Response Header Contains ...@@ -168,7 +168,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -218,7 +218,8 @@ Check HTTP Response Header Contains ...@@ -218,7 +218,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -282,7 +282,8 @@ Check HTTP Response Header Contains ...@@ -282,7 +282,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -286,7 +286,8 @@ Check HTTP Response Header Contains ...@@ -286,7 +286,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${schema} [Arguments] ${schema}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${jsonSchema}= Catenate SEPARATOR= ${schema} .schema.json ${jsonSchema}= Catenate SEPARATOR= ${schema} .schema.json
Validate Json ${jsonSchema} ${response['body']} Validate Json ${jsonSchema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -214,7 +214,8 @@ Check HTTP Response Header Contains ...@@ -214,7 +214,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -40,6 +40,8 @@ Check Operation Occurrence Id ...@@ -40,6 +40,8 @@ Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -241,7 +241,8 @@ Check HTTP Response Header Contains ...@@ -241,7 +241,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -155,7 +155,8 @@ Check HTTP Response Header Contains ...@@ -155,7 +155,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -243,7 +243,8 @@ Check HTTP Response Header Contains ...@@ -243,7 +243,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -409,7 +409,8 @@ Check HTTP Response Header Contains ...@@ -409,7 +409,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -257,7 +257,8 @@ Check HTTP Response Header Contains ...@@ -257,7 +257,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -271,7 +271,8 @@ Check HTTP Response Status Code Is ...@@ -271,7 +271,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -63,6 +63,8 @@ Check HTTP Response Header Contains ...@@ -63,6 +63,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
...@@ -172,7 +172,8 @@ Check HTTP Response Status Code Is ...@@ -172,7 +172,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is Check HTTP Response Body Json Schema Is
[Arguments] ${input} [Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json Run Keyword If '${input}' == 'ProblemDetails' Should Contain ${response['headers']['Content-Type']} application/problem+json
... ELSE Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json ${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']} Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK Log Json Schema Validation OK
......
Markdown is supported
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