Runscope API Monitoring    Learn More →

Posts filtered by category: testing

How to Debug Common API Errors

By Heitor Tashiro Sergent on .

Introduction

Debugging and troubleshooting APIs is something that any developer that works with APIs has to go through at some point. In an ideal world, APIs would always return a 200 OK with just the right data that we need, or in case of a failure, it would return us the perfect status code and error message allowing us to easily understand what went wrong.

In reality, APIs don't always work like that. API developers might have constraints that do not allow them to implement the most informative status code or error message, API errors can be triggered by real-world conditions that are hard to account or test for, and sometimes ourselves, as API users, can make requests with typos or mistakes that APIs just don't know how to handle.

In this post, we're going to focus on API users and what they can do to debug common API errors they might encounter when testing and working with APIs, whether these APIs are public or private […]

Read More →

Categories: testing, debugging, apis


Keeping Sensitive Information Secure with Secrets Management

Keeping Sensitive Information Secure with Secrets Management

By Heitor Tashiro Sergent on .

We are very excited to announce a new feature for our enterprise customers: secrets management! Users can now easily create and manage sensitive information, such as API key or access tokens, and include them in their API monitors without exposing them in test results or 3rd-party integrations.

This feature request has been brought to us by a few customers, especially ones in highly regulated spaces such as finance, or healthcare, but we believe all of our enterprise customers will be able to benefit from it. Here at Runscope, we take extreme care with the security of our users' information, and we also like to provide tools for customers that will help them maintain any security standards they might have internally.

So, how does secrets management work?

Read More →

Categories: testing, product, monitoring, howto


Making Requests to the AWS API with Signature Version 4 and Script Libraries

By Heitor Tashiro Sergent on .

We recently had a customer that wanted to test and monitor a few endpoints for the AWS API. For security reasons, most requests to AWS APIs have to be signed using their Signature Version 4 signing process. There are several SDKs and libraries that can help with that signing process, but we wanted something that we could integrate with our script engine with plain JavaScript.
 
One of the most powerful features that Runscope has is the ability to add pre-request or post-response scripts to your API tests, so you can programmatically change your requests based on your API requirements. For example, you can add custom headers before your API request is made, or remove sensitive information from your API responses before they are stored and shared for viewing.
 
So, we put together an aws4.js library based off of mhart/aws4 Node.js library, that you can add...

Read More →

Categories: apis, code samples, testing, tutorial


Tutorial: Continuous Integration with CircleCI and Runscope API Tests

Tutorial: Continuous Integration with CircleCI and Runscope API Tests

By Heitor Tashiro Sergent on .

CircleCI is a popular Continuous Integration and Delivery solution (used by Facebook, Kickstarter, Spotify), and integrating it with Runscope Trigger URL tests so you can run your Runscope API tests takes only a few minutes!
 
Runscope can be used by itself to monitor and test APIs, but it can also be used as part of your CI workflow. We have a sample Python script in our GitHub that can be used to trigger a set of tests in your Runscope account, and change the build status based on their results.
 
In this tutorial, we're going to show you how to use that script with CircleCI. We'll cover...

Read More →

Categories: code samples, tutorial, testing, integrations


Monitoring API Performance with the New API Metrics Endpoint

Monitoring API Performance with the New API Metrics Endpoint

By Heitor Tashiro Sergent on .

We have a new endpoint available for the Runscope API! Now you can retrieve your API tests performance metrics for each individual test, keep a pulse on your API's performance over time, and create custom internal or external dashboards with it.

You can use the new endpoint by making a request to:

https://api.runscope.com/<bucket_key>/tests/<test_id>/metrics

And you can filter the request by using 3 different parameters...

Read More →

Categories: announcements, apis, monitoring, testing


Everything is going to be 200 OK®