Automating Performance Testing of Interactive Java Applications

Workshop Paper: AST'10, May, 2010

Interactive applications with graphical user interfaces are prevalent in today's environment: Everybody with access to any kind of computer constantly uses them. A significant body of prior work has devised approaches for automating the functional testing of such applications. However, no such work exists for automatically testing their performance. Performance testing imposes additional requirements upon GUI test automation tools: the tools have to be able to replay complex interactive sessions, and they have to avoid perturbing the application's performance. We study the feasibility of using five Java GUI capture & replay tools for GUI performance test automation.

Besides confirming the severity of the previously known GUI element identification problem, we also identify a related problem, the temporal synchronization problem, which is of increasing importance for GUI applications that use timer-driven activity.

We find that most of the tools we study have severe limitations when used for recording and replaying realistic sessions of real-world Java applications, and that all of them suffer from the temporal synchronization problem. However, we find that the most reliable tool, Pounder, causes only limited perturbation, and thus can be used to automate performance testing.

Besides the significance of our findings to GUI performance testing, the results are also relevant to capture & replay-based functional GUI test automation approaches.

@inproceedings{Jovic10, author = {Jovic, Milan and Adamoli, Andrea and Zaparanuks, Dmitrijs and Hauswirth, Matthias}, title = {Automating performance testing of interactive Java applications}, booktitle = {AST '10: Proceedings of the 5th Workshop on Automation of Software Test}, year = {2010}, isbn = {978-1-60558-970-1}, pages = {8--15}, location = {Cape Town, South Africa}, doi = {}, publisher = {ACM}, address = {New York, NY, USA}, }

ACM DL Author-ize service