There are two kinds of test tool vendors in the world. Those that count in binary and those that don’t. Okay, stale joke aside there are those that test applications (like Mercury, now part of HP, IBM, etc) and those that test the infrastructure (like IXIA, Spirent, etc). Mu was founded on the premise that this boundary is blurring rapidly and there needs to be a new kind of testing solution that spans the layers between applications and infrastructures and looks at the service as a whole. As we look into the imminent future of HTML5 and the innovation in mobile and cloud apps, you can see this in play right now. And yet all these test tool vendors are lagging behind this brave new world.
HTML5
Here’s what Wikipedia has to say about HTML5:
The HTML5 specification was adopted as the starting point of the work of the new HTML working group of the World Wide Web Consortium (W3C) in 2007. This working group published the First Public Working Draft of the specification on January 22, 2008.[3] The specification is an ongoing work, and is expected to remain so for many years, although parts of HTML5 are going to be finished and implemented in browsers before the whole specification reaches final Recommendation status.
While the standards are still evolving, the browsers (Chrome and Safari nightly) are already starting to implement large subsets of the evolving specifications and users are building bleeding edge applications. HTML5 has native support for audio and video and pushes DHTML and Ajax even further. If you thought testing Web 2.0 (with mashups and XmlHTTPRequest) was hard, wait until you see Web Sockets!
Web Sockets
Web Sockets are an extension to the HTTP protocol that allow applications to start a simple HTTP request and upgrade the connection to support any protocol that the application developer wants! While the current spec doesn’t include binary framing, I can definitely see someone get creative and start sending ASN.1, Thrift, Protocol Buffers and please-don’t-do-it-ASN.1-with-Packed Encoding Rules.
This is important. Let me reiterate:
With Web Sockets, it’s not just about HTTP/HTML/XML/JSON testing anymore. Could be any protocol as deemed appropriate by the application developers! That means application testing tools just went from importing a Java package for XML parsing to supporting the complexities and encodings only found in the RFC’s and ITU specifications near you. There are no ready-to-go Java packages for all these protocols.
I’ve uploaded a capture of a simple chat application available at jWebSocket using a nightly Safari build to pcapr. Here’s the annotated Follow TCP stream view from Wireshark:
You can see that this application uses a fairly simple JSON RPC with the 0xFF framing. In other words whatever it sends bi-directionally (full-duplex) is encapsulated between 0×00 and 0xFF like this:
\x00{"type":"login","username":"anonymous","password":"","pool":null,"utid":10}\xFF
Now testing this becomes interesting. If you want to simulate lots of different users with different passwords chatting with each other, you need to parametrize these JSON entries and run them all. And what about Fuzzing this chat application from a security and resilience perspective? Remember there are no specifications, no RFC’s and no standards on the application transaction. So how do you test this?
Testing with Mu Studio
Our approach to testing is to simply capture the application traffic and then replicate the chat transaction that includes the 0xFF framing, the HTML5 upgrade mechanism, etc. This works across all layers and across any protocol! Here’s the resulting call-flow that Studio was able to create for this chat application:
With full parametrization for functional testing and automatic field-aware fuzzing, you can start testing HTML5 apps now well before even the standards are all ratified! This is just a start. Expect more blogs that talk about other types of testing in the brave new world of HTML5 apps. Things are about get a whole lot exciting!



Pingback: Twitter Trackbacks for Mu Dynamics Research Labs » Blog Archive » Testing HTML5 Applications [mudynamics.com] on Topsy.com
Pingback: Error 1606
Pingback: sistemas de control de flota
Pingback: cool caravans
Pingback: guest beds
Pingback: Buy Fan
Pingback: triactol
Pingback: how to swing dance step by step
Pingback: outdoorWickerBarStools
Pingback: enfermedades de perros en la piel
Pingback: best supplements for muscle gain
Pingback: Dallas Video Production
Pingback: Siesta Key 1 Bedroom Condo Rental
Pingback: Dallas Senior Portrait Photographer
Pingback: James Bond Books
Pingback: Dallas Boudoir Photographer
Pingback: Dallas Wedding Photographers
Pingback: como liberar moviles
Pingback: Tesla Turbine
Pingback: Escort girl Paris
Pingback: bodybuilding supplements
Pingback: best bcaa
Pingback: webcam chat
Pingback: Phil Cannella
Pingback: Ross Pine
Pingback: SATNAV
Pingback: muay thai Thailand
Pingback: florida unemployment benefits
Pingback: Best Logos
Pingback: Swedish Meatballs
Pingback: best weight loss program
Pingback: solihull dentists
Pingback: Porn Discussion
Pingback: inkjet cartridges
Pingback: uzaktan egitim
Pingback: best radar detectors
Pingback: private
Pingback: Inmate Locator
Pingback: pozyczki chwilowki
Pingback: Florida drug rehab
Pingback: best shampoo for oily hair
Pingback: Ingersoll Rand Air Compressor
Pingback: Mobile Money Bandit scam
Pingback: s80 coolpix
Pingback: Prenatal Massage New York City
Pingback: hidemyass vpn
Pingback: black hair
Pingback: Caribbean Weddings
Pingback: Tonin
Pingback: Earn Money Online India
Pingback: Jesse V.
Pingback: iphone
Pingback: project payday review
Pingback: touch phone
Pingback: hypnosis weight loss
Pingback: DSW coupons
Pingback: barkeeperschule
Pingback: lethbridge seo
Pingback: i hate my job
Pingback: Jennifer Ellison nuts
Pingback: What are some things that help Teenage Acne
Pingback: Wholesale Clothing
Pingback: what is serotonin
Pingback: dating online
Pingback: bathroom tile backsplash ideas
Pingback: Futures Trading
Pingback: marijuana addiction
Pingback: Buy Electronic Cigarette
Pingback: work at home
Pingback: home based income
Pingback: Geoffrey Golas
Pingback: Stenography Career
Pingback: best way to scrunch hair
Pingback: pros and cons of debt settlement
Pingback: furniture
Pingback: Scleritis symptoms
Pingback: How to Transfer Music from iPhone to Computer
Pingback: fire pit plans
Pingback: playhouses
Pingback: Blog porno
Pingback: Best video camera
Pingback: Cooking
Pingback: commercial real estate inspections
Pingback: normal cholesterol levels
Pingback: nail technician jobs
Pingback: Notarztkurs Sylt 2013
Pingback: Scott Tucker Payday Loans
Pingback: physical therapy
Pingback: cold sore remedies
Pingback: Scott Tucker Racing
Pingback: Scott Tucker CBS
Pingback: Scott Tucker CBS
Pingback: Scott Tucker Racing
Pingback: Scott Tucker Racing
Pingback: Scott Tucker CBS
Pingback: Okna Gniezno
Pingback: Scott Tucker CBS
Pingback: Scott Tucker Leawood
Pingback: join huge yield
Pingback: SEO Link Monster review
Pingback: Bank Owned Homes
Pingback: video production nyc
Pingback: Scott Tucker Racing
Pingback: Appraisal Management Companies
Pingback: reo agents