diff --git a/httprunner/templates/default_report_template.html b/httprunner/templates/default_report_template.html index 29215db7..03ba45f2 100644 --- a/httprunner/templates/default_report_template.html +++ b/httprunner/templates/default_report_template.html @@ -288,7 +288,7 @@ {% if value == "image" %} {% else %} -
{{ record.meta_data.response.text }}
+
{{ record.meta_data.response.text | e }}
{% endif %} {% else %} {{value}} diff --git a/httprunner/templates/extent_report_template.html b/httprunner/templates/extent_report_template.html index 248d255d..03b8c06d 100644 --- a/httprunner/templates/extent_report_template.html +++ b/httprunner/templates/extent_report_template.html @@ -171,14 +171,17 @@
- {{ stat.successes }} test(s) passed + {{ stat.failures }} test(s) failed
{{ stat.errors }} test(s) - failed, {{ stat.skipped }} + >{{ stat.errors }} + test(s) errored + {{ stat.skipped }} test(s) skipped
@@ -191,13 +194,12 @@
- - +
- suite(s) failed + suite(s) + failed
@@ -213,7 +215,7 @@