The API Spector Blog

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

All posts Cloud Contract testing How-to Security
Consumer-driven contract testing with the cloud broker
Contract testing

Consumer-driven contract testing with the cloud broker

A worked example against two versions of the same products API that disagree on purpose. Design a consumer-driven contract, run it against both, publish it to the broker, and let t...

Roy de Kleijn Roy de Kleijn · · 9 min read
How to ask for a value when you send a request in API Spector
How-to

How to ask for a value when you send a request in API Spector

Ask variables prompt you for a value at send time instead of storing it. Write {{@Message}}, or {{@Message[a, b]}} for a...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to import an Arazzo workflow in API Spector
How-to

How to import an Arazzo workflow in API Spector

Turn an Arazzo workflow document into an API Spector Flow. The source OpenAPI specs become requests, and each step becom...

Roy de Kleijn Roy de Kleijn · · 3 min read
How to send requests in parallel in API Spector
How-to

How to send requests in parallel in API Spector

Fire requests at the same time with a Parallel block in a flow to reproduce a race, or run a whole collection or folder...

Roy de Kleijn Roy de Kleijn · · 3 min read
How to share a variable between requests in a folder in API Spector
How-to

How to share a variable between requests in a folder in API Spector

Write a value in one request and read it in the next with folder variables. A script sets sp.folder, and later requests...

Roy de Kleijn Roy de Kleijn · · 3 min read
How to sort a collection alphabetically in API Spector
How-to

How to sort a collection alphabetically in API Spector

Sort the folders and requests in a collection or folder by name with one click. They sort together at the same level, an...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to choose parameter values from a dropdown in API Spector
How-to

How to choose parameter values from a dropdown in API Spector

Give a query parameter a fixed set of allowed values and edit it as a dropdown instead of free text. OpenAPI enums fill...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to test an MQTT broker in API Spector
How-to

How to test an MQTT broker in API Spector

Connect to an MQTT broker over TCP or WebSocket, subscribe to topics and wildcards, publish messages with QoS and retain...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to run setup and teardown once per collection run in API Spector
How-to

How to run setup and teardown once per collection run in API Spector

Use Before All and After All hooks to sign in, seed data, or clear a leftover token once around a whole run, not once pe...

Roy de Kleijn Roy de Kleijn · · 2 min read
How to document a collection in Markdown in API Spector
How-to

How to document a collection in Markdown in API Spector

Every collection, folder, and request has a Documentation tab. Write notes in Markdown, preview them in place, and commi...

Roy de Kleijn Roy de Kleijn · · 2 min read
Older →