Ask an AI agent to import your OpenAPI spec into Requestarium, set up the environment, send each read request against your local API and write checks from the spec and the real responses. Step by step, with prompts.
Some responses can't be checked with equals: an LLM reply, a generated summary, an error message meant for people. An AI check states the criterion in words and a model on your machine judges it. Setup, writing good criteria, CI and limits.
A small set of injection payloads (SQL, NoSQL, command, template) to send to every input of your API, and what a safe response looks like. Data-driven with a CSV, so one request covers them all.
Testing only the first item of a list misses the broken one on page three. Script patterns that check every item, name the one that failed, and stay fast on large responses.
A list that's sorted on page one and shuffled on page two, or that repeats a record, breaks every client that pages through it. Script checks for sort order, uniqueness and stable ordering.
Catch unexpected changes by comparing a response with a known-good one, field by field, while ignoring ids and timestamps. Works across environments too, such as staging against production.
A collection run goes top to bottom, unless a script says otherwise. Use pm.execution.setNextRequest to poll until a job is done, skip requests, branch on a response, or stop the iteration.
Some checks only make sense in one environment, such as seeded test data on staging or a strict latency budget in production. How to keep one collection and still vary what it checks.
What a developer can put in the shared collection so QA can test a new endpoint on their own: requests for each case, examples, docs, environment values and a starter test. A checklist for both sides.
When one failing request turns twenty others red, your tests depend on each other. How to tell real dependencies from accidental ones, structure folders so each can run alone, and keep the chains you do need short.
One paragraph in CLAUDE.md, AGENTS.md or Cursor rules makes your AI coding agent run the matching Requestarium collection after it changes an endpoint, fix what fails, and add tests for new behaviour.
The Requestarium MCP server ships four ready-made prompts that most AI clients show as slash commands. What each one asks the agent to do, where it stops to ask you, and when to write your own prompt instead.
Each OWASP API Security Top 10 (2023) risk turned into concrete requests and checks a developer or QA engineer can add to a collection, with links to step-by-step posts for each.
One script that behaves differently on the first iteration, names tests after the data row, and works in a folder of many requests. What pm.info and pm.iterationData give you, with examples.
Tests with realistic data find more bugs, but copying production data into collections, data files and run history spreads personal data everywhere. How to get the shapes and edge cases of production without the people.
Random values avoid collisions and find edge cases; fixed values make failures reproducible. A practical split for API tests: what to randomize, what to pin, and how to make a random failure repeatable.
One shared "[email protected]" account works until two people change its settings at once. How to set up test accounts per person, per role and per pipeline, keep their passwords in secret variables, and reset them.
Broken function level authorization (OWASP API5) means a normal user can call an admin action. How to test every admin endpoint with every role, using one folder, a data file of tokens and a single check.
APIs often return whole database rows and trust the frontend to hide fields. A folder-level check that fails when a response contains password hashes, tokens, internal flags or other users' data, plus an allowlist test for sensitive endpoints.
Any API field that makes your server fetch a URL (webhooks, avatar from URL, import from link) can be pointed at internal addresses. A data-driven test with the addresses to try and the responses to expect.
Product 42 exists on staging but not locally, and the test account has a different id in each environment. Keep test data ids in environments, check they still exist before a run, and seed Local with a script.
Does your login slow down password guessing? How to send a burst of wrong passwords from a collection run, check for 429 or lockout, check the error doesn't reveal which emails exist, and clean up afterwards.
Many APIs "log out" by forgetting the token on the client while the server keeps accepting it. Four requests that test logout, revoked refresh tokens, password changes and sessions on other devices.
Mass assignment happens when an API copies every field of a request body into the database. How to find the fields that matter, send them on purpose, and check they were ignored, with copyable scripts.
In a multi-tenant API, every query must be scoped to the caller's tenant. A setup with two tenants, the requests that cross the line on purpose, and checks for lists, search, ids, exports and tenant headers.
Two pipelines create "[email protected]" at the same moment and one fails with "already exists". How to make every run's data unique with a run id, dynamic variables and iteration numbers, and clean up only what your run created.
Headers carry the next page link, the rate limit left, the request id and the new resource's URL. How to read them in scripts, check them, and pass them to the next request.
An agenda for a short weekly look at your API tests as a team: what failed, what's flaky, what got slower, what's untested, and what to delete. With the run history views that answer each question.
HSTS, nosniff, Cache-Control on private data, no server version leaks. Which response headers an API should send, and how to check them on every request at once with collection-level assertions.
A failed check called "status is 200" tells you nothing at 2 am. How to name requests, folders and checks so CI logs, JUnit reports and Slack alerts say what broke and for whom, with examples before and after.
A request that hangs forever blocks a CI job; a timeout that's too tight makes tests flaky. Where Requestarium takes timeouts from, how to set them per collection, folder and run, and how to test your own API's timeouts.
A red run tells you what fails now, not what changed. How Changes since in a suite's history lists newly failing, fixed and slower requests between two runs, and how to use it after a deploy or a dependency upgrade.
A suite that covers 30 of your 45 requests feels complete until the 31st breaks. How the Not covered list and the coverage count in Tests show what a suite misses, and how to close the gap without copying requests.
Generate from response writes starter checks for status, content type, response time and every top-level field in one click. What it gives you, what to tighten, and what to delete before you trust it.
Describe what you want, such as saving the login token for every step or adding checks from the last run, and get a list of proposed changes with reasons. What is sent to the model, cloud or local, and how to keep or skip each change.
Some checks apply to the whole API, like no 5xx, JSON responses and a response-time budget. Put them on the collection or a folder once, and every request inside inherits them, including requests added later.
A short guide to the JSON paths you can use in no-code assertions and Save to variable: nested fields, array items, lengths, keys with dots or spaces, and what to do when a path isn't enough.
IDs, timestamps and tokens are different on every response, so equals doesn't work. How to check their shape instead, with matches regex and is type assertions, and a set of ready-made patterns.
After a red run you fix one thing and want to know if it's green, without waiting for the other 200 requests. How Rerun failed works in test suites, and the equivalents for collection runs and CI.
A rule package adds every request of a collection or folder that matches a method, a piece of the URL and a piece of the name, and works the rule out again on each run. How to write rules for read-only smoke tests, one resource, or one API version.
The collection runner sends every HTTP and GraphQL request in a collection or folder, in order, with scripts and checks. What each option does, how values pass between requests, and how to save and export the results.
Requestarium can send your test requests from the CLI on your machine or CI runner, or from its own server through the Run API and trigger URLs. What each can reach, what it supports, and how to choose.
Tests need a user, a token or an order before they can run, and should leave nothing behind. How Setup and Clean up roles work in a Requestarium test suite, how to pass values with Save to variable, and what happens when a step fails.
Error messages, product names and formatted dates that change by language. How to run the same requests in several languages with one data file, and what to check besides the translation.
Read, filter, create and update Airtable records through the Web API with a scoped personal access token, follow offset pagination, batch writes in tens, and stay under five requests per second.
Query an Algolia index with a search-only key, write test assertions on hits and ranking, and handle the asynchronous write API: every write returns a taskID you wait on before searching.
Wrong caching headers either serve stale data or leak one user's response to another. What to check on public, private and changing endpoints, with assertions you can run on every build.
One folder that creates a record, reads it, lists it, updates it, deletes it and checks it's gone. The order, the scripts that pass the id along, and the checks that matter at each step.
Most validation bugs live one step past a limit. How to test minimum and maximum lengths, numeric ranges, empty values and wrong types with a small data file and one request.
Rotating a key means a window where the old and the new key both work, then only the new one. How to test that window, revoked keys and the error clients see, with environments and a short folder.
Preview deployments get a new URL per pull request. How to point the same collection or test suite at that URL from CI, with --var on the CLI or variables in the Run API, and report results back on the pull request.
Every layer between the client and your code has its own body size limit, and the smallest one wins. How to find the real limits, test just under and just over them, and check the error clients get.
Names with accents, emoji, right-to-left text and quotes break APIs in quiet ways. A set of inputs to send, what to check in the response, and how to run them as one data-driven folder.
Create and update Asana tasks through the REST API, ask for exactly the fields you need with opt_fields, follow offset pagination, and assert on Asana's data and errors envelopes.
Report exports, video processing and bulk imports answer 202 and finish later. How to test the start request, poll the job until it's done, and check the result, in a collection and in CI.
A batch of 100 items where 3 are invalid. Does the API reject all of them, accept 97, or return 200 and lose 3? How to test all-or-nothing and partial success, item by item.
What happens when a client sends XML to a JSON API, or asks for CSV from an endpoint that only speaks JSON? The requests to send, the status codes to expect, and the charset and vendor type cases people miss.
Export endpoints are tested less than JSON ones and break in Excel first. How to check the header row, quoting, encoding, row counts and the download headers of a CSV response with a post-response script.
Before you remove an endpoint, tell clients in every response. How to check Deprecation, Sunset and Link headers on old endpoints, and how to find which of your own requests still call them.
Call Gemini's generateContent endpoint with an API key, keep the model name in a variable, ask for JSON with a response schema, and write assertions on the shape and token usage of the answer, not its exact wording.
When two people edit the same record, one change can silently disappear. How to reproduce a lost update with two requests, and how to test version numbers, If-Match and 409 Conflict responses.
Send through Mailgun's messages endpoint with Basic auth and form fields, use test mode so nothing is delivered, pick the right region, and test the answers. A step-by-step collection.
Floating point totals, rounding, currencies with zero or three decimal places, and amounts as strings. The cases to send to a payments or invoicing API, and how to check the totals exactly.
A field set to null, a field left out and an empty string mean different things to clients. How to decide what your API returns and accepts, and how to test it in responses and in PATCH requests.
Send email through Postmark's API with a server token, use the special test token to validate requests without sending, and assert on ErrorCode, not only the HTTP status.
Send through SendGrid's v3 Mail Send API with an API key, test it in sandbox mode so nothing is delivered, and check the errors array. SendGrid answers 202 with an empty body, so status code tests matter here.
A soft-deleted record is still in the database, which means it can leak into lists, searches, counts and unique checks. What to test after a delete, and how to test restore.
Take payments through the Square Payments API in the sandbox with test nonces instead of cards, send an idempotency key with every write, pin the API version with Square-Version, and test declines.
Adding a field or an enum value should never break a client, but it often does. What your API should do with unknown request fields, how to check the enum values it returns, and how to catch a new value before clients do.
Not every API is JSON. How to send a SOAP envelope or an XML body, set SOAPAction, and check XML responses and SOAP faults with assertions and a few lines of script.
A step-by-step way to find out why an API call fails in CI but not on your machine, or in the app but not in curl. Compare what was actually sent, not what you think was sent.
Broken object-level authorization is the most common serious API bug. Test it with two users, two tokens and a handful of requests that should all return 403 or 404.
Off-by-one days, midnight in the wrong zone, daylight saving gaps and timestamps without offsets. The date cases every API should be tested with, and scripts that check formats with moment.
Clients handle errors with code, so errors need a contract too. Check every error has the same shape (for example RFC 9457 problem details), a stable code, a human message, and no stack traces.
Liveness, readiness and dependency checks decide when your service gets traffic and when it gets restarted. Test what they return, how fast, what they leak, and how they behave when a dependency is down.
Turn off Follow redirects to see the redirect itself, then check the status, the Location header, that the method and body survive, and that credentials don't leak to another host.
Filters that silently ignore a typo, sorts that break on ties, searches that choke on an apostrophe. A test plan for list endpoints, with scripts that check every returned item, not just the first.
Decode a JWT in a test script, check its claims, and send the tokens an API must reject: expired, unsigned, re-signed, for another audience. Plus how to refresh a token before it expires mid-run.
Send a message to Slack, Microsoft Teams or your own webhook when a collection or test suite run fails, and again when it recovers. Works for runs from the app, the CLI, CI and trigger URLs.
Show whether the last run of a collection or test suite passed, as an SVG badge in a README, a wiki or a status page, without making the run itself public.
One HTTP call starts a collection, folder or test suite on the Requestarium server and returns the result as JSON or JUnit. Idempotency keys, callbacks and cancellation included.
Give a collection, folder or test suite a secret URL. Your deploy pipeline, Git host or scheduler calls it, and the tests run on the Requestarium server, optionally waiting for the result.
What contract tests and end-to-end API tests each catch, what they cost, and a practical split for a small team. With examples of both in one collection.
Pagination bugs hide at the edges, on the last page, an empty page or when data changes between pages. How to test offset, page and cursor pagination with a few requests and scripts.
Most API bugs hide in the requests that should fail. A practical guide to negative API testing, covering missing auth, other users' data, invalid input and limits, with one data-driven request per endpoint.
A practical checklist for testing a REST API before it ships, covering status codes, response shape, auth, validation, pagination, errors, performance and CI. With the check to write for each item.
How to check that your API's rate limit actually kicks in, answers 429 with the right headers, and recovers, without hammering production or making CI flaky.
Which API changes break clients, how to test old and new versions side by side with one collection, and how to catch a breaking change in a pull request before it ships.
Retries are safe only if your API handles them. How to test idempotency keys on create and payment endpoints, including same key with a different body, concurrent retries and key expiry.
Test your webhook endpoint the way the sender calls it, with signed payloads, retries, duplicates and events out of order. Includes an HMAC signing script you can adapt to Stripe-, GitHub- or Shopify-style signatures.
Why a request that works in your API client fails in the browser with a CORS error, how CORS actually works, and how to test your API's CORS headers before the frontend team finds the problem.
What API testing is, what it catches that UI tests miss, the kinds of checks worth writing, and how to go from one request to a test suite that runs on every pull request.
Run your saved API collections on every pull request with the Requestarium CLI. A working GitHub Actions workflow with secrets, JUnit reports, job summaries and run history.
Run one API collection against many inputs: valid and invalid users, edge cases, every locale. How to write the data file, read it in requests and tests, and run it in the app or in CI.
Fail a CI run when your API gets slow, not just when it breaks. What p95 means, why it beats averages, and how to gate builds with --max-p95 and a pass rate.
Save every API test run, from CI and from laptops, with branch, commit and CI link. Find the run where an endpoint started failing, spot flaky requests, and compare environments.
Build API test suites from requests across collections, follow folders and rules so new requests are picked up, add setup and clean-up steps, and run suites in CI with quality gates.
Run your API collections in Azure DevOps with the Requestarium CLI. Secret pipeline variables mapped the right way, PublishTestResults for the Tests tab, and Azure Key Vault secrets.
Run saved API collections in Bitbucket Pipelines with the Requestarium CLI. Secured variables, test reports on the pipeline's Tests tab, and run history with links back to the pipeline.
A CircleCI config that runs saved API collections on every push, stores JUnit results for the Tests tab, keeps an HTML report as an artifact and runs a nightly schedule.
A working .gitlab-ci.yml that runs your saved API collections on every merge request, with masked variables, JUnit results on the merge request and scheduled pipelines.
A Jenkinsfile that runs your API collections with the Requestarium CLI, reads credentials from the Jenkins credentials store, publishes JUnit results and archives an HTML report.
Log in once, store the token from the response, and use it in every request after it. Plus passing IDs between requests, in the app, in collection runs and in CI.
Test cookie-based logins the way a browser does. How the cookie jar works in collection runs and the CLI, continuing a session across commands, reading cookies in scripts, and keeping session cookies safe.
Generate unique IDs, timestamps and realistic fake data in API requests with built-in dynamic variables. Postman-compatible names, grouped by use, with examples.
Why API tests flake, how to tell a flaky test from a real failure, and the tools to handle it without hiding bugs: targeted retries, pass-rate gates, timeouts and fresh state.
Practical GraphQL API testing. Queries and mutations with variables, auth, checking data and errors (GraphQL returns 200 even when it fails), chaining, and running GraphQL tests in CI.
Call gRPC methods with a JSON message, using server reflection or a proto definition. Metadata, TLS and plaintext, deadlines, and scripts, next to your REST and GraphQL requests.
The HTTP status codes you'll actually see when testing APIs, what each one usually means in practice, the common mix-ups, and how to assert on them in tests.
How API test results map to JUnit XML, what CI systems do with it, and how to get JUnit, HTML and JSON reports from your API collections with one command.
Check status codes, headers, JSON paths, response time and the shape of a response with table-style assertions, set rules once for a whole collection, and validate against a JSON Schema.
Copy-paste examples for testing status codes, headers, JSON bodies, arrays, types and response shape with pm.test and pm.expect, in Postman-compatible scripts.
Real-world pre-request scripts for API testing. HMAC request signing, timestamps and nonces, correlation IDs, computed headers and dates, with the crypto-js, moment and uuid libraries.
Run your API collections every night or every hour on a CI schedule, catch broken and slow endpoints between deploys, and get a Jira issue or a red badge when something breaks.
Catch a broken release in the first minute. What to put in an API smoke test, how to run it right after a deploy in CI, and how to make it fail fast and loudly.
Point the same collection at a service on localhost, inside docker-compose or behind a VPN. Which Requestarium apps reach local hosts, local environments and overrides, and running tests against a local stack in CI.
Make an API return a 404, a 500 or a validation error on demand, slow it down to test loading states, and keep tests away from real third-party APIs, with example-based mock servers.
Connect to a WebSocket endpoint, authenticate the handshake, send text and JSON messages, inspect what comes back with scripts, and keep realtime requests next to your REST ones.