# rest-assured/rest-assured

Java DSL for easy testing of REST services

Repository: https://github.com/rest-assured/rest-assured
Canonical: https://ross.abutalabs.com/products/rest-assured
Language: Java
License: Apache-2.0
License Family: permissive
Topics: rest, rest-api, java, groovy, test-automation, test, json, xml, http, kotlin
Last push: 2026-07-22T08:35:07+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 5795, "days_push": 42, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7138, forks 1940 (observed 2026-08-28T04:09:56.160308+00:00)

## What it is
REST Assured is a Java DSL for testing and validating REST APIs with a fluent, dynamic-language-style syntax. It supports request specification, response validation of JSON/XML bodies, and multiple authentication mechanisms.

## Use cases
- test rest api endpoints in java
- validate json responses from http services
- write integration tests for rest services
- test authenticated api endpoints
- assert xml responses with xpath
- automate api test suites

## When to choose
- you're writing JVM-based tests for REST APIs and want a readable fluent DSL
- you need JSON/XML response validation with path expressions
- you want built-in support for auth mechanisms like basic, OAuth, digest

## When to avoid
- you're testing non-HTTP services or message queues
- you need a non-JVM language stack
- you want browser-based end-to-end UI testing

## Facets
- artifact type: library
- maturity: active
- function: testing, e2e-testing, http-client, serialization
- domain: testing, apis, developer-tools, web-development
- platform: jvm, cli
- tags: rest-api-testing, java-dsl, api-automation, json-validation, xml-validation, groovy, kotlin

## Member repositories
- rest-assured/rest-assured (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:56.160308+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:02.511472+00:00, confidence not recorded.
  - readme: https://github.com/rest-assured/rest-assured (fetched 2026-08-28T04:09:56.160308+00:00, sha a77609c6d907)
- Data as of 2026-08-30T08:39:29.467469+00:00.
