def post_comment()

in wp-loadgenerator/locustfile.py [0:0]


    def post_comment(self):
        author = rand_str(6)
        self.client.post("/wp-comments-post.php", data={
            "comment": rand_str(200),
            "author": author,
            "email": author + "@test.com",
            "url": "",
            "wp-comment-cookies-consent": "yes",
            "submit": "Post Comment",
            "comment_post_ID": 1,
            "comment_parent": 0,
        }, verify=False)