Pylot – easy to use, free tool for load testing Web applications. Despite the small size distribution, it has rich functionality, which, moreover, can be expanded with his own, thanks to Open Source.
To start with Pylot, you will need:
After all that is necessary will be established will be sufficient to execute the script run.py, located in the folder with the program. Running this script with no additional attributes will display a small help, which will describe all the possible options utility. Also, if you installed wxPython, then after executing the command:
python run.py –g
All test cases for Pylot must be recorded in the format of xml. By default they are stored in a file testcases.xml. Format of entries is as follows:
<case>
<url>URL</url>
<method>HTTP METHOD</method>
<body>REQUEST BODY CONTENT</body>
<add_header>ADDITIONAL HTTP HEADER</add_header>
<verify>STRING OR REGULAR EXPRESSION</verify>
<verify_negative>STRING OR REGULAR EXPRESSION</verify_negative>
<timer_group>TIMER GROUP NAME</timer_group>
</case>
It is mandatory only tag <url>, all the rest can be used as needed.
For Windows users, there is a nice bonus in the form of tools for writing test, which is located in the directory .. \ pylot \ util. To run it you need to install PyWin32 and type in the command line
python pylot_win_recorder.py
after which will be launched IE and all the actions that you will perform in his window will be displayed in the console in the form of HTTP requests in a format xml-test cases.
As the test results Pylot proposes to use the HTML file with summary metrics, and logs server response for each of the streams.
Learn more about Pylot can be on the official website of the program pylot.org