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.8.1</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.8.1 has 5 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 |
---|---|---|
Http | httpclient 4.2.1 HttpComponents Client (base module) | 106 |
Http | httpmime 4.2.1 HttpComponents HttpClient - MIME coded entities | 8 |
The following plugins are used in the rest-assured-1.8.1.jar
The following packages are defined in the rest-assured-1.8.1.jar
com.jayway.restassured com.jayway.restassured.assertion com.jayway.restassured.authentication com.jayway.restassured.builder com.jayway.restassured.config com.jayway.restassured.filter com.jayway.restassured.filter.log com.jayway.restassured.http com.jayway.restassured.internal com.jayway.restassured.internal.filter com.jayway.restassured.internal.http com.jayway.restassured.internal.mapper com.jayway.restassured.internal.mapping com.jayway.restassured.internal.matcher.xml com.jayway.restassured.internal.support com.jayway.restassured.internal.util com.jayway.restassured.mapper com.jayway.restassured.matcher com.jayway.restassured.parsing com.jayway.restassured.response com.jayway.restassured.specification com.jayway.restassured.spi
Here is the content of the POM file.
<!-- ~ Copyright 2013 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.8.1</version> </parent> <groupId>com.jayway.restassured</groupId> <artifactId>rest-assured</artifactId> <version>1.8.1</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</groupId> <artifactId>groovy</artifactId> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-xml</artifactId> <version>${groovy.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.2.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.2.1</version> </dependency> <dependency> <!-- Add this dependency if you are using OAuth in HTTPBuilder or RESTClient --> <groupId>oauth.signpost</groupId> <artifactId>signpost-commonshttp4</artifactId> <version>1.2.1.1</version> <optional>true</optional> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> </dependency> <dependency> <groupId>org.ccil.cowan.tagsoup</groupId> <artifactId>tagsoup</artifactId> </dependency> <dependency> <groupId>com.jayway.restassured</groupId> <artifactId>json-path</artifactId> <version>1.8.1</version> </dependency> <dependency> <groupId>com.jayway.restassured</groupId> <artifactId>xml-path</artifactId> <version>1.8.1</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> </dependencies> </project>