diff --git a/httprunner/templates/report_template.html b/httprunner/templates/report_template.html index 03ba45f2..798b91f0 100644 --- a/httprunner/templates/report_template.html +++ b/httprunner/templates/report_template.html @@ -279,7 +279,7 @@ {{key}} {% if key == "headers" %} - {% for header_key, header_value in record.meta_data.request.headers.items() %} + {% for header_key, header_value in record.meta_data.response.headers.items() %}
{{ header_key }}: {{ header_value }}