The API Spector Blog

How to get the most out of API Spector, plus notes from the team.

All posts Contract testing How-to
How to extract data from a response with the tree view
How-to

How to extract data from a response with the tree view

Inspect a JSON response in the tree, click a value to assert on it, and capture values into variables so one call can fe...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to test a GraphQL API in API Spector
How-to

How to test a GraphQL API in API Spector

Use the built-in GraphQL editor: fetch the schema for autocomplete, build a query in the explorer, set variables, and re...

Roy de Kleijn Roy de Kleijn · · 1 min read
How to test a SOAP service in API Spector
How-to

How to test a SOAP service in API Spector

Point a request at a WSDL and API Spector builds the SOAP envelope for you, so you pick an operation and fill in fields...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to generate test code from your requests in API Spector
How-to

How to generate test code from your requests in API Spector

Turn a collection into runnable tests in Robot Framework, Playwright, Karate, REST Assured, Supertest, or a plain cURL s...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to create a mock server in API Spector
How-to

How to create a mock server in API Spector

Stand up a local mock from hand-written routes, a recorded session, or a WSDL, so your team can build against an API bef...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to use environments and variables in API Spector
How-to

How to use environments and variables in API Spector

Define baseUrl and tokens once, reference them with {{variable}}, and switch between local, staging, and production in o...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to send your first request in API Spector
How-to

How to send your first request in API Spector

Create a collection, add a request, send it, and read the response. The core loop, start to finish, with nothing stored...

Roy de Kleijn Roy de Kleijn · · 3 min read
← Newer