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
How to load test an API in API Spector
How-to

How to load test an API in API Spector

Performance testing has its own view in API Spector. Load test a single request or a whole flow, shape the load with four patterns, and read iteration throughput, latency percentil...

Roy de Kleijn Roy de Kleijn · · 9 min read
How API Spector mocks speed up development
How-to

How API Spector mocks speed up development

A mock can stand in for a whole backend, or override one endpoint while the rest proxies through to the real API. Walk 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
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 contra...

Roy de Kleijn Roy de Kleijn · · 9 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, publish with QoS and retain, and turn a message exchange int...

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