REST Assured.
Java DSL for easy testing of REST services.
Here is the list of declaration for rest-assured. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.jayway.restassured</groupId> <artifactId>rest-assured</artifactId> <version>1.4</version> </dependency>
If you think this Maven repository POM file listing for rest-assured is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The rest-assured-1.4 has 6 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
XML | http-builder 0.5.1 A builder-style HTTP client API, including authentication, and extensible handling of common content-types such as JSON and XML. It is built on top of Apache's HttpClient. | 8 |
Http | httpmime 4.1.2 HttpComponents HttpClient - MIME coded entities | 23 |
Web Service | jackson-jaxrs 1.8.5 Jax-RS provider for JSON content type, based on Jackson JSON processor's data binding functionality. | 13 |
JSON | gson 1.7.2 Google Gson library | 12 |
JSON | json-simple 1.1 A simple Java toolkit for JSON | 150 |
The following plugins are used in the rest-assured-1.4.jar
The following packages are defined in the rest-assured-1.4.jar
com.jayway.restassured com.jayway.restassured.assertion com.jayway.restassured.authentication com.jayway.restassured.builder com.jayway.restassured.exception com.jayway.restassured.filter com.jayway.restassured.filter.log com.jayway.restassured.internal com.jayway.restassured.internal.encoderregistry com.jayway.restassured.internal.filter com.jayway.restassured.internal.mapping com.jayway.restassured.internal.matcher.xml com.jayway.restassured.internal.path com.jayway.restassured.internal.path.xml com.jayway.restassured.mapper com.jayway.restassured.matcher com.jayway.restassured.parsing com.jayway.restassured.path.json com.jayway.restassured.path.xml com.jayway.restassured.path.xml.element com.jayway.restassured.response com.jayway.restassured.specification com.jayway.restassured.spi
Here is the content of the POM file.
<!-- ~ Copyright 2010 the original author or authors. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.jayway.restassured</groupId> <artifactId>rest-assured-parent</artifactId> <version>1.4</version> </parent> <groupId>com.jayway.restassured</groupId> <artifactId>rest-assured</artifactId> <version>1.4</version> <packaging>jar</packaging> <name>REST Assured</name> <description>Java DSL for easy testing of REST services</description> <url>http://code.google.com/p/rest-assured</url> <build> <plugins> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>gmaven-plugin</artifactId> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.codehaus.groovy.modules.http-builder</groupId> <artifactId>http-builder</artifactId> <version>0.5.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.1.2</version> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-jaxrs</artifactId> <version>1.8.5</version> <optional>true</optional> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>1.7.2</version> <optional>true</optional> </dependency> <dependency> <groupId>com.googlecode.json-simple</groupId> <artifactId>json-simple</artifactId> <version>1.1</version> <optional>true</optional> </dependency> <!-- Test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> </dependencies> </project>