Skip to content
Advertisement

Error in running python locust script from two different Linux Distribution

I write a locust script to test a web site. The script is very simple, just a request repeated several time.

In a virtual machine with Linux Mint and Python 2.7.6, the script works in the right way and as I want.

For example, I run the script without the Web Interface as write below:

JavaScript

and I obtain the right stats in the terminal window.

When I run the same script on another virtual machine with CentOS and Python 2.7.11, I obtain the following error:

JavaScript

Could you please help me understanding the problem? Thanks very much.

Advertisement

Answer

It seems to be a known issue in urllib3, it has nothing to to with your scripts. See https://github.com/shazow/urllib3/issues/482

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement