๐ŸŒ
Beeceptor
beeceptor.com โ€บ use cases โ€บ sample api for testing
Sample API For Testing | Beeceptor
Get access to free sample APIs for testing REST, frontend, and automation workflows. Beeceptor provides ready-to-use mock APIs and dummy endpoints for developers to experiment, debug, learn, and validate API integrations without backend setup.
๐ŸŒ
ReqBin
reqbin.com
Online API Testing Tool | Test Your API Online
ReqBin is an online API testing tool for REST, SOAP and HTTP APIs. Paste an endpoint URL, pick a method, and send the request from your browser โ€” no account, no install. You get back the status code, the response time in milliseconds, and ...
Discussions

Can anyone recommend an open API for testing purposes?
Restful booker API Restful-booker an API that you can use to learn more about API Testing or try out API testing tools against. Restful-booker is a Create Read Update Delete Web API that comes with authentication features and loaded with a bunch of bugs for you to explore. The API comes pre-loaded with 10 records for you to work with and resets itself every 10 minutes back to that default state. Restful-booker also comes with detailed API documentation to help get you started with your API testing straight away. More on reddit.com
๐ŸŒ r/QualityAssurance
17
6
October 6, 2022
Is that a unit test a.k.a how do you test your API endpoints?
I mostly just do integration tests, meaning spinning up the whole service utilizing testcontainers-go for postgres/redis. My main.go file is small and I just start the service in the test code and test using my integration test framework ( https://github.com/Eun/go-hit ). Benefits: โ€ข go test to run all tests โ€ข code coverage is best, I directly see what was tested. Negatives: โ€ข Can take a while when you spin up testcontainers for every test. If needed I add unit tests for smaller code segments (that need no mocks or dependencies) More on reddit.com
๐ŸŒ r/golang
60
51
December 17, 2022
Testing REST API endpoints. How do I setup the tests? - Software Engineering Stack Exchange
When writing tests for my FastAPI endpoints I am not sure which is the best way to setup the test (store data in the DB, prepare data for the body of a POST call, etc.). I can either use: direct c... More on softwareengineering.stackexchange.com
๐ŸŒ softwareengineering.stackexchange.com
January 11, 2023
How can I test API endpoints
I use ServiceWorkers to test network requests and responses. More on reddit.com
๐ŸŒ r/learnjavascript
10
1
February 26, 2024
People also ask

What is API testing?
API testing is a process that confirms an API is working as expected. There are several types of API tests, and each one plays a distinct role in ensuring that the API's functionality, security, and performance remain reliable. Developers can run API tests manually, or they can automate them with an API testing tool.
๐ŸŒ
postman.com
postman.com โ€บ home โ€บ api platform โ€บ what is api testing? a guide to testing apis
What is API Testing? A Guide to Testing APIs | Postman
What is an example of API testing?
In order to better understand API testing, let's consider a healthcare app that enables users to book appointments with local doctors and view lab results. It connects with healthcare providers' systems via APIs so that patients can check appointment availability, request appointments, and access their medical results.
๐ŸŒ
postman.com
postman.com โ€บ home โ€บ api platform โ€บ what is api testing? a guide to testing apis
What is API Testing? A Guide to Testing APIs | Postman
What is the relationship between API testing and API monitoring?
API testing and API monitoring share the goal of ensuring that APIs remain reliable and performant, but these processes are typically performed at different stages of the API lifecycle. API testing occurs during development, and its primary purpose is to help teams catch issues before they reach production and impact users. API monitoring may utilize this same testing logic, but it occurs after the API has been deployed to production. API monitoring also involves gathering and visualizing API telemetry data, which teams can use to perform historical analysis and surface long-term performance t
๐ŸŒ
postman.com
postman.com โ€บ home โ€บ api platform โ€บ what is api testing? a guide to testing apis
What is API Testing? A Guide to Testing APIs | Postman
๐ŸŒ
Testsigma
testsigma.com โ€บ blog โ€บ automation testing โ€บ how to test api endpoints
Test API Endpoints: Step-by-Step Tutorial & Essential Tools
April 22, 2026 - Step 4: You will land on to Test step creation page, Hover on the default first step and Choose the Rest API ยท Step 5: Enter the API Details in the API Request tab ยท Enter the API endpoint URL as shown in the above image, Click on โ€œSendโ€ to verify if the endpoint is working fine.
๐ŸŒ
ReqBin
reqbin.com โ€บ req โ€บ zvxdp4hd โ€บ test-api-endpoint
How to test API Endpoint?
March 24, 2023 - ReqBin is an online API Endpoint testing tool for API developers and testers. You can test API endpoints by making API requests directly from your browser. Check server status codes, response times, and sizes.
๐ŸŒ
PortSwigger
portswigger.net โ€บ web security academy โ€บ api testing
API testing | Web Security Academy
You can use a range of automated tools to analyze any machine-readable API documentation that you find. You can use Burp Scanner to crawl and audit OpenAPI documentation, or any other documentation in JSON or YAML format. You can also parse OpenAPI documentation using the OpenAPI Parser BApp. You may also be able to use a specialized tool to test the documented endpoints, such as Postman or SoapUI.
๐ŸŒ
Postman
postman.com โ€บ home โ€บ api platform โ€บ what is api testing? a guide to testing apis
What is API Testing? A Guide to Testing APIs | Postman
In order to start testing an API, you'll need the API's specification or documentation, which will include detailed information about the available endpoints, parameters, and methods. You'll also need a list of common use cases to capture in your test logic, as well as a testing environment that mirrors the production environment as closely as possible.
Published: June 29, 2021
Find elsewhere
๐ŸŒ
REST test test
resttesttest.com
REST test test...
REST test test... ... ร— Welcome! Use this simple page to poke around at the API. Specify HTTP method, URL and parameters, and click on Ajax Request.
๐ŸŒ
Workato
docs.workato.com โ€บ api-mgmt โ€บ testing-endpoints.html
Testing API Endpoints | Workato docs
Workato allows you to test API endpoints, whether they are recipe-based or proxy-based.
๐ŸŒ
Reddit
reddit.com โ€บ r/golang โ€บ is that a unit test a.k.a how do you test your api endpoints?
r/golang on Reddit: Is that a unit test a.k.a how do you test your API endpoints?
December 17, 2022 -

The difference between unit, service, end-to-end, and integration tests is blurry and discussable.

Having said that, I am starting to question my understanding of API testing.

I have quite a standard web application that is exposed via RESTful endpoints. The logic under the hood of the usecases for the typical GET/PUT/POST requests is, however, rather complex.

Previously, I used httptest to make sure all my middleware works correctly and found that very convenient.

Ideally, I would like to be sure that all the endpoints work correctly, correct objects get created with valid states, etc.

As far as I know from the standard definitions, integration testing has nothing to do with object state checking and similar functional stuff. On the other hand, running the server locally and thus using a real (although local) database sort of contradicts what unit testing is.

I am a bit confused, what is the preferred way to test your API endpoints? Mocking a database is also a theoretical option, but mocking everything (and my repositories unfortunately got too large to be neatly mocked) would be very tiresome.

How do you test your APIs?

Top answer
1 of 15
27
Ask yourself one thing before writing any unit tests: what is this layer responsible for? The REST API layer is responsible for validating input, calling some service and then returning a response (perhaps mapped to a DTO) with an appropriate status code. Appropriate status codes & input validation are easily tested via table tests. Testing DTO mapping is valuable but also has a huge cost associated with it because it essentially creates a implementation specific dependency between your tests and your API layer. Every time you update/create/delete a field in the response, you have to update that in the test. The other problem with testing the API layer is that you have to make all your tests implementation aware. Want to check that that you return a 404 if a resource is missing? You have to mock the service/db/whatever call to return a not-found error or a nil or something similar. This makes it super hard to write good API tests, and you usually end up with something that's just a copy of your handler written as a unit test with mock calls instead of actual calls. Now, ask yourself another thing before writing that same test: if my implementation changes, do I have to update the unit test? If the answer is yes, then the unit test might not be as valuable as you think.
2 of 15
15
Earlier Iโ€™ve bounced between mocks, dockertest, and some Pact setups too, but honestly tools matter less than confidence. I tried QodexAI for a while it was actually pretty helpful it auto-generated functional + security tests straight from Swagger, which saved a ton of grunt work. The only problem I had was I had to tweak some of the generated cases so they fit my teamโ€™s priorities, but once done in itโ€™s way less hassle than writing everything from scratch. But at the same time I prefer manually rechecking every test scenario because can't trust the automation. So, itโ€™s still unit logic first, real infra for integration when I need the safety net.
๐ŸŒ
Site24x7
site24x7.com โ€บ tools โ€บ restapi-tester.html
REST API Tester | Site24x7 Tools
Use this tool to quickly test and validate REST API endpoints of your website with a single click.
๐ŸŒ
How-To
how-to.dev โ€บ how-to-manually-test-a-web-api
How to manually test a web API
August 16, 2023 - Another option to test the API is to put the URL where you want to send your GET request into the address bar. By default, the browser does the GET request to the endpoint and displays the response on the screen.
๐ŸŒ
Katalon
katalon.com โ€บ resources-center โ€บ blog โ€บ api-testing-tips
API Testing Strategy: 10 Essential Steps From Endpoints to Automation
One of the biggest shifts in API testing strategies is the rise of AI-powered test generation. Instead of manually creating test cases for each endpoint, modern tools can analyze your OpenAPI or Swagger specification and automatically generate comprehensive tests โ€” including positive, negative, security, and edge case scenarios.
๐ŸŒ
YouTube
youtube.com โ€บ watch
How Do You Perform API Testing? Hands-On REST API Testing with Real Examples - YouTube
Hands-on API testing involves directly interacting with application programming interfaces (APIs) to validate how backend services process requests and retur...
Published: March 16, 2026
Views: 497
๐ŸŒ
YouTube
youtube.com โ€บ watch
Quick and Easy Way to Test API Endpoints Directly in the Browser Console ๐Ÿ˜Š - YouTube
Please share this video with people that you think will benefit from it. Please consider subscribing to my channel, itโ€™s completely free.I will teach you how...
Published: August 9, 2025
๐ŸŒ
ReqRes
reqres.in
ReqRes | Free REST API for developers
New: ReqRes for Agents. A deterministic sandbox where AI agents practice real API work, failures included. Explore the staging internet โ†’ ร— Skip to content ... Stable endpoints for QA automation. Login and CRUD flows to test against. No servers. No mocks to maintain.
Top answer
1 of 1
1

I think the problem is that "testing endpoints" is the wrong way to think about what you're doing.

You need to have a clear concept of what you're testing:

  • If it's a real integration test, you don't test "endpoints" but the system as a whole and how its parts integrate with each other. That means you definitely want to set up your data using other endpoints. The problem with using SQL or ORM is not so much that you're replicating queries, it's that this replicated logic can be subtly different from what the real system will do, which can lead to the tests failing to expose bugs. The goal of integration tests is to catch exactly those bugs that arise from the interaction of the system's components as they will run when it's deployed. You're not going to be able to exhaustively test all edge cases here simply because it would take too long.
  • If you're unit testing, you don't test "endpoints", but the code that handles HTTP requests. Which means you actually don't want to involve your DB at all, and maybe not even your service layer (i.e. the code that is more concerned with the business objects rather than HTTP requests). Instead, you'll use a mocking framework to produce the data for the HTTP-request-handling code to return. The goal of unit tests is to make it easy and fast to exhaustively test edge cases that can be slow and difficult (even impossible) to test with integration tests.

It's possible to have tests that are somewhat inbetween these poles, but if you're doing that, you should be able to articulate a reason for it, and that reason should then guide your choice in how to set up your test data.

๐ŸŒ
Medium
medium.com โ€บ 10-minutes-qa-story โ€บ api-testing-from-scratch-endpoints-test-design-ee1753ecd312
API Testing from scratch. Endpoints test design | by 10 minutes QA story | 10 Minutes QA Story | Medium
March 27, 2023 - Go to https://gorest.co.in/ and try to create a test set for all kinds of the endpoints of your choice: GET, POST, PUT, PATCH, DELETE.
๐ŸŒ
Swagger
swagger.io โ€บ solutions โ€บ api-testing
OpenAPI Testing Tool | SwaggerHub Explore
Swagger offers tools to validate that your API works as it should, explore new API capabilities, and allows for seamless integration with automated API testing tools like ReadyAPI.
๐ŸŒ
REST API
restful-api.dev
Free Real REST API โ€“ Full CRUD Support (GET, POST, PUT, PATCH, DELETE) for Testing & Learning
Learn about restfulโ€‘api.dev - a free platform helping developers, students, and educators explore, test, and master RESTful APIs through practical tools and public endpoints.