Welcome!

FinTech Journal Authors: Liz McMillan, Yeshim Deniz, Carmen Gonzalez, Pat Romanski, Bob Gourley

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
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.
The explosion of new web/cloud/IoT-based applications and the data they generate are transforming our world right before our eyes. In this rush to adopt these new technologies, organizations are often ignoring fundamental questions concerning who owns the data and failing to ask for permission to conduct invasive surveillance of their customers. Organizations that are not transparent about how their systems gather data telemetry without offering shared data ownership risk product rejection, regu...
The security needs of IoT environments require a strong, proven approach to maintain security, trust and privacy in their ecosystem. Assurance and protection of device identity, secure data encryption and authentication are the key security challenges organizations are trying to address when integrating IoT devices. This holds true for IoT applications in a wide range of industries, for example, healthcare, consumer devices, and manufacturing. In his session at @ThingsExpo, Lancen LaChance, vic...
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo 2016 in New York. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place June 6-8, 2017, at the Javits Center in New York City, New York, is co-located with 20th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry p...
SYS-CON Media announced today that @WebRTCSummit Blog, the largest WebRTC resource in the world, has been launched. @WebRTCSummit Blog offers top articles, news stories, and blog posts from the world's well-known experts and guarantees better exposure for its authors than any other publication. @WebRTCSummit Blog can be bookmarked ▸ Here @WebRTCSummit conference site can be bookmarked ▸ Here
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
You think you know what’s in your data. But do you? Most organizations are now aware of the business intelligence represented by their data. Data science stands to take this to a level you never thought of – literally. The techniques of data science, when used with the capabilities of Big Data technologies, can make connections you had not yet imagined, helping you discover new insights and ask new questions of your data. In his session at @ThingsExpo, Sarbjit Sarkaria, data science team lead ...
SYS-CON Events announced today that IoT Now has been named “Media 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. IoT Now explores the evolving opportunities and challenges facing CSPs, and it passes on some lessons learned from those who have taken the first steps in next-gen IoT services.
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...
The Internet of Things can drive efficiency for airlines and airports. In their session at @ThingsExpo, Shyam Varan Nath, Principal Architect with GE, and Sudip Majumder, senior director of development at Oracle, discussed the technical details of the connected airline baggage and related social media solutions. These IoT applications will enhance travelers' journey experience and drive efficiency for the airlines and the airports.
Big Data, cloud, analytics, contextual information, wearable tech, sensors, mobility, and WebRTC: together, these advances have created a perfect storm of technologies that are disrupting and transforming classic communications models and ecosystems. In his session at @ThingsExpo, Erik Perotti, Senior Manager of New Ventures on Plantronics’ Innovation team, provided an overview of this technological shift, including associated business and consumer communications impacts, and opportunities it m...
With billions of sensors deployed worldwide, the amount of machine-generated data will soon exceed what our networks can handle. But consumers and businesses will expect seamless experiences and real-time responsiveness. What does this mean for IoT devices and the infrastructure that supports them? More of the data will need to be handled at - or closer to - the devices themselves.
Things are changing so quickly in IoT that it would take a wizard to predict which ecosystem will gain the most traction. In order for IoT to reach its potential, smart devices must be able to work together. Today, there are a slew of interoperability standards being promoted by big names to make this happen: HomeKit, Brillo and Alljoyn. In his session at @ThingsExpo, Adam Justice, vice president and general manager of Grid Connect, will review what happens when smart devices don’t work togethe...
SYS-CON Events announced today that Dataloop.IO, an innovator in cloud IT-monitoring whose products help organizations save time and money, 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. Dataloop.IO is an emerging software company on the cutting edge of major IT-infrastructure trends including cloud computing and microservices. The company, founded in the UK but now based in San Fran...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
In his session at @ThingsExpo, Sudarshan Krishnamurthi, a Senior Manager, Business Strategy, at Cisco Systems, will discuss how IT and operational technology (OT) work together, as opposed to being in separate siloes as once was traditional. Attendees will learn how to fully leverage the power of IoT in their organization by bringing the two sides together and bridging the communication gap. He will also look at what good leadership must entail in order to accomplish this, and how IT managers ca...
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, provided an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settle...
SYS-CON Events announced today that CA Technologies has been named “Platinum 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, and the 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CA Technologies helps customers succeed in a future where every business – from apparel to energy – is being rewritten by software. From ...
TechTarget storage websites are the best online information resource for news, tips and expert advice for the storage, backup and disaster recovery markets. By creating abundant, high-quality editorial content across more than 140 highly targeted technology-specific websites, TechTarget attracts and nurtures communities of technology buyers researching their companies' information technology needs. By understanding these buyers' content consumption behaviors, TechTarget creates the purchase inte...
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.