50
THE WHAT, WHY & HOW OF (WEB) ANALYTICS TESTING Anand Bagmar Software Quality Evangelist

The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

Embed Size (px)

Citation preview

Page 1: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

THE WHAT, WHY & HOW OF (WEB) ANALYTICS TESTING

Anand BagmarSoftware Quality Evangelist

Page 2: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

ABOUT ME

@BagmarAnand

about.me/anand.bagmar

Page 3: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Page 4: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

Web Analytics

Page 5: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

WHAT IS WEB ANALYTICS?

Page 6: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

WHY DO WE NEED WEB ANALYTICS?

Page 7: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Page 8: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

WEB ANALYTICS SOLUTIONS

Google Analytics

SiteCatalyst

AWStats

WebTrends

….

Page 9: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

Testing Web Analytics

Page 10: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Page 11: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Page 12: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Page 13: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

TESTING AT THE REPORT LEVEL

Pros

¨ Ensure report is setup correctly

Cons

¨Licensing

¨Reports not yet setup

¨Validate all requests are sent / captured

Page 14: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

Biggest Problem

It is TOO LATE!

Page 15: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

The Solution

Page 16: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Page 17: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Page 18: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Page 19: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

Web Analytics Testing Challenges

Page 20: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

MANUAL

Page 21: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

REPEATING OVER-AND-OVER AGAIN

Page 22: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Page 23: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

The Automation Solution

Page 24: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

WAAT - Web Analytics Automation Testing

Page 25: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

WHAT DOES WAAT DO FOR ME?

q Plugs into existing Test Automation Frameworkq With minimal changes

q Web Analytic tool independentq UI Driver framework independentq Browser independent

Page 26: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

FLAVORS

Page 27: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

WAAT-JAVA

q Original flavorq Supports 2 plugins

q Omniture Debuggerq Proxy q HttpSnifferq JsSniffer

q Available on github

Will be eventually available as a Maven Dependency!

Page 28: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

WAAT-RUBY

q Ruby gem implemented over WAAT-Javaq Uses RJB – Ruby-Java-Bridgeq Supports 2 plugins

q HttpSnifferq JsSniffer

q Available on github and rubygems.org

Will be changing soon!

Page 29: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

WAAT-JAVA

q Original flavorq Supports 3 plugins

q Omniture Debuggerq HttpSnifferq JsSniffer

q Available on github

Page 30: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

WAAT-RUBY

q Ruby gem implemented over WAAT-Javaq Uses RJB – Ruby-Java-Bridgeq Supports 2 plugins

q HttpSnifferq JsSniffer

q Available on github and rubygems.org

Page 31: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

OMNITURE DEBUGGER

Page 32: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

OMNITURE DEBUGGER

Prosq OS independentq Run using the regular test-user

Consq Browser dependent – need to implement ScriptRunner

for the UI-driver in useq Web-Analytic solution dependent – Adobe Marketing

Cloud / Omniture SiteCatalyst

Page 33: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

HTTPSNIFFER

Prosq Web-analytic solution independentq Browser independentq UI-driver independent

Consq 3

rdparty libraries are OS Dependent

q HTTPs not supported out-of-the-boxq Run tests as ‘root’

Page 34: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

JSSNIFFER

Prosq Web-analytic solution independentq Browser independentq HTTPs supported out-of-the-boxq No dependency on any 3

rdparty library

Consq Need to write JavaScript to get the URL from the browserq UI-driver dependent

Page 35: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

@BagmarAnand #waat how can I contribute?

Page 36: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

PROXY DEBUGGER

Prosq Web-analytic solution independentq Browser independentq UI-driver dependentq HTTPs supported out-of-the-boxq No dependency on any 3

rdparty library

Consq Making it work for Mobile needs manual setup

Page 37: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

ARCHITECTURE

Page 38: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

Is that all to

Web Analytics?

Page 39: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

The new “kids” in town

IoT & Big Data

Page 40: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

Some popular use cases

https://www.kaaproject.org/iot-use-cases/

Page 41: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

IOT – INTERNET OF THINGS

Opportunity to

¨ Create new value propositions

¨ Be Innovative & Creative

Page 42: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

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 43: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

IOT – CHALLENGES

¨ Federated devices,

¨ Different types of networks

¨ Different communication channels

¨ Physical (hardware) & Virtual (software)

Page 44: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

IOT – BIGGER CHALLENGES

¨ Too many devices

¨ Lots of data

Page 45: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

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 46: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

What does this mean for Testing?

Page 47: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

TESTING OPPORTUNITIES

¨ “Testing” of these new integrations & its value propositions

¨ Performance

¨ Reliability

¨ Security

https://www.wired.com/2017/03/medical-devices-next-security-nightmare/?mbid=social_twitter_onsiteshare

Page 48: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

TESTING OPPORTUNITIES ...

¨ Build capabilities (and tools) 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 49: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

@BagmarAnand

about.me/anand.bagmar

THANK YOU

Page 50: The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)

RESOURCES

¨ https://github.com/anandbagmar/waat

¨ https://github.com/anandbagmar/waat-ruby

¨ http://essenceoftesting.blogspot.in/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