{{#with request}}
{{#if description.content}}
Request Description
{{description.content}}
{{/if}}
{{/with}}
Request Information
Request Method: {{request.method}}
Request URL: {{request.url}}
Response Information
Response Code: {{response.code}} - {{response.status}}
Mean time per request: {{mean.time}}
Mean size per request: {{mean.size}}
Test Pass Percentage
{{#if assertions.length}}
{{#gte cumulativeTests.passed 1}}{{percent cumulativeTests.passed cumulativeTests.failed}} %{{else}}0 %{{/gte}}
{{else}}
No Tests for this request
{{/if}}
{{#with request}}
{{#unless @root.omitHeaders}}
{{#unless @root.skipSensitiveData}}
Request Headers
{{#if headers}}
| Header Name | Header Value |
{{#each headers.members}}
{{#isNotIn key @root.skipHeaders}}
| {{key}} |
{{value}} |
{{/isNotIn}}
{{/each}}
{{/if}}
{{/unless}}
{{/unless}}
{{/with}}
{{#unless @root.skipSensitiveData}}
{{#unless @root.omitRequestBodies}}
{{#isNotIn item.name @root.hideRequestBody}}
{{#with request}}
{{#if body.raw}}
{{/if}}
{{/with}}
{{/isNotIn}}
{{/unless}}
{{/unless}}
{{#unless @root.skipSensitiveData}}
{{#unless @root.omitRequestBodies}}
{{#isNotIn item.name @root.hideRequestBody}}
{{#with request}}
{{#if body.formdata.members}}
Request Body
{{formdata body.formdata.members}}
{{/if}}
{{/with}}
{{/isNotIn}}
{{/unless}}
{{/unless}}
{{#unless @root.skipSensitiveData}}
{{#unless @root.omitRequestBodies}}
{{#isNotIn item.name @root.hideRequestBody}}
{{#with request}}
{{#if body.urlencoded.members}}
Request Body
{{formdata body.urlencoded.members}}
{{/if}}
{{/with}}
{{/isNotIn}}
{{/unless}}
{{/unless}}
{{#unless @root.skipSensitiveData}}
{{#unless @root.omitRequestBodies}}
{{#isNotIn item.name @root.hideRequestBody}}
{{#with request}}
{{#if body.graphql}}
Request Body
{{#if body.graphql.variables }}
Graphql Variables
{{body.graphql.variables}}
{{/if}}
{{/if}}
{{/with}}
{{/isNotIn}}
{{/unless}}
{{/unless}}
{{#unless @root.omitHeaders}}
{{#unless @root.skipSensitiveData}}
Response Headers
{{#if response.header}}
| Header Name | Header Value |
{{#each response.header}}
{{#isNotIn key @root.skipHeaders}}
| {{key}} |
{{value}} |
{{/isNotIn}}
{{/each}}
{{/if}}
{{/unless}}
{{/unless}}
{{#unless @root.skipSensitiveData}}
{{#unless @root.omitResponseBodies}}
{{#isNotIn item.name @root.hideResponseBody}}
Response Body
{{#if response.body}}
{{else}}
No Response Body for this request
{{/if}}
{{/isNotIn}}
{{/unless}}
{{/unless}}
{{#if consoleLogs.length}}
Console Logs
| Log Messages |
{{#each consoleLogs}}
{{#each messages}}{{this}}{{/each}}
|
{{/each}}
{{/if}}
Test Information
{{#if assertions.length}}
| Name | Passed | Failed | Skipped |
{{#each assertions}}
| {{this.name}} |
{{this.passed}} |
{{this.failed}} |
{{this.skipped}} |
{{/each}}
| Total |
{{cumulativeTests.passed}} |
{{cumulativeTests.failed}} |
{{cumulativeTests.skipped}} |
Test {{#lte cumulativeTests.failed 1}}Failure{{else}}Failures{{/lte}}
| Test Name | Assertion Error |
{{#each assertions}}
{{#isTheSame testFailure.test this.name}}
| {{testFailure.test}} |
{{testFailure.message}}
|
{{/isTheSame}}
{{/each}}
{{else}}
No Tests for this request
{{/if}}