It is very important to know about more than one performance testing tool. I always say in a training sessions, all performance test engineers should know at least one open source tool and one commercial tool. HP LoadRunner & JMeter, IBM Rational Performance Tester & LoadUI etc.
In this blog post series, we will see about free open source web performance tool called Pylot.
What is Pylot?
Pylot is a free open source tool for testing performance and scalability of web services. It runs HTTP load tests, which helps for capacity planning, benchmarking, analysis, and system tuning.
How it works?
Test case designs can be done using XML files. In the XML file, you can define the URL, method, body etc and the server responses can be verified using regular expressions and using HTTP codes.
Workload model can be specified in the GUI of Pylot or in the command line like number of agents, ramp-up, steady state, ramp-down, duration, interval etc.
This tool helps developers, test engineers, and performance engineers to validate, tune and plan the performance and web services scalability.
Features of Pylot
- HTTP and HTTPS (SSL) support
- multi-threaded load generator
- automatic cookie handling
- response verification with regular expressions
- execution/monitoring console
- real-time stats
- results reports with graphs
- custom timers
- GUI mode
- shell/console modes
How to install Pylot?
There will be five installation which should be installed sequentially.
Download and install latest release of Pylot
Download and install Python 2.5+
Download and install wxPython for GUI mode which is optional, but most of us prefers to work on GUI. Hence I prefer it as mandatory installation.
Download and install NumPy for report graphs
Download and install Matplotlib for report graphs
How to run Pylot in GUI mode
Go to Start > Run, type cmd. In command prompt, go to the path where you unzipped Pylot installation folder and type run.py -g command as shown below.
[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”Pylot – Web Performance Tool Tutorial Part 1 – Launching Pylot in GUI Mode QAInsights” alt=”Pylot – Web Performance Tool Tutorial Part 1 – Launching Pylot in GUI Mode QAInsights” iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/Pylot-Web-Performance-Tool-Tutorial-Part-1-Lanching-Pylot-in-GUI-Mode-QAInsights.png[/auto_thumb]
This will launch Pylot in GUI mode as shown below.
[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”Pylot – Web Performance Tool Tutorial Part 1 – Pylot in GUI Mode QAInsights” alt=”Pylot – Web Performance Tool Tutorial Part 1 – Pylot in GUI Mode QAInsights” iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/Pylot-Web-Performance-Tool-Tutorial-Part-1-Pylot-in-GUI-Mode-QAInsights.png[/auto_thumb]
In next post, we will see how to design test cases in Pylot.
Thanks for visiting QAInsights! Check out our new portal Testifications.com to get updates on Software Testing related certifications. We’re always posting interesting articles on QAInsights. I request you to subscribe so you don’t miss out anything.
Searching for QA Jobs Openings, check it at www.QAJobOpenings.com
Want to start a blog like this, please visit SpidyDomain to buy cheap web hosting and register domain.
Subscribe to our QAInsights YouTube Channel
- Unboxing HPE LoadRunner 12.55 - August 20, 2017
- Measure Client-side Performance using Lighthouse - August 10, 2017
- Perf Calculator – free iOS app for performance testers - July 16, 2017
- How to performance test AngularJS or ReactJS applications? - June 25, 2017
- How to run Apache JMeter tests with Visual Studio Team Services? - June 6, 2017