Runscope API Monitoring and Testing    Learn More →

Tutorial: Continuous Integration with Runscope API Tests and Codeship

By Heitor Tashiro Sergent on .

A part of an engineer's toolbox is a good automation workflow. One of the tools in that box is a Continuous Integration provider, which can help teams prevent integration problems and improve quality control.

Runscope can be used by itself on running and monitoring APIs, but it can also be used as part of your CI workflow. Our CEO, John Sheehan, created a sample Python script 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 Codeship. We'll cover how...

Read More →

Categories: code samples, tutorial, testing, integrations


6 Common API Errors

6 Common API Errors

By Heitor Tashiro Sergent on .

Have you ever used an API that returned an HTML error page instead of the JSON you expected, causing your code to blow up? What about receiving a 200 OK status code with a cryptic error message in your response?

Building an API can be as quick as serving fast food. Frameworks like Express, Flask, and Sinatra combined with Heroku or zeit's now help any developer have an API up and running in a few minutes.

However, building a truly secure, sturdy, hearty API, can take a little more work, just as a chef takes more time when crafting a great meal. You need great docs, clear and concise error messages, and to meet developers' expectations of...

Read More →

Categories: apis, debugging, microservices, monitoring, integrations, testing


Working with the Azure Storage REST API in automated testing

Working with the Azure Storage REST API in automated testing

By Heitor Tashiro Sergent on .

This is a guest post by Chris Kirby, Director of Technology at Authenticom. He's a big fan of automating processes, beer, and games. You can follow him on TwitterGitHub, and his blog.

Testing! Every developer's favorite topic :). For me, if I can save time through automation, them I'm interested. Automated testing for a developer typically starts with unit tests, which even if you don't subscribe to TDD, you've written at least one of them just to see what all the fuss was about. Like me, I'm sure you saw that testing complex logic at build time has huge advantages in terms of quality and taking risks. However, even with the most comprehensive tests at 100% coverage, you've still got more work to do on your journey towards a bug-free existence.

Given that most modern applications rely on a wide variety of cloud platform services, testing can't stop with the fakes and mocks...good integration testing is where it's at to get you the rest of the way. Integration testing is nothing new of course, it's just more...

Read More →

Categories: apis, code samples, customers, howto, testing


Creating a Setup Phase with Subtests: How to Handle OAuth 2 Access Tokens using the Runscope API

Creating a Setup Phase with Subtests: How to Handle OAuth 2 Access Tokens using the Runscope API

By Heitor Tashiro Sergent on .

In a recent post, we announced a new feature called Subtest Step. Today, we're going to be looking at one of the most common use cases for it: creating a "Setup" phase to always refresh your access token. With this, you can easily monitor and test any API that implements OAuth 2, without having to worry if your token is valid or not.

A few things before we start:

  • This tutorial is going to focus on how to handle Access and Refresh Tokens inside of Runscope. You should be familiar with OAuth 2, as we won't be going to deep into it.
  • This should work for any API that implements OAuth 2.
  • If you need to...

Read More →

Categories: tutorial, howto, testing


Retry on Failure + Threshold Alerts: Optimize Your Team’s Monitoring Notifications

Retry on Failure + Threshold Alerts: Optimize Your Team’s Monitoring Notifications

By Heitor Tashiro Sergent on .

Have you ever been notified of an API monitoring error late at night, only to find out that it was a temporary network error? Or do you have false positives in your API monitoring data that are affecting your customer reports?

Timeout errors can affect any API, maybe because of a temporary bad internet connection, or a complex database operation. And a lot of times, a simple re-run might return a 200 response. That's why we recently added a new feature...

Read More →

Categories: announcements, product, monitoring


New Year's Resolution: How (and Why) to Give Back to the Developer Community

New Year's Resolution: How (and Why) to Give Back to the Developer Community

By Heitor Tashiro Sergent on .

A new year has arrived, and that usually means new resolutions for most of us. One resolution that has been on my mind for 2017 is a simple question: how can I give back to the developer community this year?

Having worked as a developer, developer evangelist, and content writer in the past few years, I have gotten a lot of help from a lot of different sources: discussions with friends and work colleagues; talks and workshops at meetups and conferences; online communities like Stack Overflow, Hacker News, Slack groups, Facebook groups, etc.

But, consuming that knowledge is often easier than contributing to it. For example, it probably took me a good couple years before I started interacting and upvoting on the Stack Overflow community. It took even longer for me to be comfortable writing and sharing my first blog post.

So, if you made a similar resolution to give back to the developer community this year and need some help on how to get started, we're going to cover a few different ways that you can do that. First, we're going to talk about online communities: GitHubStack Overflowsocial media, and writing. Then we'll move to offline communities and talk about meetupsconferences, and public speaking.

Every section will include some general advice, and also some more in-depth links. But before we get to...

Read More →

Categories: community


Everything is going to be 200 OK®