Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Automating Web Analytics

3,880 views

Published on

Slides from workshop conducted at ThoughtWorks, Pune in vodQA, on Sat, 27th August, 2016.

Workshop Facilitators - Anand Bagmar, Smriti Tuteja, Pallipuspa Samal, Rohit Singhal, S Ramalingam, Shilpa G

More information about vodQA, and this workshop can be found from the following links -
https://essenceoftesting.blogspot.com/2016/08/vodqa-pune-less-talk-only-action-agenda.html
https://essenceoftesting.blogspot.com/search/label/vodQA
https://essenceoftesting.blogspot.com/search/label/waat

Published in: Software
  • Be the first to comment

Automating Web Analytics

  1. 1. AUTOMATING WEB ANALYTICS – WHY? HOW? Anand B, Pallipuspa S, Smriti T Ramalingam S, Shilpa G, Rohit S
  2. 2. ABOUT US ¨ Anand Bagmar ¨ Pallipuspa Samal ¨ S Ramalingam ¨ Rohit Singhal ¨ Shilpa Gopal ¨ Smriti Tuteja
  3. 3. What do you expect from this session?
  4. 4. Why do we do Testing?
  5. 5. HOW DO WE VALIDATE?
  6. 6. Web Analytics
  7. 7. WHAT IS WEB ANALYTICS?
  8. 8. WHY DO WE NEED WEB ANALYTICS?
  9. 9. WEB ANALYTICS SOLUTIONS Google Analytics SiteCatalyst AWStats WebTrends ….
  10. 10. Testing Web Analytics
  11. 11. LEARN & OPTIMIZE
  12. 12. TESTING AT THE REPORT LEVEL Pros ¨ Ensure report is setup correctly Cons ¨ May not capture “true data” ¨ Licensing ¨ Reports not yet setup ¨ Validate all requests are sent / captured
  13. 13. Biggest Problem It is TOO LATE!
  14. 14. The Solution
  15. 15. Web Analytics Testing Challenges
  16. 16. MANUAL
  17. 17. REPEATING OVER-AND-OVER AGAIN
  18. 18. WAAT - Web Analytics Automation Testing
  19. 19. WHAT DOES WAAT DO FOR ME? q Plugs into existing test framework q With minimal changes q Web Analytic tool independent q UI Driver framework independent q Browser independent
  20. 20. FLAVORS
  21. 21. WAAT-JAVA q Original flavor q Supports 2 plugins q Omniture Debugger q Proxy q HttpSniffer q JsSniffer q Available on github Will be eventually available as a Maven Dependency!
  22. 22. WAAT-RUBY q Ruby gem implemented over WAAT-Java q Uses RJB – Ruby-Java-Bridge q Supports 2 plugins q HttpSniffer q JsSniffer q Available on github and rubygems.org Will be changing soon!
  23. 23. OMNITURE DEBUGGER
  24. 24. OMNITURE DEBUGGER Pros q OS independent q Run using the regular test-user Cons q Browser dependent – need to implement ScriptRunner for the UI-driver in use q Web-Analytic solution dependent – Adobe Marketing Cloud / Omniture SiteCatalyst
  25. 25. HTTPSNIFFER Pros q Web-analytic solution independent q Browser independent q UI-driver independent Cons q 3 rd party libraries are OS Dependent q HTTPs not supported out-of-the-box q Run tests as ‘root’
  26. 26. JSSNIFFER Pros q  Web-analytic solution independent q  Browser independent q  HTTPs supported out-of-the-box q  No dependency on any 3 rd party library Cons q  Need to write JavaScript to get the URL from the browser q  UI-driver dependent
  27. 27. @BagmarAnand #waat how can I contribute?
  28. 28. PROXY DEBUGGER Pros q  Web-analytic solution independent q  Browser independent q  UI-driver dependent q  HTTPs supported out-of-the-box q  No dependency on any 3 rd party library Cons q  May not work easily for Mobile
  29. 29. ARCHITECTURE
  30. 30. WHAT’S NEXT WITH WAAT? q  WAAT-Net q  WAAT-Ruby q  WAAT-JS q  WAAT-Py
  31. 31. HOW CAN YOU HELP? q  Raise Issues (https://github.com/anandbagmar/WAAT/issues) q  Help contribute (send Pull Requests)
  32. 32. Is that all to Web Analytics?
  33. 33. The new “kids” in town IoT & Big Data
  34. 34. Some popular use cases
  35. 35. IOT – INTERNET OF THINGS Opportunity to ¨ Create new value propositions ¨ Be Innovative ¨ Be Creative
  36. 36. IOT – HOW TO DELIVER VALUE? ¨ Automate the manual processes ¨ Integrate data capabilities ¨ Collect – integrate from various sources ¨ Repeat collection – automate the collection ¨ Analyze – manual & machine learning ¨ Optimize / Pivot ¨ Repeat
  37. 37. IOT – CHALLENGES ¨ Federated devices ¨ Different types of networks ¨ Different communication channels ¨ Physical (hardware) & Virtual (software)
  38. 38. IOT – BIGGER CHALLENGES ¨ Too many devices ¨ Lots of data
  39. 39. BIG DATA …. IS GETTING BIGGER ¨ Volumes of data generated ¨  A jet engine generates 1TB of data per flight. ¨  A large refinery generates 1TB of raw data per day. ¨  As cars get smarter, the number of sensors is projected to reach as many as 200 per car. ¨  Sensors of all types will generate immense amounts of data. In fact, analysts estimate that by 2020, 40 percent of all data will come from sensors. ¨ IoT leads to massive volumes of data http://www.cisco.com/web/solutions/trends/iot/docs/iot-data-analytics-white-paper
  40. 40. IoT is about Data!
  41. 41. TO GET VALUE FROM IOT … ¨ Collect ¨ Analyze ¨ Predict ¨ Plan
  42. 42. What does this mean for Testing?
  43. 43. TESTING OPPORTUNITIES We need to build capabilities to validate – ¨ Data collection is working well ¨ From all sources ¨ Analyzing data, capturing patterns and trends ¨ Optimize business value ¨ Create new opportunities and value propositions
  44. 44. RESOURCES ¨ https://github.com/anandbagmar/waat ¨ https://github.com/anandbagmar/waat-ruby ¨ http://essenceoftesting.blogspot.com/search/label/ waat ¨ http://www.cisco.com/web/solutions/trends/iot/docs/ iot-data-analytics-white-paper ¨ http://www.dezyre.com/article/how-big-data-analysis- helped-increase-walmart-s-sales-turnover/109
  45. 45. TEST PROJECTS ¨ https://github.com/anandbagmar/waat-sample-java ¨ https://github.com/ShilpaGopal/WAATForMobile ¨ https://github.com/pallipuspa/WaatWithASP
  46. 46. THANK YOU ¨ Anand Bagmar ¨ Pallipuspa Samal ¨ S Ramalingam ¨ Rohit Singhal ¨ Shilpa Gopal ¨ Smriti Tuteja

×