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
Bamboo plan for tsung
We recently created a dedicated bamboo plan for using tsung to run load testing. (It can be added as a 'test' stage into the exisiting bamboo plan too). Instead of installing tsung in bamboo agent, we use a dedicate box as it is resources extensive. Here is how we set it up: 1) Create a … Continue reading Bamboo plan for tsung
hubot for Akamai
Previously, I wrote a python script to translate the Akamai error. I think the better way to do it is to build a robot to respond to users' requests. By using edgegride module, I wrote a Akamai module for hubot. Currently, I have added some of the diagnostic tool and ccu into it. It looks like this: … Continue reading hubot for Akamai