8
LOGO Pylot - Tool For Load Testing of Web Applications Office in Ukraine Phone: +380 44 501 55 38 E-mail: contact (at) qa- testlab.com Address: 154а, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

Pylot tool for load testing of web

Embed Size (px)

DESCRIPTION

http://qatestlab.com/ Pylot is easy to use, free tool for load testing Web applications. Despite the small size of distribution, it has rich functionality, which, moreover, can be expanded with his own, thanks to open source code.

Citation preview

Page 1: Pylot   tool for load testing of web

Pylot - Tool For Load Testing of Web Applications

Office in UkrainePhone: +380 44 501 55 38E-mail: contact (at) qa-testlab.comAddress: 154а, Borschagivska str., Kiev, Ukrainehttp://qatestlab.com/

Page 2: Pylot   tool for load testing of web

Pylot

Pylot is easy to use, free tool for load testing Web applications. Despite the small size of distribution, it has rich functionality, which, moreover, can be expanded with his own, thanks to open source code.

Office in UkrainePhone: +380 44 501 55 38E-mail: contact (at) qa-testlab.comAddress: 154а, Borschagivska str., Kiev, Ukrainehttp://qatestlab.com/

Page 3: Pylot   tool for load testing of web

PylotKey features of Pylot:

    Support for HTTP and HTTPS (SSL)     Generate a multi-threaded load     Automatic handling cookies     Check server response using regular expressions     Displays real-time statistics     Generates a detailed report about the test results

(HTML + graphics)     Work in the console and graphical modes     Ability to work remotely using XML-RPC     Cross platform compatibility (Pylot written in Python)

Office in UkrainePhone: +380 44 501 55 38E-mail: contact (at) qa-testlab.comAddress: 154а, Borschagivska str., Kiev, Ukrainehttp://qatestlab.com/

Page 4: Pylot   tool for load testing of web

To start working with Pylot, you will need:

Actually, the Pylot

Python version 2.5 or higher

Library wxPython (required only if you want to work with the utility in GUI mode)

Libraries NumPy and Matplotlib (needed only if you want to see

the graphs in reports about

the test results)

Page 5: Pylot   tool for load testing of web

PylotAll 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 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>

Office in UkrainePhone: +380 44 501 55 38E-mail: contact (at) qa-testlab.comAddress: 154а, Borschagivska str., Kiev, Ukrainehttp://qatestlab.com/

Page 6: Pylot   tool for load testing of web

PylotAfter all that is necessary will be established it 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 of utility. Also, if you installed wxPython, then after executing the command:

python run.py-g

will start the graphical interface.

Office in UkrainePhone: +380 44 501 55 38E-mail: contact (at) qa-testlab.comAddress: 154а, Borschagivska str., Kiev, Ukrainehttp://qatestlab.com/

Page 7: Pylot   tool for load testing of web

PylotFor 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.

Office in UkrainePhone: +380 44 501 55 38E-mail: contact (at) qa-testlab.comAddress: 154а, Borschagivska str., Kiev, Ukrainehttp://qatestlab.com/

Page 8: Pylot   tool for load testing of web

Office in UkrainePhone: +380 44 501 55 38E-mail: contact (at) qa-testlab.comAddress: 154а, Borschagivska str., Kiev, Ukrainehttp://qatestlab.com/