Runscope API Monitoring    Learn More →

Posts filtered by category: tutorial

Capturing Webhooks with Google Sheets

Capturing Webhooks with Google Sheets

By Sam Aybar on .

Runscope has a number of different integrations that allow you to leverage other tools in conjunction with your Runscope API monitors. However, for tools that are not included in our list of built-in integrations, we allow you to use Webhook notifications to automate your process. Webhook notifications are POST requests that are made at the completion of a test, and include a payload with details about the test run.

Runscope has two options for webhooks:

  • Basic Webhooks: fired on completion of every test run. They can be activated in your test environment settings -> Webhooks.
  • Custom Webhooks: you can specify failure only for a threshold of consecutive failures (3, for example) before sending the POST request. They can be added by going to Connected Services and setting the required parameters, and then activated in your test environment settings -> Integrations.

Either way, Runscope makes it easy for you to build your own integrations. However, receiving a webhook requires some piece of infrastructure that will receive and process the POST request, and some customers might not have their own infrastructure readily available, or the resources to create custom endpoints.

In this blog post, I’m going to walk through using Google Sheets as a quick alternative to listen for webhook notifications. [...]

Read More →

Categories: tutorial


Using Snippets and Script Libraries to Monitor AWS APIs

By Heitor Tashiro Sergent on .

One of the most common programming principles that we learn as developers is to generally avoid repeating yourself, or DRY. Copy-pasting the same lines of code is replaced with creating abstractions in the form of methods or functions that can be used and re-used in multiple places across a project, which in turn will make your code easier to understand and modify.

That same idea of avoiding repeating code can be applied to Runscope API monitors by using our Snippets and Script Libraries feature.

A few months ago we added the aws4.js library to our script-libraries repository and...

Read More →

Categories: howto, tutorial, monitoring


Tutorial - Converting your Swagger 2.0 API Definition to OpenAPI 3.0

Tutorial - Converting your Swagger 2.0 API Definition to OpenAPI 3.0

By Heitor Tashiro Sergent on .

At the end of July, the OpenAPI Specification 3.0.0 was finally released by the Open API Initiative. It's a major release, and after 3 years in the making, it brings about a lot of improvements over the 2.0 specification, making it possible to create definitions for a broader range of APIs.

What's New in OpenAPI 3.0.0

There're a lot of new features that were added to this version, such as...

Read More →

Categories: apis, tutorial, swagger, openapi


Debugging SSL Errors in Your API Monitoring

Debugging SSL Errors in Your API Monitoring

By Heitor Tashiro Sergent on .

When working with external or internal APIs, a million things can make it return errors: missing HTTP headers, sending an invalid authorization credential because you forgot to append "Bearer" to your API token, or even just a simple typo on the endpoint you're trying to use.

Those issues can be frustrating, and sometimes take hours of banging your head against the keyboard or reading documentation to figure out what's wrong, but the solutions are easy. Another issue that is generally much harder to fix is debugging an SSL error...

Read More →

Categories: tutorial, monitoring, howto


Tutorial: Integrating Runscope with New Relic Insights

Tutorial: Integrating Runscope with New Relic Insights

By Heitor Tashiro Sergent on .

New Relic Insights is a real-time analytics platform that collects event and metric data from other New Relic products, and also third-party integrations. By connecting New Relic Insights with Runscope API monitoring, you can collect metrics from your API tests and transform them into actionable insights about your applications.

Connecting Your Accounts

We need two get two variables from New Relic to integrate it with Runscope: an Account ID, and Insert Key...

Read More →

Categories: tutorial, monitoring, integrations, howto


Copying Runscope Environments using the Runscope API

Copying Runscope Environments using the Runscope API

By Sam Aybar on .

The Runscope UI provides a lot of flexibility for our customers to monitor and test APIs. You can easily manage the tests you have written, whether that means exporting them, duplicating them, or moving them to a different bucket.

Sometimes, however, our customers want to do something that we don’t have built-in. This is where the benefits of having a robust API come into play. For example, one customer recently expressed interest in being able to export an environment for backup purposes; another customer wanted to copy a shared environment to a different bucket.

Environments are one of the key elements in creating reusable API tests, especially when it comes to testing local, staging, and production APIs. This blog post outlines two example Python scripts to address these needs of importing/exporting environments. You can find these scripts at...

Read More →

Categories: code samples, howto, tutorial


Everything is going to be 200 OK®