57
AUTOMATING WEB ANALYTICS – WHY? HOW? Anand B, Pallipuspa S, Smriti T Ramalingam S, Shilpa G, Rohit S

Automating Web Analytics

Embed Size (px)

Citation preview

Page 1: Automating Web Analytics

AUTOMATING WEB ANALYTICS – WHY? HOW? Anand B, Pallipuspa S, Smriti T

Ramalingam S, Shilpa G, Rohit S

Page 2: Automating Web Analytics

ABOUT US

¨ Anand Bagmar

¨ Pallipuspa Samal

¨ S Ramalingam

¨ Rohit Singhal

¨ Shilpa Gopal

¨ Smriti Tuteja

Page 3: Automating Web Analytics

What do you expect from this session?

Page 4: Automating Web Analytics

Why do we do Testing?

Page 5: Automating Web Analytics
Page 6: Automating Web Analytics

HOW DO WE VALIDATE?

Page 7: Automating Web Analytics

Web Analytics

Page 8: Automating Web Analytics

WHAT IS WEB ANALYTICS?

Page 9: Automating Web Analytics
Page 10: Automating Web Analytics

WHY DO WE NEED WEB ANALYTICS?

Page 11: Automating Web Analytics

WEB ANALYTICS SOLUTIONS

Google Analytics

SiteCatalyst

AWStats

WebTrends

….

Page 12: Automating Web Analytics

Testing Web Analytics

Page 13: Automating Web Analytics
Page 14: Automating Web Analytics
Page 15: Automating Web Analytics
Page 16: Automating Web Analytics

LEARN & OPTIMIZE

Page 17: Automating Web Analytics

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

Page 18: Automating Web Analytics

Biggest Problem

It is TOO LATE!

Page 19: Automating Web Analytics

The Solution

Page 20: Automating Web Analytics
Page 21: Automating Web Analytics
Page 22: Automating Web Analytics
Page 23: Automating Web Analytics
Page 24: Automating Web Analytics

Web Analytics Testing Challenges

Page 25: Automating Web Analytics

MANUAL

Page 26: Automating Web Analytics

REPEATING OVER-AND-OVER AGAIN

Page 27: Automating Web Analytics
Page 28: Automating Web Analytics

WAAT - Web Analytics Automation Testing

Page 29: Automating Web Analytics

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

Page 30: Automating Web Analytics

FLAVORS

Page 31: Automating Web Analytics

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!

Page 32: Automating Web Analytics

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!

Page 33: Automating Web Analytics

OMNITURE DEBUGGER

Page 34: Automating Web Analytics

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

Page 35: Automating Web Analytics

HTTPSNIFFER

Pros

q Web-analytic solution independent

q Browser independent

q UI-driver independent

Cons

q 3rd party libraries are OS Dependent

q HTTPs not supported out-of-the-box

q Run tests as ‘root’

Page 36: Automating Web Analytics

JSSNIFFER

Pros q Web-analytic solution independent

q Browser independent

q HTTPs supported out-of-the-box

q No dependency on any 3rd party library

Cons q Need to write JavaScript to get the URL from the browser

q UI-driver dependent

Page 37: Automating Web Analytics

@BagmarAnand #waat how can I contribute?

Page 38: Automating Web Analytics

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 3rd party library

Cons q May not work easily for Mobile

Page 39: Automating Web Analytics

ARCHITECTURE

Page 40: Automating Web Analytics
Page 41: Automating Web Analytics

WHAT’S NEXT WITH WAAT?

q WAAT-Net

q WAAT-Ruby

q WAAT-JS

q WAAT-Py

Page 42: Automating Web Analytics

HOW CAN YOU HELP?

q Raise Issues (https://github.com/anandbagmar/WAAT/issues)

q Help contribute (send Pull Requests)

Page 43: Automating Web Analytics

Is that all to

Web Analytics?

Page 44: Automating Web Analytics

The new “kids” in town

IoT & Big Data

Page 45: Automating Web Analytics

Some popular use cases

Page 46: Automating Web Analytics

IOT – INTERNET OF THINGS

Opportunity to

¨ Create new value propositions

¨ Be Innovative

¨ Be Creative

Page 47: Automating Web Analytics

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

Page 48: Automating Web Analytics

IOT – CHALLENGES

¨ Federated devices

¨ Different types of networks

¨ Different communication channels

¨ Physical (hardware) & Virtual (software)

Page 49: Automating Web Analytics

IOT – BIGGER CHALLENGES

¨ Too many devices

¨ Lots of data

Page 50: Automating Web Analytics

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

Page 51: Automating Web Analytics

IoT is about Data!

Page 52: Automating Web Analytics

TO GET VALUE FROM IOT …

¨ Collect

¨ Analyze

¨ Predict

¨ Plan

Page 53: Automating Web Analytics

What does this mean for Testing?

Page 54: Automating Web Analytics

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

Page 55: Automating Web Analytics

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

Page 56: Automating Web Analytics

TEST PROJECTS

¨ https://github.com/anandbagmar/waat-sample-java

¨ https://github.com/ShilpaGopal/WAATForMobile

¨ https://github.com/pallipuspa/WaatWithASP

Page 57: Automating Web Analytics

THANK YOU

¨ Anand Bagmar

¨ Pallipuspa Samal

¨ S Ramalingam

¨ Rohit Singhal

¨ Shilpa Gopal

¨ Smriti Tuteja