Skip to main content

12 posts tagged with "Software Testing"

View All Tags

Simulate Delays in HTTP Requests

· 4 min read
Daniel Caldas
Co-founder

There might be a few reasons why we would want to delay an HTTP request:

  • You want to test how your UI behaves to a slow response from an upstream service.
  • There's a race condition in my code, and I suspect that it happens when the request to A is slower than the request B.
  • You want to show off that beautiful loading animation you've been working on all day!

How to Mock API Calls

· 3 min read
Daniel Caldas
Co-founder

A Pragmatic Mocking Tool​

When I first started my career in the software industry, I began to get familiar with Single-page applications and how they interact with servers, mainly through HTTP requests to retrieve or send data to the end-user. If you're working with the front end, there's a very high chance you found yourself in one (or multiple) of the following scenarios.