Skip to content.

Manageability

Sections
Personal tools
You are here: Home » blog » stuff » Open Source Automated Test Tools Written in Java

Open Source Automated Test Tools Written in Java

Here's another category that I'm having a tough time keeping track off. That is automated test tools written in open source java. Special emphasis on the word "automated", hopefully most of these tools are point and shoot, afterall why create more work for oneself!

I've deliberately tried to avoid including a tool that's used for unit testing. You can find those tools in the JUnit.org website. Also, my apologies for mixing up load and functional testing tools, however you might discern that both areas do overlap. Afterall, stress testing without exercising functionality and vice versa doesn't quite cut the mustard.

  1. MaxQ - MaxQ is a free web functional testing tool. It includes an HTTP proxy that records your test script, and a command line utility that can be used to playback tests. The proxy recorder automatically stores variables posted to forms, so you don't have to write that stuff by hand.
  2. Abbot - The Abbot framework is a Java library for GUI unit testing and functional testing. It provides methods to reproduce user actions and examine the state of GUI components. The framework may be invoked directly from Java code or accessed without programming through the use of scripts. There are two ways of using this framework. One is to write the tests directly in Java code. The other is to use a script to control the event playback and testing, which is more suitable to integration/functional testing. A script editor is provided to facilitate the latter form of test.
  3. Pounder - Pounder is a utility for automating Java GUI tests. It allows developers to dynamically load GUI's, record scripts, and then use those scripts in a test harness. Pounder differentiates itself from other utilities by allowing you to examine the results of a test run in source, while maintaining a separate GUI script that can be re-recorded if necessary.
  4. Grinder - The Grinder is a Java™ load-testing framework. The Grinder makes it easy to orchestrate the activities of a test script in many processes across many machines, using a graphical console application.
  5. Jameleon - Jameleon is an acceptance-level automated testing tool that separates applications into features and allows those features to be tied together independently, creating test-cases. These test-cases can then be data-driven and executed against different environments.
  6. GUITAR - GUI Testing Framework that presents a unified solution to the GUI testing problem. Emphasis has been on developing new event-based tools and techniques for various phases of GUI testing.
  7. Solex - Solex is a Web application testing tool built as a plug-in for the Eclipse IDE. It provides functions to record a client session, adjust it according to various parameters and replay it later typically in order to ensure non regression of the application's behaviour.
  8. WebScarab - WebScarab is a loose suite of web application security assessment tools. It is designed to be a tool for technical auditors who want to expose some of the workings of an application and automate some of the tests, whilst still having the flexibility to force the tests to execute the way the auditor wishes.
  9. JOSIT - JOSIT (Java Observation Simulation Inspection Toolkit) is an open Application Programmer's Interface for instrumenting applications written in the Java programming language.
  10. Canoo WebTest - Canoo WebTest is a free open source tool for automated testing of web applications. It calls web pages and verifies the results, giving comprehensive reports on success and failure.
  11. TestMaker - TestMaker is the complete test and monitoring solution that software developers, QA technicians and IT managers use everyday to solve scalability, functionality and performance problems in Web-enabled applications, especially Web Services. TestMaker makes you immediately productive with an integrated test environment and test agent Recorder.
  12. Enterprise Web Test - Enterprise Web Test allows Java programmers to write re-usable tests for web applications that, unlike HttpUnit, "drive" the actual web browser on the actual platform they intend to support.
  13. Marathon - The long-term vision for Marathon is to keep the focus of a tool that specializes in automated java Swing testing. Implemented by folks at Thoughtworks.
  14. DBMonster - DBMonster is a tool which helps database application developers with tuning the structure of the database, tuning the usage of indexes, and testing the application performance under heavy database load. DBMonster generates as much random test data as you wish and puts it into SQL database. It provides a very pluggable interface and is trivial to use.
  15. JSpider - A highly configurable and customizable Web Spider engine. Check your site for errors. Outgoing and/or internal link checking. Analyze your site structure.
  16. Anteater - Anteater is a testing framework designed around Ant. It provides an easy way to write tests for checking the functionality of a Web application or of an XML Web service. Built-in webserver allows testing of HTTP requests as well as responses. Suitable for non-interactive, cron-driven use in Continuous integration environments.
  17. LogiTest - The core application in the LogiTest suite. The LogiTest application is used to record and playback single tests. LogiTest can be used to create functional and regression test for web applications using a simple graphical user interface. LogiMonitor is used to monitor web applications and send notifications or take actions when a web application fails.
  18. Jacareto - Jacareto is a capture&replay framework for Java applications and applets. It allows you to easily create your own capture&replay tools. Jacareto is very flexible; you can write your own capture modules, replay modules, classes which handle special components, editors, record types, record elements and tests. You can also group record elements together to build high-level structures (qualitative analysis). By extracting data sets from records, quantitative analyses can be performed.
  19. LoadSim - LoadSim is a web application load simulator. It allows you to create simulations and have those simulations run against your webserver. Records your browser session to create the simulation scenarios. Remote management of simulations. Random delays can be added between links to simulate real users.
  20. Rubis - RUBiS is an auction site prototype modeled after eBay.com that is used to evaluate application design patterns and application servers performance scalability. RUBiS can be used from a web browser for testing purposes or with the provided benchmarking tool. We designed a client that emulates users behavior for variours workload patterns and provides statistics.
  21. JMeter - Apache JMeter is a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.
  22. Joshua - Joshua uses Jini and JavaSpaces to build upon the JUnit Test Automation Framework and create a simple and efficient test distribution mechanism.
  23. Latka - Latka is a functional (end-to-end) testing tool. It is implemented in Java, and uses an XML syntax to define a series of HTTP (or HTTPS) requests and a set of validations used to verify that the request was processed correctly.
  24. Haste - Haste (High-level Automated System Test Environment) represents an approach to system testing that is philosophically consistent with standard XP unit testing practices. Test code runs in the same address space as the application under test, allowing for ready examination of application state. The fundamental Haste abstractions of Story, Step, and StoryBook provide a framework to implement system tests.
  25. SLAMD - SLAMD was originally developed for the purpose of benchmarking and analyzing the performance of LDAP directory servers, and it is the most powerful and flexible tool available for this task. It includes tools for recording and playing back TCP traffic, and a utility for intercepting LDAP communication and writing it as a script that may be executed in the SLAMD scripting engine. It has an embedded scripting engine that can be used to stress applications using protocols like LDAP, HTTP, SMTP, IMAP, and POP and any database that supports JDBC.
  26. JSystem - JSystem is a framework for writing and running automated tests, based on JUnit. Its main goal is to support automation of functional and system testing.
  27. JCrawler - JCrawler is a Stress-Testing Tool for web-applications. It comes with the crawling/exploratory feature. You can give JCrawler a set of starting URLs and it will begin crawling from that point onwards, going through any URLs it can find on its way and generating load on the web application. The load parameters (hits/sec) are configurable.
  28. Java PathFinder - Out of the box, JPF can search for deadlocks and unhandled exceptions (e.g. NullPointerExceptions and AssertionErrors), but the user can provide own property classes, or write listener-extensions to implement other property checks (like race conditions). It is the first NASA program to be actively developed and hosted on SourceForge.
  29. UISpec4J - UISpec4J is an Open Source functional and/or unit testing library for Swing-based Java applications, built on top of the JUnit test harness. If you are writing a Swing application, you will appreciate UISpec4J above all for its simplicity: UISpec4J's APIs are designed to hide as much as possible the complexity of Swing, resulting in easy to write and easy to read test scripts. This is especially true when comparing UISpec4J tests with those produced using Swing or low-level, event-based testing libraries.
  30. Cobertura - Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage. Instruments Java bytecode after it has been compiled. Generates reports in HTML or XML. Shows percent of lines coveraged and branches coveraged. Shows the McCabe cyclomatic code complexity. Can sort HTML results by class name, percent of lines covered, percent of branches covered, etc. And can sort in ascending or decending order.
  31. Slimdog - SlimDog offers a simple script based webapplication testing tool. It is based on httpunit. The tool offers a wide range of commands to work with forms, check the content of tables and navigation between HTML pages. Rather than writing long JUnit testcases or crucial XML files the users can write simple text scripts. he results are written either to the console, a file or as a HTML page.
  32. JBlanket - Blanket is a method coverage tool for stand-alone and client-server Java programs. It modifies the byte code in specified class and JAR files so that method type signatures are recorded when the methods are invoked during the execution of JUnit test cases. JBlanket automates support for test quality assurance in a manner consistent with Agile programming practices.
  33. TestGen4J - TestGen4J is a collection of tools that automatically generates unit test cases. TestGen4J automatically generates test cases from your own Java class files, or source files. Its primary focus is to exercise boundary value testing of the arguments passed to the method. It uses a rules engine, with a user-configurable XML file, that defines boundary conditions for the data types.
  34. Jemmy - Jemmy is a library that is used to create automated tests for Swing/AWT GUI applications. It contains methods to reproduce all user actions which can be performed on Swing/AWT components (i.e. button pushing, text typing, tree node expanding, ...). It can be effective for automating demos to show how an application works. Jemmy is a NetBeans independent module, that can be used separately as well as together with the NetBeans IDE.
  35. Sahi - Sahi is an automation and testing tool for web applications, with the facility to record and playback scripts. Developed in java and javascript, this tool uses simple javascript to execute events on the browser. Features include, in-browser controls, text based scripts, ant support for playback of suites of tests, and multi threaded playback. Sahi runs as a proxy server and the browser needs to use the sahi server as its proxy. Sahi then injects javascript so that it can access elements in the webpage.
  36. Floyd - A Java library intended to make the automated testing of web applications easier. Provides full control of standard web browsers such as Mozilla and Internet Explorer to normal Java unit tests. The interaction with the browser and any loaded web pages is achieved via calls to Floyd's Java API. This allows to simulate user interaction with a real live web browser.
  37. Watij - Watij (pronounced wattage) stands for Web Application Testing in Java. Based on the simplicity of Watir and enhanced by the power of Java, Watij automates functional testing of web applications through the real browser. Currently Watij supports automating Internet Explorer on Windows only however with a future plan to support Mozilla. Watij supports XPath expressions for finding HTML elements on a page. Watij also manages popup browser windows.
  38. iValidator - iValidator is a framework for XML-based test automation of complex test scenarios. The central feature of iValidator is the flexible descriptive control of complex test scenarios. Using XML you can also describe test cases, combine them into test suites and control the flow of the test suites.
  39. Testare - A java testing framework that simplifies the test development process for distributed java applications. It provides easy to use in container testing capabilities. It provides a test environment management and provides fixtures, global fixtures, test environment probes and guards.
  40. Java Test Runner - A Java distributed testing framework with particular emphasis on JEE specification. The framework supports standard JSE components, EJBs, JMS and Web Services (document-based and rpc-like).

Anyway like always, there's something I missed in this review, so please let me know!

Also, I found this overview of load testing tools that covers some of the tools above. Also see Open Source Testing for tools written in other "lesser" languages.

Finally, thanks for the implicit reference:

Created by admin
Last modified 2007-09-19 08:50 PM

Good list

Posted by Anonymous User at 2004-03-08 07:05 AM

This is a very complete list. Thank you for including my TestMaker utility. I have been maintaining my own list of open-source and commercial test tools at: http://www.pushtotest.com/ptt/wiki/TestToolsInfoBook. You mention products I haven't heard about. Thanks for the effort.

One other thing, the Test Agent Recorder in TestMaker is based in part on the MaxQ code, so you get MaxQ's function in TestMaker.

-Frank (fcohen@pushtotest.com)

Good list

Posted by Anonymous User at 2004-04-04 08:59 PM

The list has been extremly helpfull. Aman

extensive

Posted by Anonymous User at 2004-06-25 06:47 PM

(wow) It's good to see so many open-source tools for testing! Thanks. Valeri

Thanks!

Posted by Anonymous User at 2004-10-13 05:14 PM

i'm making a research about open source testing frameworks for web applications, and this gave my a nice start.

pinch of salt

Posted by Anonymous User at 2004-10-21 10:51 AM

I admire the kind of effort you have been putting in preparing such extensive lists. I belive they serve as a good starting point.

IMHO I guess such lists should be taken with a pinch of salt. A lot of these tools need to proove their worthiness for the task. With no offense to the developers on these projects I think most of these tools exist to just make a point (that something out there wasnt enough). It is definitely not a very good idea to experiment with sooo many options when you have a checkpoint approaching fast.

If only someone could rank them on a few basic criteria it will be of massive help to the community

anand raman

Very useful list

Posted by Anonymous User at 2005-03-08 07:03 AM

thank you for having a single place where so many testing tools can be found.

which one to use?

Posted by Anonymous User at 2005-04-12 01:38 PM

This list is great. But I don't know which one to use for an applet application with client and server intereaction. Any suggestion will be great.

Automated Code Review

Posted by Anonymous User at 2005-07-07 12:20 PM

Here's another one that I have been using, worth checking out:

http://www.hammurapi.org/content/home.html

"Hammurapi is an Open Source Java code review tool. It has more than 120 embedded Inspectors and such unique features as waivers, autowaivers and cascading rulesets."

Watij homepage link has changed

Posted by Anonymous User at 2006-06-28 03:26 PM

Please update the link for Watij to be http://watij.com

Thanks,

Brian

JIFFY

Posted by Anonymous User at 2006-08-24 09:34 PM

is anyone using/recommend JIFFY,appreciate any refernces.

Another one: ItsNat, Natural AJAX

Posted by Anonymous User at 2007-12-13 03:58 AM
ItsNat is an open source Java AJAX web component based framework with functional web testing built-in. Simulates a Universal Java W3C Browser in the server, the client DOM tree is a clone of the server and is automatically updated when the server DOM changes usually as the response of an AJAX event.

The server can fire Java W3C DOM events and send them to the browser simulating user actions. These are received again by the server as in a normal AJAX app. As the test code is in the server too, can check the expected GUI changes (checking the server DOM tree) or the expected business behavior (added/removed/updated data). Furthermore, server Java W3C DOM events can be created and dispatched directly to server DOM tree with no browser/network interaction!

http://www.itsnat.org

the only problem is

Posted by Anonymous User at 2008-01-16 07:32 AM
all these, just don't work, without workarounding and hacking
Konstantin S. Ivanov

Selenium

Posted by Anonymous User at 2008-01-24 03:46 PM
Selenium http://www.openqa.org/selenium-ide/ is worth adding because its tests can be saved as Java, and thus manipulated programmatically.

larry

List is useful as any other

Posted by Anonymous User at 2008-01-29 09:35 AM
Thanks for taking the time to compile these. For anyone trying to make a rapid decision, you have my sympathy. I've used proprietary automated tools worth thousands of dollars and we still had to hack them. Point and shoot doesn't exist. Automated Testing Engineers are basically software developers. I also recommend staying with mainstream command sets and avoiding anything thats too specific to a particular tool. At this point I'm looking at the Javascript tools.

Thanks...

Posted by Anonymous User at 2008-06-09 11:27 PM
for the helpful List.
The 'haste'-Link is down. This is the new Link http://www.atomicobject.com/pages/Haste.
visitors
reading
 
 

Powered by Plone

This site conforms to the following standards: