Cross Platform Network Calls Automation

Slides:



Advertisements
Similar presentations
WEB AND WIRELESS AUTOMATION connecting people and processes InduSoft Web Solution Welcome.
Advertisements

Dynamic Analysis of Windows Phone 7 apps Behrang Fouladi, SensePost.
Testing Web Applications & Services Testing Web Applications & Web Services.
Capture Packets using Wireshark. Introduction Wireshark – – Packet analysis software – Open source.
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
Troubleshooting.
Web Services Andrea Miller Ryan Armstrong Alex. Web services are an emerging technology that offer a solution for providing a common collaborative architecture.
What Can You do With BTM? Business Transaction Management touches the following disciplines:  Performance Management  Application Management  Capacity.
 Proxy Servers are software that act as intermediaries between client and servers on the Internet.  They help users on private networks get information.
Understanding and Managing WebSphere V5
Software Engineering for Cloud Computing Rao, Feng 04/27/2011.
Internet GIS. A vast network connecting computers throughout the world Computers on the Internet are physically connected Computers on the Internet use.
Sharing Geographic Content
Extending Cocos2D-x Mobile 2D Framework Rony Xu Happy Elements.
February Semantion Privately owned, founded in 2000 First commercial implementation of OASIS ebXML Registry and Repository.
DYNAMICS CRM AS AN xRM DEVELOPMENT PLATFORM Jim Novak Solution Architect Celedon Partners, LLC
Computing on the Cloud Jason Detchevery March 4 th 2009.
Implementation - Deployment Methods of deployment –User PC –Network shared (workstation install) –Terminal server –Web Deployment (ActiveX) (Note: this.
Dynamic Content On Edge Cache Server (using Microsoft.NET) Name: Aparna Yeddula CS – 522 Semester Project Project URL: cs.uccs.edu/~ayeddula/project.html.
Asynchronous Interactive Design of Web Applications: Real-time SIP Message Monitoring System using AJAX Student: Yan-Hsiang Wang Advisor: Dr. Quincy Wu.
Esri UC 2014 | Technical Workshop | Esri Roads and Highways: Integrating and Developing LRS Business Systems Tom Hill.
Integrating and Troubleshooting Citrix Access Gateway.
Computer Networking.  The basic tool for observing the messages exchanged between executing protocol entities  Captures (“sniffs”) messages being sent/received.
Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain.
CROSS PLATFORM MOBILITY
COMP2322 Lab 1 Introduction to Wireshark Weichao Li Jan. 22, 2016.
Windows Azure poDRw_Xi3Aw.
ASP.NET WEB Applications. ASP.NET  Web application framework developed by Microsoft  Build dynamic data driven web applications and web services  Subset.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
Redmond Protocols Plugfest 2016 Jinghui Zhang Office Interoperability Test Tools (Test Suites and Open Source Projects) Software Engineer Microsoft Corporation.
Ognjen Bajić Ana Roje Ivančić Ekobit Efficient Application Testing.
The Holmes Platform and Applications
IBM Tivoli Provisioning Manager IPv6 Enablement
Critical Security Controls
DocFusion 365 Intelligent Template Designer and Document Generation Engine on Azure Enables Your Team to Increase Productivity MICROSOFT AZURE APP BUILDER.
Netscape Application Server
Automation Approach for Dynamic and Responsive Web Applications
Tulika Chaudharie / Harikharan Krishnaraju
ADT (Analytics Driven Testing)
Extended BDD Automation for Future Agile Applications
Practical Censorship Evasion Leveraging Content Delivery Networks
UI-Performance Optimization by Identifying its Bottlenecks
Platform as a Service.
Test Automation for IoT solutions A Paradigm shift
Cloud Computing By P.Mahesh
SENIOR MANAGER - SOFTWARE TESTING PRACTICE
Galen - Automated testing of look and feel
End-to-End REST Service Testing Automation
Continuous Performance Engineering
WEB API.
Continuous Automated Chatbot Testing
Visual Studio 2005 “Personalized productivity”
Be Better: Achieve Customer Service Excellence and Create a Lean RMA and Returns Process with Renewity RMA and the Power of Microsoft Azure MICROSOFT AZURE.
Chapter 3. Basic Dynamic Analysis
ARTIFICIAL INTELLIGENCE IN SOFTWARE TESTING
Why many Automation Frameworks? when ONE can do ALL
Workflow-based Automation Framework for Agile Software Development
Project insights using mining software repositories
Continuous Client Side Localization
Enhanced Security Testing- Do Automate Debuggers
Lecture 1: Multi-tier Architecture Overview
System migration – An automated approach to overcome challenges
Cloud Web Filtering Platform
Measure Reliability of Automation – using Machine learning
Wireshark(Ethereal).
Cloud Computing: Concepts
Office 365 Performance Management
Mark Quirk Head of Technology Developer & Platform Group
MicroToken Exchange Data Security Solutions
Presentation transcript:

Cross Platform Network Calls Automation Varun Bhal – Lead Software Engineer Adobe Systems, Noida

Abstract As we are moving towards cloud technology, most of the products and web apps involve background network calls in their workflows nowadays Testing these calls give hard time to the tester, esp. the calls which are used to capture analytics, workflows registration, background update checks, etc. because you can’t see their impact on the UI Web proxy tools like Fiddler, Charles, etc. are used to test such calls, but it’s a manual process and not all tools are cross platform Tracing SSL requests (https calls) is again difficult with such tools and mostly supported in browsers only Tshark is a command line utility which can be used to sniff http/https network calls and can be easily hooked with any automation framework

E.g. : Dynamic dialogs, advertisements, notification services, etc. Types on network calls: Impact on UI E.g. : Dynamic dialogs, advertisements, notification services, etc. Easy to test and validate Easy to automate the UI test cases No impact on UI E.g. : Analytics calls, workflow registrations, background update checks, etc. Need to sniff network traffic to validate the calls Manual process Difficult to automate across different platforms Difficult to sniff and decrypt SSL requests How to solve this?

Solution : Use Tshark Command line network sniffing utility Comes bundled with Wireshark – open source network protocol analyzer tool Supports various filters while capturing or reading the packets Supports SSL requests decryption Can be easily hooked with any automation framework

Supported platforms :

Architecture : Web Server Client Tshark 3. Network calls 1. Start sniffing 2. Run test cases 4. Filtered results 4.1 Private key to decrypt https calls Automation Framework 3. Network calls 2. Run test cases Mobile app Private key Only for https calls Hotspot 0. Connected to hotspot Test machine

Various workflows to be covered : Read http requests Read http response Read https requests Read https response Sniffing on mobile platforms

Read http requests: Request : http://frinstall.macromedia.com/pub/flashplayer/update/current/version.xml?usr=admin&pwd=tester Sniff calls : tshark -a duration:30 -w "C:\\capture.pcap” Filter results : tshark -r "C:\\capture.pcap" -Y "http.request.uri contains flashplayer" -T fields -e http.request.full_uri Output : http://frinstall.macromedia.com/pub/flashplayer/update/current/version.xml?usr=admin&pwd=tester

Read http response: Request : http://frinstall.macromedia.com/pub/flashplayer/update/current/version.xml Sniff calls : tshark -a duration:30 -w "C:\\capture.pcap” Filter results : tshark -r "C:\\capture.pcap" -Y "http.content_type contains application" -X lua_script:extract.lua -X lua_script1:xml -T fields -e extractor.value.string > C:\output.txt Output :

Read https requests and responses: Sniff calls : tshark -a duration:30 -w "C:\\capture.pcap” Filter results : tshark -o "ssl.desegment_ssl_records:TRUE" -o "ssl.desegment_ssl_application_data:TRUE" -o "ssl.keys_list:10.5.132.38,443,data,privatewp.key" -r “C:\capture.pcap” -Y "ssl contains frinstall" -T fields -e tcp.stream Output -> 1,2 tshark -o "ssl.desegment_ssl_records:TRUE" -o "ssl.desegment_ssl_application_data:TRUE" -o "ssl.keys_list:10.5.132.38,443,data,privatewp.key" -r “C:\capture.pcap” -qz follow,ssl,ascii,1 > C:\outputs.txt

Read https response (cont): Output :

Sniffing on mobile platforms : Most of the mobile automation frameworks are driven from Desktop Connect DUT to the Desktop via hotspot Start sniffing on Desktop Perform test cases on DUT Filter requests and responses on Desktop using the technique discussed previously

Author Biography Varun is a Lead Software engineer at Adobe with 5.5 years of industry experience in automation and tools development. He is a part of Flash Runtime team at Adobe and have exposure of working in installation, deployment and runtime test automation across different platforms, including Mobile technology. This is where he came across with this practice and got successful in implementing it in automation.

Thank You!!!