
Restassured testing
Writes and fixes Java REST Assured API tests with strong status, body and schema checks
Restassured testing is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 18
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Restassured testing
This skill guides an agent through writing REST Assured given/when/then tests in Java or other JVM languages, covering status code checks, JSON and XML path assertions, Hamcrest matchers and JSON Schema validation. It explains how to share request and response specifications so base URI, auth and content type are set once, and how to chain a create call into a follow-up read using extracted values.
It also covers authentication patterns such as preemptive Basic auth, OAuth2 bearer tokens and API keys in headers, and recommends reading secrets and environment URLs from system properties or environment variables rather than source code. Dependency setup for Maven and Gradle is included, along with notes on upgrading from REST Assured 5.x and a CI workflow that runs Failsafe integration tests and publishes JUnit reports.
The skill expects a Java or JVM project built with Maven or Gradle and a JUnit or TestNG test setup. It is one of a set of API testing skills in a Claude Code plugin marketplace, and it points to related skills for non-JVM teams.
When your agent uses it
Use whenever Java/JVM API tests need writing or fixing: loose assertions that let an empty 200 pass, slow sequential suites, or hand-rolled HTTP clients. Writes REST Assured given/when/then tests: status, JSON and XML path checks, auth, reusable specs, schema checks, Maven or Gradle and CI reports.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 22 files (105 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the qa-api-testing plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add testland/qa
/plugin install qa-api-testing@testland-qaOr copy only this skill to ~/.claude/skills/restassured-testing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/restassured-testing &&
cp -R "$tmp/plugins/qa-api-testing/skills/restassured-testing" ~/.claude/skills/restassured-testing &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/restassured-testing inside it instead.
Copy the skill folder to ~/.agents/skills/restassured-testing to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/restassured-testing &&
cp -R "$tmp/plugins/qa-api-testing/skills/restassured-testing" ~/.agents/skills/restassured-testing &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/restassured-testing inside it instead.
Copy the skill folder to ~/.cursor/skills/restassured-testing to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/restassured-testing &&
cp -R "$tmp/plugins/qa-api-testing/skills/restassured-testing" ~/.cursor/skills/restassured-testing &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/restassured-testing inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/testland/qa.git --path plugins/qa-api-testing/skills/restassured-testingOr copy the folder to ~/.gemini/skills/restassured-testing yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/restassured-testing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/restassured-testing &&
cp -R "$tmp/plugins/qa-api-testing/skills/restassured-testing" ~/.copilot/skills/restassured-testing &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/restassured-testing inside it instead.
Get the folder:
git clone --depth 1 https://github.com/testland/qa.gitThen copy qa/plugins/qa-api-testing/skills/restassured-testing into your agent's skills folder as restassured-testing. Agents that support SKILL.md read one folder per skill.
What it does
- Given-when-then test authoring
- Shows how to structure REST Assured requests and assertions using the fluent BDD chain.
- JSON and XML assertions
- Covers path expressions and Hamcrest matchers for checking response bodies.
- Shared request specifications
- Explains reusable RequestSpecBuilder and ResponseSpecBuilder setups to avoid repeated config.
- Authentication patterns
- Describes Basic, OAuth2 bearer and API key header approaches for secured endpoints.
- JSON Schema validation
- Shows how to validate responses against a schema file stored in test resources.
- Maven and Gradle setup
- Provides dependency snippets and version guidance including the REST Assured BOM.
- CI test reporting
- Includes a GitHub Actions workflow running Failsafe tests and uploading JUnit reports.
Good for
- Write API tests for a Spring service's order endpoints in Java
- Add OAuth2 bearer authentication to existing REST Assured tests
- Replace hand-rolled HTTP client code with REST Assured specifications
- Validate a JSON response against a schema file in test resources
- Set up a GitHub Actions job that runs Java API integration tests
- Upgrade a REST Assured 5.x test suite to version 6.x
Restassured testing FAQ
What language and build tools does Restassured testing assume?
It assumes a Java or JVM project built with Maven or Gradle, using JUnit or TestNG. Kotlin and Scala work but the examples are in Java.
Which Java version is required for REST Assured 6.x?
The changelog cited in the skill says version 6.0.0 raised the minimum Java baseline to 17.
Does the skill run any scripts?
No, the skill contains no scripts; it provides instructions, code examples and a CI workflow snippet.
How are secrets and base URLs handled in the examples?
The examples read the base URI from a system property and tokens from environment variables instead of hard-coding them in source.
How do I install Restassured testing in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/restassured-testing to use it in all your projects, or to .claude/skills/restassured-testing in one project. Or install the qa-api-testing plugin, which includes it: /plugin marketplace add testland/qa, then /plugin install qa-api-testing@testland-qa.
Does Restassured testing run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Restassured testing?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Restassured testing?
The closest alternatives to Restassured testing are Java junit, Karate testing, Junit 5 skill, Spring boot testing and Test.
Where this comes from
- Description: from the skill's own SKILL.md.
More from testland/qa

Builds a CI ratchet that fails PRs only on new accessibility violations
- Open source
- 18 GitHub stars
- Developer tools

Guides an agent through W3C ARIA Authoring Practices patterns for custom widgets
- Open source
- 18 GitHub stars
- Developer tools

Adds automated axe-core accessibility scans to Playwright, Cypress and CI pipelines
- Open source
- 18 GitHub stars
- Developer tools

Builds manual screen-reader test scripts and signed sign-off reports for a feature
- Open source
- 18 GitHub stars
- Developer tools

Checks color pairs and design tokens against WCAG contrast ratios for text and UI
- Open source
- 18 GitHub stars
- Design and media

Aggregates multi-page accessibility scans into a WCAG 2.2 conformance report
- Open source
- 18 GitHub stars
- Documentation review



