SlideShare a Scribd company logo
1 of 16
Download to read offline
Testing Ajax, Mobile Apps

the Agile Way
March 4, 2014
Frank Cohen, fcohen@appvance.com, (408) 364-5508
PepsiCo Needs Deep Reach To Consumers
• High User Experience Web App Campaigns
• Do Us A Flavor, Every2Minutes using Ajax, Web, Flash/Flex,

• Broad Reach Mobile App Campaigns
• iOS/iPhone, iPad, Android, Tablets Native Apps

• Time-On-Page Using Publishing Platforms
• Tumblr, WordPress, Google+, Facebook, Twitter

• Partners Via ERP, Workflow, Integration Platforms
• Oracle, TIBCO, IBM, Microsoft, Software AG, Redhat BPM, EMS, MQ
Testers Are Under Big New Pressure
• Agile Software Methods
• Ajax Environments
• Mixed Mobile Environments

“The Business Managers Tell Us They Need 1000 VUs in 10 Mins”
“The Devs used JMeter”
“The App Runs on WebKit Browsers and Android Native”
How Does It All Fit Together
• Agile Environment featuring Agile Stories
• Story < UseCase < Test < Schedule < Deploy < Build
• Continuous Integration, Source Repository, Test Scripting, Deploy Manager, and Agile

Test Management
• CloudBees, Travis CI+Deploy, JMeter, Rally, Appvance

• Select Test Tools, Test Management Tools, And Create

Operational Test Data
Test Runtime Architecture
Continuous
Integration
Developers

Jenkins

Appvance Performance Cloud
Appvance
Controller

Test Injector

Test Management
Clear

Instance 1

Map Story to Tests
Deploy to Cloud
Log Results

Test Repository
Clear

DPL Repository
Oracle

Script Runner, Monitor, DPL

Browser

Driver

Chrome, IE

SOAP, REST

Instance 2
Test Injector
Script Runner, Monitor, DPL

Aric New User SLA Warning
Average perf: 32 Seconds

Business,
DevOps

Results Repository
Oracle

Dashboard

Driver

Chrome, IE

Scalability Index

Browser

SOAP, REST

Shared Services
Environment
Service Under Test
App Under Test

Virtualized
Environment
Service Under Test
App Under Test
Modern Deployment Requires Modern Testing
• Desktop browsers, iOS and Android native apps, WebKit and

Mobile Web browsers
• End-To-End means HTTP Protocol level testing
• Beginning-To-End means Driving The Entire App
• Combination Testing Surfaces Root Case To Bottlenecks
The Hybrid Model
• End-To-End Component Testing at API/Protocol Level
• Beginning-to-End App Integration Testing
• Scalability Testing of End-User Experience
• Data Driven Tests from live operational data sources
• Functional Tests Repurposed To Performance Tests
• Validate Digital Agency Tests (normally not LoadRunner)
Typical Solution Combines Process and Teams
• LoadRunner Best Practices for Ajax, Mobile
• Tool and license for LoadRunner team to do its own testing
• Train testers and business managers on Test Methodology

• Consulting Practice, Integration Expertise
• Build upon the tools

• Identify Requirements for Digital Agencies, Product Teams
• 10-15 best practices required by digital agencies for app development
• Server Configuration Requirements Document
• SLA Requirements Definition for Publishing PAAS Providers
Missing Integration Expertise
• App Integration Bridges Digital Agencies

Agency	

Architecture
Diagram

Host
Implements

Frank:
“Where’s the
Node.js load
balancer?”

Host: “Oh, We
missed that.”
Digital Agencies Making Same Mistakes
• Frank asks: “Why is the deployed app not accepting 13 digit

cap codes?” 

Agency: “We missed that.”
• Frank asks: “Why is network limiting throughput to PHP

requests to Node.js?” 

Host: “The F5 load balancer does that by design. We’ll
remove it.”
• Frank asks: “Does the delivered app have testing APIs?”

Agency: “We will write some.”
Mistakes Happen At App Integration Time
• Frank asks: “How could more than 1 person log-in per second

using Gigya?” 

Gigya: “Oh, we didn’t think of that.”
• Frank asks: “Why isn’t the Log In service scalable above 100

log-ins per second?” 

Agency: “You’re running it on Windows, all our experience is
on Linux.” 

Host: “We don’t know.”
• Frank asks: “Why is Apache set to only use 25 worker

threads, when the app needs hundreds?”
Example Architecture - Integrated App
Email Services

Utility
Apache, PHP

MySQL Master

MySQL
Read

MySQL
Read

Load Balancer

App Web 1
Apache, PHP, Zend

NodeJS
Bid History

Load Balancer

NodeJS
View Counts

Load Balancer

Distributed Edge
Cache

Browser
App Integration Test Readiness Requirements
Number of
Server
Machines
Identified and
Provided
App code
from Agency

Installation at
Host

Last Minute
Changes from
the Business
Voting Service
(SAAS)
Configured

App Integration
Database
Created and
Populated

Preference
Center
Configured

Apache, PHP,
Zend, .NET,
Java optimized
Best Practices for LoadRunner on Ajax, Mobile
• Beginning-to-End App Integration Testing
• Run Ajax App In Real Browsers: Ie, Firefox, Chrome, Safari, Webkit, Mobile Web. Tests

100% Of The End-User Experience.
• LoadRunner TruClient does not work reliably with Ajax apps, 


does not test on Chrome, Safari, WebKit, and older IE, Firefox
• LoadRunner works great for end-to-end and protocol level tests. For example, making

HTTP/JSON requests to a Node.js server through a load balancer

• Combine Beginning-To-End and LoadRunner 


for test of app’s integration at app and protocol tiers
Models That May Work
• Product and License - Augment What You Already Have,

Teach and Train your team
• Services, Experts in Load Runner and other products, need

outsource, short staff
• We know your product, we know your tools, we know our

tools, we know what reduces app performance
• Maestro Service between agencies
• App Integration and Performance Test Services
Appvance
• When You Build Modern Apps And Wonder


“How Risky Is That App Launch Going To Be?”
• Call Us At (855) 254-1164 


Or Email Us Sales@Appvance.Com



And We Will Show You

More Related Content

What's hot

Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
Sauce Labs
 
From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]
Dynatrace
 
Our DevOps Journey: 6 Month Waterfalls to 1 Hour Code Deploys
Our DevOps Journey: 6 Month Waterfalls to 1 Hour Code DeploysOur DevOps Journey: 6 Month Waterfalls to 1 Hour Code Deploys
Our DevOps Journey: 6 Month Waterfalls to 1 Hour Code Deploys
Dynatrace
 
Continuous delivery mobile application development
Continuous delivery mobile application developmentContinuous delivery mobile application development
Continuous delivery mobile application development
Thoughtworks
 
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in MindSauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
Sauce Labs
 
Using microsoft application insights to implement a build, measure, learn loop
Using microsoft application insights to implement a build, measure, learn loopUsing microsoft application insights to implement a build, measure, learn loop
Using microsoft application insights to implement a build, measure, learn loop
Marcel de Vries
 

What's hot (20)

SOASTA CloudTest Lite
SOASTA CloudTest LiteSOASTA CloudTest Lite
SOASTA CloudTest Lite
 
Simplify Salesforce Testing with AI-Driven Codeless Tools
Simplify Salesforce Testing with AI-Driven Codeless ToolsSimplify Salesforce Testing with AI-Driven Codeless Tools
Simplify Salesforce Testing with AI-Driven Codeless Tools
 
Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
 
SauceCon 2017: Testing @ the Speed of Concurrency
SauceCon 2017: Testing @ the Speed of ConcurrencySauceCon 2017: Testing @ the Speed of Concurrency
SauceCon 2017: Testing @ the Speed of Concurrency
 
Managing Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the EnterpriseManaging Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the Enterprise
 
Learn Key Insights from The State of Web Application Testing Research Report
Learn Key Insights from The State of Web Application Testing Research ReportLearn Key Insights from The State of Web Application Testing Research Report
Learn Key Insights from The State of Web Application Testing Research Report
 
Automate REST API Testing
Automate REST API TestingAutomate REST API Testing
Automate REST API Testing
 
From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]
 
How to Cover All Your Backend Testing Needs with API and UI Tests
How to Cover All Your Backend Testing Needs with API and UI TestsHow to Cover All Your Backend Testing Needs with API and UI Tests
How to Cover All Your Backend Testing Needs with API and UI Tests
 
SauceCon 2017: test.allTheThings(): Digital Edition
SauceCon 2017: test.allTheThings(): Digital EditionSauceCon 2017: test.allTheThings(): Digital Edition
SauceCon 2017: test.allTheThings(): Digital Edition
 
Our DevOps Journey: 6 Month Waterfalls to 1 Hour Code Deploys
Our DevOps Journey: 6 Month Waterfalls to 1 Hour Code DeploysOur DevOps Journey: 6 Month Waterfalls to 1 Hour Code Deploys
Our DevOps Journey: 6 Month Waterfalls to 1 Hour Code Deploys
 
Implementing Test Automation: What a Manager Should Know
Implementing Test Automation: What a Manager Should KnowImplementing Test Automation: What a Manager Should Know
Implementing Test Automation: What a Manager Should Know
 
Easy Continuous Deployment You Can Trust (Webinar)
Easy Continuous Deployment You Can Trust (Webinar)Easy Continuous Deployment You Can Trust (Webinar)
Easy Continuous Deployment You Can Trust (Webinar)
 
Continuous delivery mobile application development
Continuous delivery mobile application developmentContinuous delivery mobile application development
Continuous delivery mobile application development
 
3 Tips to Deliver Fast Performance Across Mobile Web
3 Tips to Deliver Fast Performance Across Mobile Web3 Tips to Deliver Fast Performance Across Mobile Web
3 Tips to Deliver Fast Performance Across Mobile Web
 
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in MindSauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
 
CD
CDCD
CD
 
Using microsoft application insights to implement a build, measure, learn loop
Using microsoft application insights to implement a build, measure, learn loopUsing microsoft application insights to implement a build, measure, learn loop
Using microsoft application insights to implement a build, measure, learn loop
 
Tests for Every Branch Using CircleCI and Sauce Labs to Continuously Test CS ...
Tests for Every Branch Using CircleCI and Sauce Labs to Continuously Test CS ...Tests for Every Branch Using CircleCI and Sauce Labs to Continuously Test CS ...
Tests for Every Branch Using CircleCI and Sauce Labs to Continuously Test CS ...
 
Grokking TechTalk #19: Software Development Cycle In The International Moneta...
Grokking TechTalk #19: Software Development Cycle In The International Moneta...Grokking TechTalk #19: Software Development Cycle In The International Moneta...
Grokking TechTalk #19: Software Development Cycle In The International Moneta...
 

Viewers also liked (6)

architecture of mobile software applications
architecture of mobile software applicationsarchitecture of mobile software applications
architecture of mobile software applications
 
Cloud Performance Testing with LoadRunner
Cloud Performance Testing with LoadRunnerCloud Performance Testing with LoadRunner
Cloud Performance Testing with LoadRunner
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
 
Lamp ppt
Lamp pptLamp ppt
Lamp ppt
 
lamp technology
lamp technologylamp technology
lamp technology
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
 

Similar to Testing Ajax, Mobile Apps the Agile Way

Testing in the Cloud using Panda
Testing in the Cloud using PandaTesting in the Cloud using Panda
Testing in the Cloud using Panda
Tao Jiang
 
Srinivas_Selenium_3 Years_Resume
Srinivas_Selenium_3 Years_ResumeSrinivas_Selenium_3 Years_Resume
Srinivas_Selenium_3 Years_Resume
Srinivasa rao
 
Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US
gbaravindkumar
 
ganesh[5+ years] exp _Resume
ganesh[5+ years] exp _Resumeganesh[5+ years] exp _Resume
ganesh[5+ years] exp _Resume
ganesh r
 

Similar to Testing Ajax, Mobile Apps the Agile Way (20)

Launch High Performing Mobile Apps with Appurify
Launch High Performing Mobile Apps with AppurifyLaunch High Performing Mobile Apps with Appurify
Launch High Performing Mobile Apps with Appurify
 
On-Demand Webinar: Software Virtualization Lifecycle
On-Demand Webinar: Software Virtualization LifecycleOn-Demand Webinar: Software Virtualization Lifecycle
On-Demand Webinar: Software Virtualization Lifecycle
 
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
 
DevOps on AWS - Building Systems to Deliver Faster
DevOps on AWS - Building Systems to Deliver FasterDevOps on AWS - Building Systems to Deliver Faster
DevOps on AWS - Building Systems to Deliver Faster
 
How to Build Front-End Web Apps that Scale - FutureJS
How to Build Front-End Web Apps that Scale - FutureJSHow to Build Front-End Web Apps that Scale - FutureJS
How to Build Front-End Web Apps that Scale - FutureJS
 
Application Lifecycle Management
Application Lifecycle ManagementApplication Lifecycle Management
Application Lifecycle Management
 
Testing in the Cloud using Panda
Testing in the Cloud using PandaTesting in the Cloud using Panda
Testing in the Cloud using Panda
 
Neev QA Offering
Neev QA OfferingNeev QA Offering
Neev QA Offering
 
Srinivas_Selenium_3 Years_Resume
Srinivas_Selenium_3 Years_ResumeSrinivas_Selenium_3 Years_Resume
Srinivas_Selenium_3 Years_Resume
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6
 
Testing for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration MondayTesting for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration Monday
 
Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US
 
Building Enterprise Grade Front-End Applications with JavaScript Frameworks
Building Enterprise Grade Front-End Applications with JavaScript FrameworksBuilding Enterprise Grade Front-End Applications with JavaScript Frameworks
Building Enterprise Grade Front-End Applications with JavaScript Frameworks
 
DevOps on AWS: Accelerating Software Delivery with AWS Developer Tools | AWS ...
DevOps on AWS: Accelerating Software Delivery with AWS Developer Tools | AWS ...DevOps on AWS: Accelerating Software Delivery with AWS Developer Tools | AWS ...
DevOps on AWS: Accelerating Software Delivery with AWS Developer Tools | AWS ...
 
Developer’s Independence Day: Introducing the SharePoint App Model
Developer’s Independence Day:Introducing the SharePoint App ModelDeveloper’s Independence Day:Introducing the SharePoint App Model
Developer’s Independence Day: Introducing the SharePoint App Model
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
SRV312 DevOps on AWS: Building Systems to Deliver Faster
SRV312 DevOps on AWS: Building Systems to Deliver FasterSRV312 DevOps on AWS: Building Systems to Deliver Faster
SRV312 DevOps on AWS: Building Systems to Deliver Faster
 
SharePoint Apps model overview
SharePoint Apps model overviewSharePoint Apps model overview
SharePoint Apps model overview
 
Measure performance of the application using open source performance testing...
Measure performance of the  application using open source performance testing...Measure performance of the  application using open source performance testing...
Measure performance of the application using open source performance testing...
 
ganesh[5+ years] exp _Resume
ganesh[5+ years] exp _Resumeganesh[5+ years] exp _Resume
ganesh[5+ years] exp _Resume
 

More from Clever Moe

Making With A Disney Imagineer and Muppeteer
Making With A Disney Imagineer and MuppeteerMaking With A Disney Imagineer and Muppeteer
Making With A Disney Imagineer and Muppeteer
Clever Moe
 

More from Clever Moe (20)

6 solutions to ad costs going up while results are flat.
6 solutions to ad costs going up while results are flat.6 solutions to ad costs going up while results are flat.
6 solutions to ad costs going up while results are flat.
 
1.6 billion people are on Facebook, how will you get to the 1 that buys your ...
1.6 billion people are on Facebook, how will you get to the 1 that buys your ...1.6 billion people are on Facebook, how will you get to the 1 that buys your ...
1.6 billion people are on Facebook, how will you get to the 1 that buys your ...
 
How do I get good at Twitter Ads?
How do I get good at Twitter Ads?How do I get good at Twitter Ads?
How do I get good at Twitter Ads?
 
Marketing faster than your competitors in 5 easy steps
Marketing faster than your competitors in 5 easy stepsMarketing faster than your competitors in 5 easy steps
Marketing faster than your competitors in 5 easy steps
 
Local customers are out there, just where
Local customers are out there, just whereLocal customers are out there, just where
Local customers are out there, just where
 
Do i need an ad agency to be good at facebook ads
Do i need an ad agency to be good at facebook adsDo i need an ad agency to be good at facebook ads
Do i need an ad agency to be good at facebook ads
 
I know facebook ads, how do i expand to twitter, linked in, youtube
I know facebook ads, how do i expand to twitter, linked in, youtubeI know facebook ads, how do i expand to twitter, linked in, youtube
I know facebook ads, how do i expand to twitter, linked in, youtube
 
5 solutions to the digital ad networks unsolvable puzzle
5 solutions to the digital ad networks unsolvable puzzle5 solutions to the digital ad networks unsolvable puzzle
5 solutions to the digital ad networks unsolvable puzzle
 
Instagram ads look super complicated, what can i do in 15 minutes?
Instagram ads look super complicated, what can i do in 15 minutes?Instagram ads look super complicated, what can i do in 15 minutes?
Instagram ads look super complicated, what can i do in 15 minutes?
 
How to get 1,000 people to look at your product for $1,000
How to get 1,000 people to look at your product for $1,000How to get 1,000 people to look at your product for $1,000
How to get 1,000 people to look at your product for $1,000
 
Defending your ad budget from Facebook and LinkedIn AIs
Defending your ad budget from Facebook and LinkedIn AIsDefending your ad budget from Facebook and LinkedIn AIs
Defending your ad budget from Facebook and LinkedIn AIs
 
Do i need an ad agency to be good at Facebook ads?
Do i need an ad agency to be good at Facebook ads?Do i need an ad agency to be good at Facebook ads?
Do i need an ad agency to be good at Facebook ads?
 
Marketing faster than your competitors in 5 easy steps
Marketing faster than your competitors in 5 easy stepsMarketing faster than your competitors in 5 easy steps
Marketing faster than your competitors in 5 easy steps
 
Making With A Disney Imagineer and Muppeteer
Making With A Disney Imagineer and MuppeteerMaking With A Disney Imagineer and Muppeteer
Making With A Disney Imagineer and Muppeteer
 
Things I Heard At The TestKit 2014 Conference
Things I Heard At The TestKit 2014 ConferenceThings I Heard At The TestKit 2014 Conference
Things I Heard At The TestKit 2014 Conference
 
TestMaker Object Designer Training - Basics
TestMaker Object Designer Training - BasicsTestMaker Object Designer Training - Basics
TestMaker Object Designer Training - Basics
 
What Is New In TestMaker 6.5
What Is New In TestMaker 6.5What Is New In TestMaker 6.5
What Is New In TestMaker 6.5
 
San Jose Selenium Meet-up PushToTest TestMaker Presentation
San Jose Selenium Meet-up PushToTest TestMaker PresentationSan Jose Selenium Meet-up PushToTest TestMaker Presentation
San Jose Selenium Meet-up PushToTest TestMaker Presentation
 
Continuous Integration with TestMaker, Hudson, Jenkins, Bamboo
Continuous Integration with TestMaker, Hudson, Jenkins, BambooContinuous Integration with TestMaker, Hudson, Jenkins, Bamboo
Continuous Integration with TestMaker, Hudson, Jenkins, Bamboo
 
OnDemand Cloud Testing
OnDemand Cloud TestingOnDemand Cloud Testing
OnDemand Cloud Testing
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 

Testing Ajax, Mobile Apps the Agile Way

  • 1. Testing Ajax, Mobile Apps
 the Agile Way March 4, 2014 Frank Cohen, fcohen@appvance.com, (408) 364-5508
  • 2. PepsiCo Needs Deep Reach To Consumers • High User Experience Web App Campaigns • Do Us A Flavor, Every2Minutes using Ajax, Web, Flash/Flex, • Broad Reach Mobile App Campaigns • iOS/iPhone, iPad, Android, Tablets Native Apps • Time-On-Page Using Publishing Platforms • Tumblr, WordPress, Google+, Facebook, Twitter • Partners Via ERP, Workflow, Integration Platforms • Oracle, TIBCO, IBM, Microsoft, Software AG, Redhat BPM, EMS, MQ
  • 3. Testers Are Under Big New Pressure • Agile Software Methods • Ajax Environments • Mixed Mobile Environments “The Business Managers Tell Us They Need 1000 VUs in 10 Mins” “The Devs used JMeter” “The App Runs on WebKit Browsers and Android Native”
  • 4. How Does It All Fit Together • Agile Environment featuring Agile Stories • Story < UseCase < Test < Schedule < Deploy < Build • Continuous Integration, Source Repository, Test Scripting, Deploy Manager, and Agile Test Management • CloudBees, Travis CI+Deploy, JMeter, Rally, Appvance • Select Test Tools, Test Management Tools, And Create Operational Test Data
  • 5. Test Runtime Architecture Continuous Integration Developers Jenkins Appvance Performance Cloud Appvance Controller Test Injector Test Management Clear Instance 1 Map Story to Tests Deploy to Cloud Log Results Test Repository Clear DPL Repository Oracle Script Runner, Monitor, DPL Browser Driver Chrome, IE SOAP, REST Instance 2 Test Injector Script Runner, Monitor, DPL Aric New User SLA Warning Average perf: 32 Seconds Business, DevOps Results Repository Oracle Dashboard Driver Chrome, IE Scalability Index Browser SOAP, REST Shared Services Environment Service Under Test App Under Test Virtualized Environment Service Under Test App Under Test
  • 6. Modern Deployment Requires Modern Testing • Desktop browsers, iOS and Android native apps, WebKit and Mobile Web browsers • End-To-End means HTTP Protocol level testing • Beginning-To-End means Driving The Entire App • Combination Testing Surfaces Root Case To Bottlenecks
  • 7. The Hybrid Model • End-To-End Component Testing at API/Protocol Level • Beginning-to-End App Integration Testing • Scalability Testing of End-User Experience • Data Driven Tests from live operational data sources • Functional Tests Repurposed To Performance Tests • Validate Digital Agency Tests (normally not LoadRunner)
  • 8. Typical Solution Combines Process and Teams • LoadRunner Best Practices for Ajax, Mobile • Tool and license for LoadRunner team to do its own testing • Train testers and business managers on Test Methodology • Consulting Practice, Integration Expertise • Build upon the tools • Identify Requirements for Digital Agencies, Product Teams • 10-15 best practices required by digital agencies for app development • Server Configuration Requirements Document • SLA Requirements Definition for Publishing PAAS Providers
  • 9. Missing Integration Expertise • App Integration Bridges Digital Agencies Agency Architecture Diagram Host Implements Frank: “Where’s the Node.js load balancer?” Host: “Oh, We missed that.”
  • 10. Digital Agencies Making Same Mistakes • Frank asks: “Why is the deployed app not accepting 13 digit cap codes?” 
 Agency: “We missed that.” • Frank asks: “Why is network limiting throughput to PHP requests to Node.js?” 
 Host: “The F5 load balancer does that by design. We’ll remove it.” • Frank asks: “Does the delivered app have testing APIs?” Agency: “We will write some.”
  • 11. Mistakes Happen At App Integration Time • Frank asks: “How could more than 1 person log-in per second using Gigya?” 
 Gigya: “Oh, we didn’t think of that.” • Frank asks: “Why isn’t the Log In service scalable above 100 log-ins per second?” 
 Agency: “You’re running it on Windows, all our experience is on Linux.” 
 Host: “We don’t know.” • Frank asks: “Why is Apache set to only use 25 worker threads, when the app needs hundreds?”
  • 12. Example Architecture - Integrated App Email Services Utility Apache, PHP MySQL Master MySQL Read MySQL Read Load Balancer App Web 1 Apache, PHP, Zend NodeJS Bid History Load Balancer NodeJS View Counts Load Balancer Distributed Edge Cache Browser
  • 13. App Integration Test Readiness Requirements Number of Server Machines Identified and Provided App code from Agency Installation at Host Last Minute Changes from the Business Voting Service (SAAS) Configured App Integration Database Created and Populated Preference Center Configured Apache, PHP, Zend, .NET, Java optimized
  • 14. Best Practices for LoadRunner on Ajax, Mobile • Beginning-to-End App Integration Testing • Run Ajax App In Real Browsers: Ie, Firefox, Chrome, Safari, Webkit, Mobile Web. Tests 100% Of The End-User Experience. • LoadRunner TruClient does not work reliably with Ajax apps, 
 does not test on Chrome, Safari, WebKit, and older IE, Firefox • LoadRunner works great for end-to-end and protocol level tests. For example, making HTTP/JSON requests to a Node.js server through a load balancer • Combine Beginning-To-End and LoadRunner 
 for test of app’s integration at app and protocol tiers
  • 15. Models That May Work • Product and License - Augment What You Already Have, Teach and Train your team • Services, Experts in Load Runner and other products, need outsource, short staff • We know your product, we know your tools, we know our tools, we know what reduces app performance • Maestro Service between agencies • App Integration and Performance Test Services
  • 16. Appvance • When You Build Modern Apps And Wonder
 “How Risky Is That App Launch Going To Be?” • Call Us At (855) 254-1164 
 Or Email Us Sales@Appvance.Com
 
 And We Will Show You