Welcome!

@ThingsExpo Authors: Yeshim Deniz, Elizabeth White, Liz McMillan, Karyn Jeffery, William Schmarzo

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
SYS-CON Events announced today that Calligo, an innovative cloud service provider offering mid-sized companies the highest levels of data privacy and security, has been named "Bronze Sponsor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Calligo offers unparalleled application performance guarantees, commercial flexibility and a personalised support service from its globally located cloud plat...
IoT is at the core or many Digital Transformation initiatives with the goal of re-inventing a company's business model. We all agree that collecting relevant IoT data will result in massive amounts of data needing to be stored. However, with the rapid development of IoT devices and ongoing business model transformation, we are not able to predict the volume and growth of IoT data. And with the lack of IoT history, traditional methods of IT and infrastructure planning based on the past do not app...
With tough new regulations coming to Europe on data privacy in May 2018, Calligo will explain why in reality the effect is global and transforms how you consider critical data. EU GDPR fundamentally rewrites the rules for cloud, Big Data and IoT. In his session at 21st Cloud Expo, Adam Ryan, Vice President and General Manager EMEA at Calligo, will examine the regulations and provide insight on how it affects technology, challenges the established rules and will usher in new levels of diligence...
SYS-CON Events announced today that DXWorldExpo has been named “Global Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Digital Transformation is the key issue driving the global enterprise IT business. Digital Transformation is most prominent among Global 2000 enterprises and government institutions.
SYS-CON Events announced today that Datera, that offers a radically new data management architecture, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Datera is transforming the traditional datacenter model through modern cloud simplicity. The technology industry is at another major inflection point. The rise of mobile, the Internet of Things, data storage and Big...
In his session at @ThingsExpo, Sudarshan Krishnamurthi, a Senior Manager, Business Strategy, at Cisco Systems, discussed how IT and operational technology (OT) work together, as opposed to being in separate siloes as once was traditional. Attendees learned how to fully leverage the power of IoT in their organization by bringing the two sides together and bridging the communication gap. He also looked at what good leadership must entail in order to accomplish this, and how IT managers can be the ...
DX World EXPO, LLC., a Lighthouse Point, Florida-based startup trade show producer and the creator of "DXWorldEXPO® - Digital Transformation Conference & Expo" has announced its executive management team. The team is headed by Levent Selamoglu, who has been named CEO. "Now is the time for a truly global DX event, to bring together the leading minds from the technology world in a conversation about Digital Transformation," he said in making the announcement.
Everything run by electricity will eventually be connected to the Internet. Get ahead of the Internet of Things revolution and join Akvelon expert and IoT industry leader, Sergey Grebnov, in his session at @ThingsExpo, for an educational dive into the world of managing your home, workplace and all the devices they contain with the power of machine-based AI and intelligent Bot services for a completely streamlined experience.
In the enterprise today, connected IoT devices are everywhere – both inside and outside corporate environments. The need to identify, manage, control and secure a quickly growing web of connections and outside devices is making the already challenging task of security even more important, and onerous. In his session at @ThingsExpo, Rich Boyer, CISO and Chief Architect for Security at NTT i3, discussed new ways of thinking and the approaches needed to address the emerging challenges of security i...
While the focus and objectives of IoT initiatives are many and diverse, they all share a few common attributes, and one of those is the network. Commonly, that network includes the Internet, over which there isn't any real control for performance and availability. Or is there? The current state of the art for Big Data analytics, as applied to network telemetry, offers new opportunities for improving and assuring operational integrity. In his session at @ThingsExpo, Jim Frey, Vice President of S...
"DX encompasses the continuing technology revolution, and is addressing society's most important issues throughout the entire $78 trillion 21st-century global economy," said Roger Strukhoff, Conference Chair. "DX World Expo has organized these issues along 10 tracks with more than 150 of the world's top speakers coming to Istanbul to help change the world."
"We provide IoT solutions. We provide the most compatible solutions for many applications. Our solutions are industry agnostic and also protocol agnostic," explained Richard Han, Head of Sales and Marketing and Engineering at Systena America, in this SYS-CON.tv interview at @ThingsExpo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We are focused on SAP running in the clouds, to make this super easy because we believe in the tremendous value of those powerful worlds - SAP and the cloud," explained Frank Stienhans, CTO of Ocean9, Inc., in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We've been engaging with a lot of customers including Panasonic, we've been involved with Cisco and now we're working with the U.S. government - the Department of Homeland Security," explained Peter Jung, Chief Product Officer at Pulzze Systems, in this SYS-CON.tv interview at @ThingsExpo, held June 6-8, 2017, at the Javits Center in New York City, NY.
The financial services market is one of the most data-driven industries in the world, yet it’s bogged down by legacy CPU technologies that simply can’t keep up with the task of querying and visualizing billions of records. In his session at 20th Cloud Expo, Karthik Lalithraj, a Principal Solutions Architect at Kinetica, discussed how the advent of advanced in-database analytics on the GPU makes it possible to run sophisticated data science workloads on the same database that is housing the rich...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
What sort of WebRTC based applications can we expect to see over the next year and beyond? One way to predict development trends is to see what sorts of applications startups are building. In his session at @ThingsExpo, Arin Sime, founder of WebRTC.ventures, discussed the current and likely future trends in WebRTC application development based on real requests for custom applications from real customers, as well as other public sources of information.
"The Striim platform is a full end-to-end streaming integration and analytics platform that is middleware that covers a lot of different use cases," explained Steve Wilkes, Founder and CTO at Striim, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
SYS-CON Events announced today that Massive Networks will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Massive Networks mission is simple. To help your business operate seamlessly with fast, reliable, and secure internet and network solutions. Improve your customer's experience with outstanding connections to your cloud.
"MobiDev is a Ukraine-based software development company. We do mobile development, and we're specialists in that. But we do full stack software development for entrepreneurs, for emerging companies, and for enterprise ventures," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.