Runscope API Monitoring and Testing    Learn More →

Tutorial: Introduction to Monitoring SOAP APIs

Tutorial: Introduction to Monitoring SOAP APIs

By Heitor Tashiro Sergent on .

The SOAP vs. REST debate might have ended with REST as the clear winner in adoption for the most recent years, especially when we're talking about public APIs. However, SOAP APIs are still available and being used, especially in maintaining support for legacy systems, or in specific industries, such as financial and telecommunication services. Even big tech companies still have SOAP APIs available, such as PayPal, Flickr, and Salesforce.

Runscope supports testing any HTTP request, which includes making SOAP requests. In this tutorial, we're going to walk through how to test a SOAP API that returns geolocation information based on an IP address and validate its response using assertions and...

Read More →

Categories: tutorial, testing, monitoring, soap


How Trustpilot Tests and Monitors 200 Microservices

How Trustpilot Tests and Monitors 200 Microservices

By Heitor Tashiro Sergent on .

Trustpilot's journey with Runscope began back in 2015. They started off with our free trial plan, and have since grown to almost 5 million test runs a month. They were kind enough to chat with us about their experience, and how they transitioned from a single monolithic application, to a more efficient microservice architecture with over 200 microservices and hundreds of endpoints. 

Here's Dumitru Zavrotschi sharing their story...

Read More →

Categories: customers, microservices, monitoring, testing


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


Everything is going to be 200 OK®