diff --git a/httprunner/ext/har2case/core.py b/httprunner/ext/har2case/core.py index e460169f..c747b3c7 100644 --- a/httprunner/ext/har2case/core.py +++ b/httprunner/ext/har2case/core.py @@ -109,6 +109,9 @@ class HarParser(object): """ teststep_headers = {} for header in entry_json["request"].get("headers", []): + if header["name"] == "cookie": + continue + teststep_headers[header["name"]] = header["value"] if teststep_headers: