The Wayback Machine - https://web.archive.org/web/20161116225656/http://java.sys-con.com/node/3846094

Welcome!

Java IoT Authors: Carmen Gonzalez, Elizabeth White, Liz McMillan, Tony Tomarchio, Pat Romanski

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
The Jevons Paradox suggests that when technological advances increase efficiency of a resource, it results in an overall increase in consumption. Writing on the increased use of coal as a result of technological improvements, 19th-century economist William Stanley Jevons found that these improvements led to the development of new ways to utilize coal. In his session at 19th Cloud Expo, Mark Thiele, Chief Strategy Officer for Apcera, compared the Jevons Paradox to modern-day enterprise IT, exami...
WebRTC is the future of browser-to-browser communications, and continues to make inroads into the traditional, difficult, plug-in web communications world. The 6th WebRTC Summit continues our tradition of delivering the latest and greatest presentations within the world of WebRTC. Topics include voice calling, video chat, P2P file sharing, and use cases that have already leveraged the power and convenience of WebRTC.
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...
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.
The WebRTC Summit New York, to be held June 6-8, 2017, at the Javits Center in New York City, NY, announces that its Call for Papers is now open. Topics include all aspects of improving IT delivery by eliminating waste through automated business models leveraging cloud technologies. WebRTC Summit is co-located with 20th International Cloud Expo and @ThingsExpo. WebRTC is the future of browser-to-browser communications, and continues to make inroads into the traditional, difficult, plug-in web ...
Fifty billion connected devices and still no winning protocols standards. HTTP, WebSockets, MQTT, and CoAP seem to be leading in the IoT protocol race at the moment but many more protocols are getting introduced on a regular basis. Each protocol has its pros and cons depending on the nature of the communications. Does there really need to be only one protocol to rule them all? Of course not. In his session at @ThingsExpo, Chris Matthieu, co-founder and CTO of Octoblu, walked through how Octob...
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.
The 20th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held June 6-8, 2017, at the Javits Center in New York City, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Containers, Microservices 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 business opportunity. Submit your speaking proposal ...
Internet of @ThingsExpo, taking place June 6-8, 2017 at the Javits Center in New York City, New York, is co-located with the 20th International Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. @ThingsExpo New York Call for Papers is now open.
Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more business becomes digital the more stakeholders are interested in this data including how it relates to business. Some of these people have never used a monitoring tool before. They have a question on their mind like “How is my application doing” but no id...
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend @CloudExpo | @ThingsExpo, June 6-8, 2017, at the Javits Center in New York City, NY and October 31 - November 2, 2017, Santa Clara Convention Center, CA. Learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
Fact is, enterprises have significant legacy voice infrastructure that’s costly to replace with pure IP solutions. How can we bring this analog infrastructure into our shiny new cloud applications? There are proven methods to bind both legacy voice applications and traditional PSTN audio into cloud-based applications and services at a carrier scale. Some of the most successful implementations leverage WebRTC, WebSockets, SIP and other open source technologies. In his session at @ThingsExpo, Da...
Major trends and emerging technologies – from virtual reality and IoT, to Big Data and algorithms – are helping organizations innovate in the digital era. However, to create real business value, IT must think beyond the ‘what’ of digital transformation to the ‘how’ to harness emerging trends, innovation and disruption. Architecture is the key that underpins and ties all these efforts together. In the digital age, it’s important to invest in architecture, extend the enterprise footprint to the cl...
@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.
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 ...
Data is the fuel that drives the machine learning algorithmic engines and ultimately provides the business value. In his session at Cloud Expo, Ed Featherston, a director and senior enterprise architect at Collaborative Consulting, discussed the key considerations around quality, volume, timeliness, and pedigree that must be dealt with in order to properly fuel that engine.
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...
In his keynote at 19th Cloud Expo, Sheng Liang, co-founder and CEO of Rancher Labs, discussed the technological advances and new business opportunities created by the rapid adoption of containers. With the success of Amazon Web Services (AWS) and various open source technologies used to build private clouds, cloud computing has become an essential component of IT strategy. However, users continue to face challenges in implementing clouds, as older technologies evolve and newer ones like Docker c...
Data is an unusual currency; it is not restricted by the same transactional limitations as money or people. In fact, the more that you leverage your data across multiple business use cases, the more valuable it becomes to the organization. And the same can be said about the organization’s analytics. In his session at 19th Cloud Expo, Bill Schmarzo, CTO for the Big Data Practice at Dell EMC, introduced a methodology for capturing, enriching and sharing data (and analytics) across the organizat...
Skyworks Solutions, Inc., has launched a suite of new high performance, fully integrated front-end modules targeting the rapidly expanding Internet of Things market including the connected home, industrial automation and energy management, among others. Skyworks' newest modules are the first in a series of solutions powering multimode operation for next generation Bluetooth®, Thread and ZigBee® wireless networking protocols. When paired with System on a Chip (SoC) platforms, the devices deliver ...