Testing calls to external APIs

This page summarizes the projects mentioned and recommended in the original post on /r/golang

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. go-gitlab

    Discontinued GitLab Go SDK

    I list my Gitlab projects with https://github.com/xanzy/go-gitlab, and in a test I wrote for the method listing and displaying my projects, I create a mock http server, that responds by returning the json response of a call to the Gitlab API.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. gock

    HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

    Mocking the http client with explicit responses; for example using h2non/gock

  4. go-vcr

    Record and replay your HTTP interactions for fast, deterministic and accurate tests

    Mocking the http client using recorded responses; for example using dnaeon/go-vcr

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The best way for testing outbound API calls

    6 projects | dev.to | 6 Feb 2025
  • Testando chamadas para APIs da melhor forma

    7 projects | dev.to | 6 Feb 2025
  • Please recommend a good API Mocking tool

    2 projects | /r/django | 16 May 2023
  • We created WireMock, an API platform that is designed to improve developer productivity and enables developers and testers to Mock APIs in every stage of the API lifecycle

    2 projects | /r/golang | 2 Feb 2023
  • Mock HTTP response

    2 projects | /r/golang | 21 Sep 2022

Did you know that Go is
the 4th most popular programming language
based on number of references?