background preloader

Testing

Facebook Twitter

Browser

Vulnerabilities. Scanner. AM Stereo » Blog Archive » Using Tsung for Load Testing Rails or Web Apps. September 12, 2008 by Austin Mills After trying some other load-testing tools, I found Tsung, a load-testing application written in Erlang to take advantage of that language’s concurrency support.

AM Stereo » Blog Archive » Using Tsung for Load Testing Rails or Web Apps

It scales well (it’s been used to simulate tens of thousands of users), it supports forms and HTTP sessions, and includes some niceties like proxy recording, ‘thinktime’ support, and a choice of random or ordered traffic. Not having a physical server handy to run Tsung isn’t a big obstacle; I just used an Amazon EC2 instance (an xlarge turned out to be more than enough, you could probably get 100s of users on a medium), which due to being rentable by the hour is great for a short-term need like occasional load-testing. I put one of Alestic’s Ubuntu images on the EC2 instance, and then it’s just a few short steps to install Tsung on the machine (we’ll call it ‘tsunghost’): Update: Ben says in the comments, “Tsung now has Ubuntu packages, so you don’t need to compile.

Rafael Dohms » PHPT: Writing tests for PHP. This year the PHP Community promoted the PHPTestFest in various places around the globe and it was a success.

Rafael Dohms » PHPT: Writing tests for PHP

I participated in the event promoted by the PHPSP UG which ended up as the team with the most committed tests, after participating in the event I kept on going and have since obtained a SVN account and karma to be a official test commiter to PHP. So if you did not get the chance to learn how to write tests in your local TestFest I will now go over the steps taken so you can be ready for next year. PHP standalone get_browser() for Browscap - Doc Alex.