Welcome!

@ThingsExpo Authors: Pat Romanski, Carmen Gonzalez, Yeshim Deniz, Elizabeth White, Ruxit Blog

Related Topics: @ThingsExpo, Mobile IoT, @CloudExpo

@ThingsExpo: Blog Feed Post

Improve API Quality: Don’t Forget the GUI By @KaulNikhil | @ThingsExpo #IoT #API

Behind every mobile application, smart device, or The Internet of Things (IoT) there is at least one API

by Nikhil Kaul

Behind every mobile application, smart device, or The Internet of Things (IoT) there is at least one application programming interface (API). These APIs and the graphical user interface (GUI) are often interdependent on each other to collect information. For instance, let's take an example of Yelp application. Here google maps API determines which nearby restaurants need to be shown on the mobile screen. Similarly, from the GUI, depending the information you type on the screen (Restaurants, Bars, Coffee places), the API generates a different search result.

The Challenge of Only Recording GUI Actions
Most automated tools often allow you to record actions on the GUI, without giving you any insight into the API layer. This in turn can often result in the following challenges:

1. Increased False Defects
Without having an insight into the API layer, large number false defects are often reported. To demonstrate this, let's take an example of an application with desktop, web, and mobile GUI, and each of these user interfaces make the same google maps API call to show information on the GUI. This looks something like this:

API-GUI Challange1

Let's now assume at some point in time, the API layer stops working or gives the wrong data. Without having any insight into the API layer, the GUI tester would file 3 false GUI related defects - one for desktop, second for web, and third for mobile. This scenario looks something like this:

API-GUI Challange2

However, in reality, instead of three defects, only one defect that is for the API layer should have been reported. TestComplete 10.6 comes in real handy in such a scenario. With its integration to SoapUI, open source API testing tool, as well as SoapUI NG, functional API testing tool part of Ready! API family, TestComplete allows a GUI tester to find out if the issue is at the GUI or API layer. And as a result, false defects filled due to lack of insight into both the API and GUI layer can be drastically reduced.

2. Increased Steps For Resolution
Without having a single insight into GUI and API layer, a lot of back and forth often goes between different teams (GUI and API) to fix any issue encountered. The typical process could look something like this:

GUI Tester Steps1

The GUI tester finds a defect and then reaches out to GUI developer to fix the defect. However, while debugging the issue and finding the root cause, the GUI developer realizes the issue is at the API layer rather than at the GUI layer. As you can notice, additional step of going to the GUI developer can be easily avoided if the GUI tester had initially found out that the issue was at the API layer. The streamlined workflow could look like this:

GUI Tester Steps2

With TestComplete's integration to SoapUI and SoapUI NG, when a defect is encountered, the GUI tester can easily know if the issue exists at the GUI or API layer. As a result, the GUI tester can reach out to the respective team (GUI/API) for faster resolution. Not only this, the reduction in the number of steps also gives the respective developer (GUI/API) greater time for analysis.

3. Lots of Back and Forth
Without an integrated GUI and API testing, whenever changes are made to the API tests, a lot of back and forth goes between GUI and API teams to reflect API tests changes into the GUI tests. TestComplete integration with SoapUI and SoapUI NG ensures that changes made to the API test cases are automatically reflected at the GUI level as well.

Managing API Tests Can Become Challenging
As your testing grows, you would not only be writing API tests, but also other kinds of tests to ensure the front end of an application works as expected. Examples of these GUI tests could be TestComplete automated tests, Selenium, or even manual tests.  With time, it also becomes important to maintain traceability between the requirements written and defects raised in correspondence. With QAComplete integration to SoapUI and SoapUI NG, you can apply test management practices and establish traceability between requirements, different kinds of tests written, and defects raised, thereby ensuring proper API and functional GUI test coverage exists for requirements.

API Defects

nik

An ability to go beyond the GUI layer and drive automated tests at the underlying API layer through TestComplete and SoapUI/SoapUI NG integration can empower testers to quickly identify problems and reduce debugging time of defects. Additionally, the integration can also come in handy to reduce wait times between different testing teams by providing GUI testing teams instant accessibility to changes made to tests at API or service levels.

So try these integrations with TestComplete and QAComplete yourself!

Read the original blog entry...

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.

@ThingsExpo Stories
20th Cloud Expo, taking place June 6-8, 2017, at the Javits Center in New York City, NY, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy.
Bert Loomis was a visionary. This general session will highlight how Bert Loomis and people like him inspire us to build great things with small inventions. In their general session at 19th Cloud Expo, Harold Hannon, Architect at IBM Bluemix, and Michael O'Neill, Strategic Business Development at Nvidia, discussed the accelerating pace of AI development and how IBM Cloud and NVIDIA are partnering to bring AI capabilities to "every day," on-demand. They also reviewed two "free infrastructure" pr...
Have you ever noticed how some IT people seem to lead successful, rewarding, and satisfying lives and careers, while others struggle? IT author and speaker Don Crawley uncovered the five principles that successful IT people use to build satisfying lives and careers and he shares them in this fast-paced, thought-provoking webinar. You'll learn the importance of striking a balance with technical skills and people skills, challenge your pre-existing ideas about IT customer service, and gain new in...
SYS-CON Events announced today that Hitrons Solutions will exhibit at the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. Hitrons Solutions Inc. is distributor in the North American market for unique products and services of small and medium-size businesses, including cloud services and solutions, SEO marketing platforms, and mobile applications.
The Internet of Things will challenge the status quo of how IT and development organizations operate. Or will it? Certainly the fog layer of IoT requires special insights about data ontology, security and transactional integrity. But the developmental challenges are the same: People, Process and Platform. In his session at @ThingsExpo, Craig Sproule, CEO of Metavine, demonstrated how to move beyond today's coding paradigm and shared the must-have mindsets for removing complexity from the develop...
For basic one-to-one voice or video calling solutions, WebRTC has proven to be a very powerful technology. Although WebRTC’s core functionality is to provide secure, real-time p2p media streaming, leveraging native platform features and server-side components brings up new communication capabilities for web and native mobile applications, allowing for advanced multi-user use cases such as video broadcasting, conferencing, and media recording.
In his session at @ThingsExpo, Steve Wilkes, CTO and founder of Striim, will delve into four enterprise-scale, business-critical case studies where streaming analytics serves as the key to enabling real-time data integration and right-time insights in hybrid cloud, IoT, and fog computing environments. As part of this discussion, he will also present a demo based on its partnership with Fujitsu, highlighting their technologies in a healthcare IoT use-case. The demo showcases the tracking of patie...
Almost two-thirds of companies either have or soon will have IoT as the backbone of their business. Though, IoT is far more complex than most firms expected with a majority of IoT projects having failed. How can you not get trapped in the pitfalls? In his session at @ThingsExpo, Tony Shan, Chief IoTologist at Wipro, will introduce a holistic method of IoTification, which is the process of IoTifying the existing technology portfolios and business models to adopt and leverage IoT. He will delve in...
SYS-CON Events announced today that Outlyer, a monitoring service for DevOps and operations teams, 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. Outlyer is a monitoring service for DevOps and Operations teams running Cloud, SaaS, Microservices and IoT deployments. Designed for today's dynamic environments that need beyond cloud-scale monitoring, we make monitoring effortless so you...
Unsecured IoT devices were used to launch crippling DDOS attacks in October 2016, targeting services such as Twitter, Spotify, and GitHub. Subsequent testimony to Congress about potential attacks on office buildings, schools, and hospitals raised the possibility for the IoT to harm and even kill people. What should be done? Does the government need to intervene? This panel at @ThingExpo New York brings together leading IoT and security experts to discuss this very serious topic.
It is one thing to build single industrial IoT applications, but what will it take to build the Smart Cities and truly society changing applications of the future? The technology won’t be the problem, it will be the number of parties that need to work together and be aligned in their motivation to succeed. In his Day 2 Keynote at @ThingsExpo, Henrik Kenani Dahlgren, Portfolio Marketing Manager at Ericsson, discussed how to plan to cooperate, partner, and form lasting all-star teams to change the...
The buzz continues for cloud, data analytics and the Internet of Things (IoT) and their collective impact across all industries. But a new conversation is emerging - how do companies use industry disruption and technology enablers to lead in markets undergoing change, uncertainty and ambiguity? Organizations of all sizes need to evolve and transform, often under massive pressure, as industry lines blur and merge and traditional business models are assaulted and turned upside down. In this new da...
“We're a global managed hosting provider. Our core customer set is a U.S.-based customer that is looking to go global,” explained Adam Rogers, Managing Director at ANEXIA, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York City, NY.
WebRTC services have already permeated corporate communications in the form of videoconferencing solutions. However, WebRTC has the potential of going beyond and catalyzing a new class of services providing more than calls with capabilities such as mass-scale real-time media broadcasting, enriched and augmented video, person-to-machine and machine-to-machine communications. In his session at @ThingsExpo, Luis Lopez, CEO of Kurento, introduced the technologies required for implementing these idea...
In an era of historic innovation fueled by unprecedented access to data and technology, the low cost and risk of entering new markets has leveled the playing field for business. Today, any ambitious innovator can easily introduce a new application or product that can reinvent business models and transform the client experience. In their Day 2 Keynote at 19th Cloud Expo, Mercer Rowe, IBM Vice President of Strategic Alliances, and Raejeanne Skillern, Intel Vice President of Data Center Group and G...
Financial Technology has become a topic of intense interest throughout the cloud developer and enterprise IT communities. Accordingly, attendees at the upcoming 20th Cloud Expo at the Javits Center in New York, June 6-8, 2017, will find fresh new content in a new track called FinTech.
@GonzalezCarmen has been ranked the Number One Influencer and @ThingsExpo has been named the Number One Brand in the “M2M 2016: Top 100 Influencers and Brands” by Onalytica. Onalytica analyzed tweets over the last 6 months mentioning the keywords M2M OR “Machine to Machine.” They then identified the top 100 most influential brands and individuals leading the discussion on Twitter.
20th Cloud Expo, taking place June 6-8, 2017, at the Javits Center in New York City, NY, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy.
Manufacturers are embracing the Industrial Internet the same way consumers are leveraging Fitbits – to improve overall health and wellness. Both can provide consistent measurement, visibility, and suggest performance improvements customized to help reach goals. Fitbit users can view real-time data and make adjustments to increase their activity. In his session at @ThingsExpo, Mark Bernardo Professional Services Leader, Americas, at GE Digital, discussed how leveraging the Industrial Internet and...
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.