The API Spector Blog
How to get the most out of API Spector, plus notes from the team.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...