Ruby Java
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.




* Created by: Anand Bagmar
* Email:
* Copyright 2010 Anand Bagmar.  Distributed under the Apache 2.0 License
* See LICENSE.txt for further details.


What is Web Analytics

Web Analytics is the measurement, collection, analysis and reporting of internet data for purposes of understanding and optimizing web usage. Web Analytics is not just a tool for measuring website traffic, but can also be used as a tool for business research and market research. Web Analytics applications can also help companies measure the results of traditional print advertising campaigns. It helps one to estimate how the traffic to the web site changed after the launch of a new advertising campaign.

Web Analytics provides data on the number of visitors, page views, etc. to gauge the traffic popularity trends which helps doing the market research. Official definition of Web Analytics from Wikipedia

What is WAAT?

WAAT = Web Analytics Automation Testing.

See the WAAT-Ruby wiki for answers to questions like what, why, how, and more.

For any other questions, comments, help, email Anand Bagmar @

Latest version

Platforms supported

  • WAAT for Java.

  • WAAT for Ruby. The Ruby gem uses RJB (Ruby-Java-Bridge) to invoke APIs defined by WAAT-Java to enable Web Analytics Testing.

  • See my blog for all activity around WAAT.

How to use WAAT-Ruby?

See the HttpSniffer or JSSniffer wiki page for step-by-step instructions on how to use WAAT-Ruby in your project.

Changes in v1.5.0

Some APIs have changed between v1.4.0 and v1.5.0.

  • *initailze_waat*: See method definition in WAAT.rb for usage information

    v1.4.0: initialize_waat() or initialize_waat(true)
    where the boolean value was to specify the value for keep_loaded_file_in_memory
    v1.5.0: initialize_waat now takes an optional hash.
  • *verify_web_analytics_data*: See method definition in WAAT.rb for usage information

    v1.4.0: This method took a Array as an input
    v1.5.0: This method now takes a Hash as an input, with symbols as keys.
  • Default plugin: HttpSniffer

    v1.4.0 only supported the http_sniffer plugin.
    v1.5.0 supports http_sniffer and js_sniffer plugins (default: http_sniffer).
    To override, initialize WAAT using the following command:
    initialize_waat(:waat_plugin => "js_sniffer")