diff --git a/har2locust/extra_plugins/plugin_example.py b/har2locust/extra_plugins/plugin_example.py index b1951ec..0c2af01 100644 --- a/har2locust/extra_plugins/plugin_example.py +++ b/har2locust/extra_plugins/plugin_example.py @@ -112,21 +112,3 @@ def visit_With(self, node: ast.With) -> ast.With: return node T().visit(tree) - - -# More examples - -# @entriesprocessor -# def log_something_and_drop_everthing_but_the_first_request(entries): -# logging.info(f"hello") -# entries[:] = [entries[0]] # update list in-place - -# @entriesprocessor -# def parametrize_ssn(entries): -# for e in entries: -# if "postData" in e["request"]: -# e["request"]["postData"]["text"] = re.sub( -# r'"personalId":"\d*"', -# "\"personalId\":self.customer['ssn']", -# e["request"]["postData"]["text"], -# )