Total Pageviews

Wednesday, November 30, 2011

Free Load testing Tools webApplications


Pylot - Open Source Load Testing Tool
Pylot is an open source tool which runs HTTP load tests for testing performance and scalability of web services.
It generates concurrent load (HTTP Requests), verifies server responses, and produces reports with metrics. Tests suites are executed and monitored from a GUI or shell/console.

Tsung

Tsung
Tsung can be used to stress almost any kind of server including:
  • HTTP
  • WebDAV
  • SOAP
  • PostgreSQL, MySQL
  • LDAP
  • Jabber/XMPP servers.
Several IP addresses can be used on a single machine using the underlying OS IP Aliasing& HTTP reports are generated during the tests.

Apache JMeter

Apache JMeter
Apache JMeter may be used to test performance both on static and dynamic resources. Besides HTTP, it can connect to databases, POP3 & more.

Siege

Siege - Load Testing Tool
Siege is an http regression testing and benchmarking utility. It was designed to let web developers measure the performance of their code under duress, to see how it will stand up to load on the internet.
It supports basic authentication, cookies, HTTP and HTTPS protocols. It allows the user hit a web server with a configurable number of concurrent simulated users.
Siege was written on GNU/Linux and has been successfully ported to AIX, BSD, HP-UX and Solaris.

The Grinder

Java Load Testing
The Grinder is a Java load testing framework that makes it easy to run a distributed test using many load injector machines.
Tests are written in Jython scripting language. It has an automatic management of client connections and cookies.

Integration Jmeter with Selenium


1) Write the selenium  junit test code for functionality  of your application.   Code should be error free.

2) After the test case is successfully run, we will get a .class file in bin folder.

3) Make jar of .class file and .java files. This can be done by doing the  following steps in Eclipse :
Go to File --> Export --> java --> Jars--> next --> browse location -->  Finish   

4) Copy and Paste that jar file under jmeter installation path /jakarta-jmeter-< version >/ lib/junit

5) Copy and Paste selenium-java-client-driver.jar and selenium-server.jar files under jmeter installation path /jakarta-jmeter-<version>/lib

6) Start jmeter

7) Create a test plan  in JMeter by following below steps . 
Click on test plan --> add thread groups and Go to Thread group--> Add --> Sampler --> Junit request

8) Under class name, we can check our package .class name. Select that particular .class file. 

9) Run the test plan. Now we can observe that selenium junit test cases will be running with multiple number of users at a time