Welcome!

Java IoT Authors: Liz McMillan, Yeshim Deniz, Elizabeth White, Pat Romanski, Frank Lupo

Related Topics: @DevOpsSummit, Java IoT, Containers Expo Blog, @CloudExpo

@DevOpsSummit: Blog Post

How API Virtualization Enables Smarter Development | @CloudExpo #API #Cloud #Virtualization

API virtualization just helps us do what we were already doing faster, more reliably, and at lower cost

How API Virtualization Enables Smarter Development
by Cameron Laird

While API virtualization is already over a decade old, many developers, testers, and decision-makers still misunderstand it.

Virtual APIs create an environment that teams can use to mimic the characteristics of the production environment and create simulated responses from all APIs the application relies on.

API virtualization is a single technique that pays off in several distinct roles. Let's take a look at a few examples to help illustrate the benefits attached to virtual APIs.

Why API Virtualization?
We don't talk about API virtualization with our investors or family members. API virtualization doesn't show up in the architectural diagrams seen at most conferences or customer presentations.

API virtualization just helps us do what we were already doing faster, more reliably, and at lower cost. That's all.

And that's more than enough for most of us. We can develop and/or test our services without help from API virtualization; more of our time, attention, and talent then go to hand-written mocks and stubs, maintenance demands new rounds of hand-coded tests, and the whole product cycle exhibits the fragility of excessive coupling.

Choosing good API virtualization techniques liberates all that expert energy.

With API virtualization, team members can focus on solving real product-specific problems, rather than wasting them on building and re-building scaffolding. API virtualization allows a move to the fast lane of development and testing.

Think through a simple example: the service you're developing and testing relies on an external API for sending out SMS (small message service - telephone texts) content.

Virtualization of the real service brings you these benefits:

  • No incremental use charges
  • Consistent, controllable responses, including error conditions
  • 100% availability
  • Testing edge cases without licensing threat: you can test your own software under overloads and with hostile data, confident that nothing will leak to your provider
  • Measurement of strategic indexes eases without the need to subtract out the provider's own performance

A virtualized API helps developers and testers "lock in" on their own responsibilities.

Teams that test against "live" services for anything other than final integration tests inevitably dissipate crippling amounts of their own efforts in tracking down otherwise-minor variations of the service. The inconsistencies of real-world services - minor changes in diagnostic messages, fluctuations in response latency, and so on - are incredibly distracting to working developers.

Manage product development smarter
A virtualized API provides a controlled baseline that can be crucial for business reasons, too. Comparison of behavior of the true and virtualized APIs makes it practical to negotiate with the provider. The provider might, for instance, boast that it has 99.999% uptime; if your own measurements show, though, that the API's latency causes your own product to have acceptable performance only 98.9% of the time, you're in a position to have a meaningful conversation.

Similarly, a properly virtualized API gives a basis for strategic investigation of the impact of a competitor's API, or a new release of the real API, or the advantages of a CDN (content delivery network). Measurements with a virtualized API provide an independent perspective on the provider's performance. Often that's all it takes to transform business conversations from dependence and subordination to a more equitable negotiation.

All these examples illustrate the difference between speculating, "We think the provider's API is performing adequately, for the most part", and measuring, "Our logs show that the provider's API falls outside our acceptable threshold X% of the time." Product managers and executives much prefer the latter.

Exception handling and compliance
A final aspect of control that virtualized APIs bring has to do with exceptional conditions. Developers and managers are well-trained to think about scalability: many of them have a good feel for what it takes to grow a service to ten or a thousand or a million times its previous performance.

Less common is expertise in dealing with exceptions and risks. On an operational basis, managers spend vast amounts of their daily time on the few failed runs, because typical automations already perform adequately for successful ones. Everything slows down by an enormous factor when things go wrong, though.

This is another domain where API virtualization helps. A virtualized API is one that can be configured to fail in controlled ways. Instead of managing a product by effectively writing "monsters here!" in the vicinity of errors in the API, testing of error handling becomes possible.

To recap:

There are a number of commanding advantages of API virtualization, including the ability to:

  • Accelerate development
  • Make development more reliable and management
  • Provide testability

In 2016, "manual" mocking should be a last resort only for exceptional circumstances. Learn a good API virtualization tool, and concentrate on what makes your own product unique, rather than wasting excessive effort re-doing and verifying tests.

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
Smart cities have the potential to change our lives at so many levels for citizens: less pollution, reduced parking obstacles, better health, education and more energy savings. Real-time data streaming and the Internet of Things (IoT) possess the power to turn this vision into a reality. However, most organizations today are building their data infrastructure to focus solely on addressing immediate business needs vs. a platform capable of quickly adapting emerging technologies to address future ...
Digital transformation is changing the face of business. The IDC predicts that enterprises will commit to a massive new scale of digital transformation, to stake out leadership positions in the "digital transformation economy." Accordingly, attendees at the upcoming Cloud Expo | @ThingsExpo at the Santa Clara Convention Center in Santa Clara, CA, Oct 31-Nov 2, will find fresh new content in a new track called Enterprise Cloud & Digital Transformation.
Most technology leaders, contemporary and from the hardware era, are reshaping their businesses to do software. They hope to capture value from emerging technologies such as IoT, SDN, and AI. Ultimately, irrespective of the vertical, it is about deriving value from independent software applications participating in an ecosystem as one comprehensive solution. In his session at @ThingsExpo, Kausik Sridhar, founder and CTO of Pulzze Systems, will discuss how given the magnitude of today's applicati...
SYS-CON Events announced today that NetApp 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. NetApp is the data authority for hybrid cloud. NetApp provides a full range of hybrid cloud data services that simplify management of applications and data across cloud and on-premises environments to accelerate digital transformation. Together with their partners, NetApp emp...
As popularity of the smart home is growing and continues to go mainstream, technological factors play a greater role. The IoT protocol houses the interoperability battery consumption, security, and configuration of a smart home device, and it can be difficult for companies to choose the right kind for their product. For both DIY and professionally installed smart homes, developers need to consider each of these elements for their product to be successful in the market and current smart homes.
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
Join IBM November 1 at 21st Cloud Expo at the Santa Clara Convention Center in Santa Clara, CA, and learn how IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Cognitive analysis impacts today’s systems with unparalleled ability that were previously available only to manned, back-end operations. Thanks to cloud processing, IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Imagine a robot vacuum that becomes your personal assistant th...
SYS-CON Events announced today that Avere Systems, a leading provider of hybrid cloud enablement solutions, 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. Avere Systems was created by file systems experts determined to reinvent storage by changing the way enterprises thought about and bought storage resources. With decades of experience behind the company’s founders, Avere got its ...
SYS-CON Events announced today that Golden Gate University 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. Since 1901, non-profit Golden Gate University (GGU) has been helping adults achieve their professional goals by providing high quality, practice-based undergraduate and graduate educational programs in law, taxation, business and related professions. Many of its courses are taug...
SYS-CON Events announced today that SIGMA Corporation will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. uLaser flow inspection device from the Japanese top share to Global Standard! Then, make the best use of data to flip to next page. For more information, visit http://www.sigma-k.co.jp/en/.
High-velocity engineering teams are applying not only continuous delivery processes, but also lessons in experimentation from established leaders like Amazon, Netflix, and Facebook. These companies have made experimentation a foundation for their release processes, allowing them to try out major feature releases and redesigns within smaller groups before making them broadly available. In his session at 21st Cloud Expo, Brian Lucas, Senior Staff Engineer at Optimizely, will discuss how by using...
In this strange new world where more and more power is drawn from business technology, companies are effectively straddling two paths on the road to innovation and transformation into digital enterprises. The first path is the heritage trail – with “legacy” technology forming the background. Here, extant technologies are transformed by core IT teams to provide more API-driven approaches. Legacy systems can restrict companies that are transitioning into digital enterprises. To truly become a lead...
SYS-CON Events announced today that CAST Software 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. CAST was founded more than 25 years ago to make the invisible visible. Built around the idea that even the best analytics on the market still leave blind spots for technical teams looking to deliver better software and prevent outages, CAST provides the software intelligence that matter ...
SYS-CON Events announced today that Daiya Industry will exhibit at the Japanese Pavilion 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. Ruby Development Inc. builds new services in short period of time and provides a continuous support of those services based on Ruby on Rails. For more information, please visit https://github.com/RubyDevInc.
As businesses evolve, they need technology that is simple to help them succeed today and flexible enough to help them build for tomorrow. Chrome is fit for the workplace of the future — providing a secure, consistent user experience across a range of devices that can be used anywhere. In her session at 21st Cloud Expo, Vidya Nagarajan, a Senior Product Manager at Google, will take a look at various options as to how ChromeOS can be leveraged to interact with people on the devices, and formats th...
SYS-CON Events announced today that Yuasa System will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Yuasa System is introducing a multi-purpose endurance testing system for flexible displays, OLED devices, flexible substrates, flat cables, and films in smartphones, wearables, automobiles, and healthcare.
SYS-CON Events announced today that Taica will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Taica manufacturers Alpha-GEL brand silicone components and materials, which maintain outstanding performance over a wide temperature range -40C to +200C. For more information, visit http://www.taica.co.jp/english/.
SYS-CON Events announced today that SourceForge has been named “Media 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. SourceForge is the largest, most trusted destination for Open Source Software development, collaboration, discovery and download on the web serving over 32 million viewers, 150 million downloads and over 460,000 active development projects each and every month.
SYS-CON Events announced today that Nihon Micron will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Nihon Micron Co., Ltd. strives for technological innovation to establish high-density, high-precision processing technology for providing printed circuit board and metal mount RFID tags used for communication devices. For more inf...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities – ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups. As a result, many firms employ new business models that place enormous impor...