siege windows ( http load testing and benchmarking utility ): quick setup

Trabla: siege windows: quick setup


Siege is an http load testing and benchmarking utility. It was designed to let web developers measure their code under duress, to see how it will stand up to load on the internet. Siege supports basic authentication, cookies, HTTP and HTTPS protocols. It lets its user hit a web server with a configurable number of simulated web browsers. Those browsers place the server “under siege.”


Solving:

1. Download siege-windows:
https://siege-windows.googlecode.com/svn/trunk/siege-windows-3.0.5.zip

2. Unzip archive into disk C:
Example: C:\siege-windows\...siege files


siege windows ( http load testing and benchmarking utility ): quick setup - tutorial 1

3. Create folder for load test, e.g. on Desktop



4. In load test folder create text file with url to test 
Name file: urls.txt

siege windows ( http load testing and benchmarking utility ): quick setup - tutorial 2

5. Create .bat file to run siege test
Name file run_siege.bat
Put following command line command script:

C:\siege-windows\siege.exe -c10 -t60s --file=urls.txt


siege windows ( http load testing and benchmarking utility ): quick setup - tutorial 3

6. Run siege by double clicking on run_siege.bat file

siege windows ( http load testing and benchmarking utility ): quick setup - tutorial 4

7. Default log file after siege execution

siege windows ( http load testing and benchmarking utility ): quick setup - tutorial 5

Official Site: https://code.google.com/p/siege-windows/






No comments:

Post a Comment