Saturday 19 February 2022

SSL error CERTIFICATE_VERIFY_FAILED with Locust when using Docker

You can do turn the verification off by adding below method:

def on_start(self):
    """ on_start is called when a Locust start before any task is scheduled """ 

    self.client.verify = False 


from: https://stackoverflow.com/questions/62452566/ssl-error-certificate-verify-failed-with-locust-when-using-docker

No comments:

Post a Comment