rest-assured
by
rest-assured

Description: Java DSL for easy testing of REST services

View rest-assured/rest-assured on GitHub ↗

Summary Information

Updated 10 minutes ago
Added to GitGenius on May 21st, 2026
Created on October 21st, 2010
Open Issues & Pull Requests: 592 (+0)
Number of forks: 1,931
Total Stargazers: 7,126 (+0)
Total Subscribers: 322 (+0)

Issue Activity (beta)

Open issues: 69
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 941 days
Stale 30+ days: 68
Stale 90+ days: 60

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Priority-Medium (1)
  • bug (1)
  • imported (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

The rest-assured/rest-assured repository provides a Java Domain Specific Language (DSL) designed to simplify the testing and validation of RESTful web services. Its primary purpose is to bring the ease and expressiveness of dynamic languages like Ruby and Groovy into the Java ecosystem, making it significantly easier for Java developers to write readable and maintainable tests for REST APIs. REST Assured is widely used in the Java community for both integration and functional testing of web services, and it is compatible with modern Java versions, requiring Java 17 or higher in its latest releases.

REST Assured offers a fluent API that allows developers to construct HTTP requests and assertions in a concise and human-readable manner. It supports all standard HTTP methods, including GET, POST, PUT, DELETE, OPTIONS, PATCH, and HEAD. The library enables users to specify and validate request parameters, headers, cookies, and body content with minimal boilerplate. For example, developers can easily make a GET request and assert specific values in the JSON or XML response, or use parameters and authentication mechanisms such as basic authentication. The API also provides powerful response parsing capabilities through JsonPath and XmlPath, allowing users to extract and validate data from complex response bodies.

One of the key features of REST Assured is its support for various authentication schemes, including basic, digest, OAuth, and form authentication. This makes it suitable for testing secured endpoints and APIs that require user credentials or tokens. The library also integrates well with popular Java frameworks and tools, such as Spring MockMvc, which is supported in recent versions, enabling seamless testing of Spring-based applications. REST Assured is compatible with Groovy, and recent updates have upgraded support to Groovy 5, as well as Spring 7 and Jackson 3, ensuring compatibility with modern Java frameworks and libraries.

REST Assured is actively maintained, with frequent releases that introduce new features, improvements, and bug fixes. The repository provides comprehensive documentation, including a getting started guide, usage instructions, Javadoc references, release notes, and a FAQ. This documentation helps both new and experienced users quickly understand how to use the library effectively. The project also maintains a changelog and offers support through a Google mailing list, fostering a community of users and contributors.

In summary, REST Assured is a robust and user-friendly Java library for testing RESTful web services. Its fluent DSL, extensive feature set, and integration capabilities make it a preferred choice for developers seeking to automate API testing in Java. The repository is well-documented, actively maintained, and supports modern Java standards and frameworks, ensuring that it remains relevant and useful for a wide range of testing scenarios. Whether for simple endpoint validation or complex integration tests, REST Assured streamlines the process of writing expressive and reliable tests for REST APIs in Java.

rest-assured
by
rest-assuredrest-assured/rest-assured

Repository Details

Fetching additional details & charts...