â€śIDC has identified $20 trillion of market opportunity, or 25% of global GDP, to be realized over the next five years. CEOs see the path to capturing this opportunity as becoming technology centric to deliver new customer experiences.â€ť â€“ according to Shawn Fitzgerald, Worldwide Digital Transformation Strategies at IDC1.Â Analysts, IBM, and other vendors frequently discuss Speed to market as a key business driver for the API Economy.Â There is tremendous pressure on business to deliver more and faster.Â But historically, delivering more faster drives down quality.Â Businesses are not going to win customers or expand their market if they deliver inferior quality offerings.Â So, ensuring quality while allowing for â€śmore, fasterâ€ť is imperative.Â The question is, how?
Faster and Higher Quality â€“ Both are Required
The same techniques that support quality of central applications are not going to work as we allow for higher speed application delivery by multiple audiences, particularly where some audiences may not be in our organization or company.Â Our first notification of a problem must not be a contact from an angry API consumer!
We need to be sure that:
- APIs are fully tested before they are promoted to production
- APIs calls are completing successfully
- APIs are returning valid results
- Any API issues (performance, quality, etc.) are raised to our internal team quickly â€“ before clients are calling!
- We know what is wrong to help resolve the issue.
To allow for faster delivery and support these quality requirements we need to automate the process for test and monitoring of APIs as much as possible.
API Connect Test and Monitor
IBM is providing an API Connect Test and Monitor solution to address these needs.
To ensure quality with API testing, the API definition (e.g. OpenAPI) is used to generate test cases â€“ no code required.Â This supports the need to execute comprehensive tests quickly.Â Rather than the API developer manually creating a set of test situations, the automatic generation of tests based on the API interface can provide a more comprehensive test suite. Â And, because this is generated automatically with no code required, the time and effort to generate the tests is minimal.
The tests are saved in a test suite and run periodically (see monitoring below).Â In addition to testing to ensure the API responds successfully, the API results that are returned can also be tested to ensure they are as expected and that the performance of the API call is also within expectations.
API monitoring is used to execute the tests periodically to ensure the APIs continue to work properly
and provide expected results.Â Test execution can be scheduled and automated to run as often as required.Â Any issues can trigger notification to the appropriate team members to ensure they are aware of the issues before consumers start calling.
Why is this necessary?Â If you complete the testing successfully and do not change the API, shouldnâ€™t it continue to work successfully?Â Well, it should, but it may not.Â The API calls back-end systems. Â What if someone makes a change to the back-end?Â What if the back-end system is down?Â The API may start to fail or return incorrect results.Â Proper change controls should catch these type of issues, but in the new high-speed development world, this may not always occur.Â Periodic monitoring can catch this situation and head off an outage or unhappy consumer.
As API adoption as an application development approach becomes more prevalent, in addition to using your companyâ€™s APIs your developers may also use third-party APIs.Â API Connect Test and Monitor can also be used to ensure the quality of third party APIs so that you can react in case a third-party API is not functioning properly.
IBM API Connect customers have no-charge access to all the IBM API Connect Test and Monitor
capabilities.Â For others, IBM API Connect Test and Monitor is available with a no-charge usage tier and provides low cost options (about half the price of the competition) as your needs grow.Â Please see the additional blogs on API Connect Test and Monitor for a tutorial.
As business offerings are built on your APIs, the availability of these offerings is critical.Â API failures become lost business â€“ which is simply unacceptable.Â API Connect Test and Monitor help recognize business critical problems and raise alerts rapidly to head off problems.
To understand more about IBMâ€™s thoughts on the API Economy visit the IBM API Economy website.Â IBM API Connect is IBMâ€™s complete foundation to Create, Secure, Manage, Test, and Monitor APIs.Â You can find more information about IBM API Connect at the API Connect website.Â And you can also experience a trial version of API Connect.
If you have questions, please let me know.Â Connect with me through comments here or via twitter @Arglick to continue the discussion.
1IDC MaturityScape Benchmark: Digital Transformation Worldwide, 2017