Welcome!

FinTech Journal Authors: Liz McMillan, Yeshim Deniz, Elizabeth White, Pat Romanski, Mehdi Daoudi

Related Topics: FinTech Journal, @CloudExpo, @ThingsExpo, WebRTC Summit

FinTech Journal: Article

WebRTC's Impact on Testing | @ThingsExpo #IoT #M2M #API #RTC #WebRTC

Web Real Time Communications (WebRTC) is changing the way we have traditionally communicated and collaborated

WebRTC and Its Impact on Testing

By Nikhil Kaul

Web Real Time Communications (WebRTC) is changing the way we have traditionally communicated and collaborated. To be specific, the technology allows developers to embed voice, data, instant messaging, and video into web browsers, thereby providing easier and far efficient ways to communicate than Voice Over Internet Protocol (VOIP) services such as Skype, WhatsApp, and WebEx.

WebRTC has come a long way since its inception in May 2011. Right from achieving interoperability between Chrome and Firefox browsers in 2013 to rolling out support for Android mobile, WebRTC has continued to garner more attention every year. And the market momentum is expected to continue growing. Infact, a recent Analysts Mason report predicts that with Apple and Microsoft incorporating WebRTC in their browsers, there might be 7 billion devices supporting WebRTC by 2020. With that strong growth rate, it is imperative for testers to have a strategy in place in order to test WebRTC applications efficiently. But before we venture down that path, it is critical to understand what's driving this growth and how testing a WebRTC is different from any other web applications.

WebRTC-enabled endpoints by device type, worldwide, 2013-2020 [Source: Analysys Mason, 2014]

WebRTC-enabled endpoints by device type, worldwide, 2013-2020 [Source: Analysys Mason, 2014]

Why WebRTC is gaining attraction? And why should you care??

  • WebRTC gives web developers an access to Voice over Internet market: WebRTC opens up the VOIP market to web developers. Web developers no longer need proprietary technology to build solutions for the VOIP market. With WebRTC being open source and free to use, the barriers of entry for the VOIP market have been drastically reduced. This means we would see more developers using WebRTC to build real-time communication apps, therefore testers need to be ready.
  • WebRTC makes it extremely easy for end-users to communicate: From the demand side perspective, there seems to be no issue as well. WebRTC makes the process of communicating much more seamless. Unlike VOIP services where consumers need to download and regularly update applications such as Skype or WhatsApp, WebRTC allows users to make calls just through a web page. The process is thereby friction-less, eliminating hurdles for user adoption.
  • Increased number of use cases for WebRTC are emerging: WebRTC is more than real-time audio and video. In fact, existing use cases include peer-to-peer speedier file transfer through RTCDataChannel JavaScript APIS of WebRTC.

Even for audio and video applications, a key advantage of WebRTC is that it allows developers to create more engaging and immersive real-time communications than existing VOIP services such as skype and what's app. Take the example of ustyme, which allows end users to play games and read books while interacting with each other on video.  Moreover, real-time video capabilities of WebRTC are now being integrated into a wide range of verticals, including business, medical, and education.

  • Browser support for WebRTC continues to grow: Increased numbers of browsers are incorporating WebRTC. WebRTC infact now comes preinstalled with Chrome and Mozilla. Additionally, as WebRTC makes strides with standardization and as market continues to mature, Microsoft and Apple are expected to roll out support for WebRTC.

How WebRTC is different than testing current web applications?

  • Growing Role of APIs in Web Apps: Web RTC applications are predominantly being driven by APIs. Hence, while testing a WebRTC application,youc an no longer just base your test cases on the Graphical User Interface (GUI). As a tester, one needs to factor in how request and responses of the API impact the GUI.

Three specific JavaScript APIs dictate the information present on a WebRTC GUI. These include getUserMedia, RTCPeerConnection, and RTCDataChannel. The getUserMedia  API allows web browser an access to phones camera, microphone, or screen.   RTCPeerConnection on the other hand helps determine signaling state of the connection.  And finally, RTCDataChannel API supports sending data whether audio and video across browsers.  As you can see, test cases on the GUI would be governed by these three APIs.

How to test WebRTC applications?

In order to test a WebRTC application effectively, an integrated GUI and API testing solution is required. Biasing your tests just on the GUI is bound to fail as the video, file, or even audio returned by the API call is bound to change based on the request and response. For instance, if you want to check whether video stream works properly on two browsers, the testing steps would require testing both the GUI and API layer. Some of these steps could be:

  1. Allow automated testing solution to gain an access to the camera for video stream
  • Testers would typically use the getUserMedia API for this action
  1. Start the two browsers and record actions using record and replay action
  1. Wait for the two browsers to get connected using the RTCPeerConnection API
  1. Check if connection state has established using the event iceconnectionstatechanged
  1. Once connection is established, check if the UI of browsers display the video stream properly

As seen in the above example, writing tests just on the GUI could be really brittle, especially when the GUI information changes based on getUserMedia APIresponse.  As a tester, you thus need to factor in response of the APIs while designing GUI tests for WebRTC apps.

As it stands, WebRTC is bound to grow. Testers therefore need to be better prepared to test these applications. Proactively incorporating practices that help test both the GUI and API layer could be critical to rolling out these applications bug-free to the marketplace.

More Stories By SmartBear Blog

As the leader in software quality tools for the connected world, SmartBear supports more than two million software professionals and over 25,000 organizations in 90 countries that use its products to build and deliver the world’s greatest applications. With today’s applications deploying on mobile, Web, desktop, Internet of Things (IoT) or even embedded computing platforms, the connected nature of these applications through public and private APIs presents a unique set of challenges for developers, testers and operations teams. SmartBear's software quality tools assist with code review, functional and load testing, API readiness as well as performance monitoring of these modern applications.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
We build IoT infrastructure products - when you have to integrate different devices, different systems and cloud you have to build an application to do that but we eliminate the need to build an application. Our products can integrate any device, any system, any cloud regardless of protocol," explained Peter Jung, Chief Product Officer at Pulzze Systems, in this SYS-CON.tv interview at @ThingsExpo, held November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA
SYS-CON Events announced today that Hitachi Data Systems, a wholly owned subsidiary of Hitachi LTD., will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City. Hitachi Data Systems (HDS) will be featuring the Hitachi Content Platform (HCP) portfolio. This is the industry’s only offering that allows organizations to bring together object storage, file sync and share, cloud storage gateways, and sophisticated search and...
SYS-CON Events announced today that Progress, a global leader in application development, has been named “Bronze Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Enterprises today are rapidly adopting the cloud, while continuing to retain business-critical/sensitive data inside the firewall. This is creating two separate data silos – one inside the firewall and the other outside the firewall. Cloud ISVs ofte...
SYS-CON Events announced today that Fusion, a leading provider of cloud services, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Fusion, a leading provider of integrated cloud solutions to small, medium and large businesses, is the industry’s single source for the cloud. Fusion’s advanced, proprietary cloud service platform enables the integration of leading edge solutions in the cloud, including cloud...
Five years ago development was seen as a dead-end career, now it’s anything but – with an explosion in mobile and IoT initiatives increasing the demand for skilled engineers. But apart from having a ready supply of great coders, what constitutes true ‘DevOps Royalty’? It’ll be the ability to craft resilient architectures, supportability, security everywhere across the software lifecycle. In his keynote at @DevOpsSummit at 20th Cloud Expo, Jeffrey Scheaffer, GM and SVP, Continuous Delivery Busine...
SYS-CON Events announced today that delaPlex will exhibit at SYS-CON's @CloudExpo, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. delaPlex pioneered Software Development as a Service (SDaaS), which provides scalable resources to build, test, and deploy software. It’s a fast and more reliable way to develop a new product or expand your in-house team.
SYS-CON Events announced today that Progress, a global leader in application development, has been named “Bronze Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Enterprises today are rapidly adopting the cloud, while continuing to retain business-critical/sensitive data inside the firewall. This is creating two separate data silos – one inside the firewall and the other outside the firewall. Cloud ISVs oft...
SYS-CON Events announced today that Cloud Academy will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Cloud Academy is the industry’s most innovative, vendor-neutral cloud technology training platform. Cloud Academy provides continuous learning solutions for individuals and enterprise teams for Amazon Web Services, Microsoft Azure, Google Cloud Platform, and the most popular cloud computing technologies. Ge...
The 21st International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Digital Transformation, Machine Learning and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding busin...
SYS-CON Events announced today that WineSOFT will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Based in Seoul and Irvine, WineSOFT is an innovative software house focusing on internet infrastructure solutions. The venture started as a bootstrap start-up in 2010 by focusing on making the internet faster and more powerful. WineSOFT’s knowledge is based on the expertise of TCP/IP, VPN, SSL, peer-to-peer, mob...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with the 21st International Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. @ThingsExpo Silicon Valley Call for Papers is now open.
DevOps at Cloud Expo – being held October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real r...
SYS-CON Events announced today that T-Mobile will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. As America's Un-carrier, T-Mobile US, Inc., is redefining the way consumers and businesses buy wireless services through leading product and service innovation. The Company's advanced nationwide 4G LTE network delivers outstanding wireless experiences to 67.4 million customers who are unwilling to compromise on ...
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm.
SYS-CON Events announced today that Ocean9will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Ocean9 provides cloud services for Backup, Disaster Recovery (DRaaS) and instant Innovation, and redefines enterprise infrastructure with its cloud native subscription offerings for mission critical SAP workloads.
SYS-CON Events announced today that Carbonite will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Carbonite protects your entire IT footprint with the right level of protection for each workload, ensuring lower costs and dependable solutions with DoubleTake and Evault.
Existing Big Data solutions are mainly focused on the discovery and analysis of data. The solutions are scalable and highly available but tedious when swapping in and swapping out occurs in disarray and thrashing takes place. The resolution for thrashing through machine learning algorithms and support nomenclature is through simple techniques. Organizations that have been collecting large customer data are increasingly seeing the need to use the data for swapping in and out and thrashing occurs ...
Detecting internal user threats in the Big Data eco-system is challenging and cumbersome. Many organizations monitor internal usage of the Big Data eco-system using a set of alerts. This is not a scalable process given the increase in the number of alerts with the accelerating growth in data volume and user base. Organizations are increasingly leveraging machine learning to monitor only those data elements that are sensitive and critical, autonomously establish monitoring policies, and to detect...
SYS-CON Events announced today that CollabNet, a global leader in enterprise software development, release automation and DevOps solutions, will be a Bronze Sponsor of SYS-CON's 20th International Cloud Expo®, taking place from June 6-8, 2017, at the Javits Center in New York City, NY. CollabNet offers a broad range of solutions with the mission of helping modern organizations deliver quality software at speed. The company’s latest innovation, the DevOps Lifecycle Manager (DLM), supports Value S...
SYS-CON Events announced today that A&I Solutions named "Bronze Sponsor" of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Founded over 15 years ago in 1999, A&I Solutions continues to provide companies with premier integrated enterprise solutions. By partnering with the trusted and proven solutions of leading technology companies, our customers are assured high performance levels across all IT environments including:...