Skip to the main content.
Downloads Thriftly Login
Downloads Thriftly Login
Group 762

Migrate and run DataFlex applications with Oracle, MS SQL Server, PostgreSQL, MySQL &  MariaDB.

flex2Crystal

Stuck in Crystal XI?  Upgrade and use the latest versions of Crystal Reports with DataFlex applications. 

BTR2SQL

Seamlessly convert from Btrieve transactional database to PostgreSQL, Oracle, and MS SQL Server.

thriftly-1

Quickly build multi-protocol web services with the same API. Supports JSON-RPC, REST, SOAP,  Thrift, and gRPC.

 Group 671-1

 

Why Mertech?

2 min read

The importance of automated API monitoring and testing

The importance of automated API monitoring and testing

A constant flow of information forms the basis of modern society. In a world of continuous integration and development, every device with an Internet connection is bound to share or request information from a server hundreds of miles away. Thriftly makes you an API owner, and as an API owner, it’s crucial that you actively monitor your API as it communicates with other applications. That way, you can respond to any degradation immediately, before it impacts your customers' ability to exchange information.

An unexpected input could come from anywhere, as your API is consumed by desktop apps, mobile apps, web apps, embedded systems, or even other servers. Because there are so many places an unexpected error could occur, it's better to proactively monitor and test your API than to react to issues as they arise.You can, and should, implement automated API testing, in both your development and production environment.

You can automate several types of tests to ensure your API is performing as it should, including tests for:

  • Availability:Is your API running and returning a correct status code?
  • Data Validation:Is your API returning the correct data?
  • Load Testing:Can your API easily handle simultaneous calls from multiple users?
  • Response Time:Is your API slow to respond to requests?
  • Security Testing:Can an unauthorized user access a secured call?
  • User Testing:Have you tested various weird inputs and edge cases? Because your users will.

The Thriftly demo application is connected to different endpoints hosted across our globally distributed servers. So we also need to perform automated API testing, to ensure our own APIs are always running and to receive notification of any issues that arise.

importance-automated-monitoring-testing-api-thriftly

One of the resources we use to perform this testing is StatusCake. StatusCake supports many of the tests we talked about above and sends automated email alerts if a test fails for one reason or another. You can also set how often StatusCake should run tests (every day, every hour, etc.) to check your API's reliability. We'll get into some of the specifics about how we use StatusCake (and other API testing tools, including our own Thriftly API tester) in the future, but in the meantime, we encourage you to mess around with it yourself.

statuscake-browser-example-thriftly-optimized

The best part of implementing automated tests is that once you create your initial testing framework, you can easily apply it to all your APIs, present, past, and future. Just plug the API into your testing framework, and you can rest easy knowing that your code is covered, allowing you to focus on further developing your APIs and your business.

Get started creating easily testable, maintainable APIs from your existing code with Thriftly. Click below to sign up for our free trial and see what we have to offer.

New call-to-action

Why Migrate from Btrieve to PostgreSQL and other Relational Databases?

Why Migrate from Btrieve to PostgreSQL and other Relational Databases?

Introduction Many independent software vendors (ISV) and corporate users still rely on applications that use a category of database collective called...

Read More
Four Challenges in Converting COBOL Applications from ISAM Databases to Relational Databases

Four Challenges in Converting COBOL Applications from ISAM Databases to Relational Databases

COBOL applications are the foundation of numerous essential business functions, especially within the banking, insurance, and government sectors....

Read More
Application Modernization 101: Ultimate Guide to Digital Transformation

Application Modernization 101: Ultimate Guide to Digital Transformation

Imagine breaking free from the constraints of old, monolithic systems and embracing the agility and innovation of cloud-based solutions.

Read More