ImportError: libffi.so.6: cannot open shared object file: No such file or directory


When installing a python module, if you see similar error like ImportError: libffi.so.6: cannot open shared object file: No such file or directory  ---------------------------------------- Command "/usr/local/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-RZWd8I/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nle_4p-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-RZWd8I/cryptography It is normally caused by that the file … Continue reading ImportError: libffi.so.6: cannot open shared object file: No such file or directory

Use tsung to test https site


To use tsung to test https site, you need to set type as ssl. <servers> <server host="web_server_name" port="443" type="ssl"></server> </servers> If you have issues to make it work for you, change the loglevel to debug to get useful logs. <tsung loglevel="debug" version="1.0"> In my case, I run tsung on a EC2 using Amazon Linux. The … Continue reading Use tsung to test https site

First tsung load testing


Just finished my first 'official' web server load testing by using the bamboo plan for tsung that I built previously. Here are a few things that I learned: When set use_controller_vm="true", by default maxusers is 800. Adding maxusers="50000" for example to change it. For testing proxy server, the option has to be configured as <option type="ts_http" name="http_use_server_as_proxy" value="true"></option> arrivalrate means … Continue reading First tsung load testing