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.7</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.7 has 12 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 |
Testing | hamcrest-core 1.2.1 This is the core API of hamcrest matcher framework to be used by third-party framework providers. This includes the a foundation set of matcher implementations for common operations. | 34 |
Testing | hamcrest-library 1.2.1 Hamcrest library of matcher implementations. | 46 |
Data Structure | commons-collections 3.2.1 Types that extend and augment the Java Collections Framework. | 419 |
JEE | jackson-databind 2.0.5 General data-binding functionality for Jackson: works on core streaming API | 9 |
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 |
Data Structure | commons-lang3 3.1 Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang. | 287 |
XML | tagsoup 1.2.1 TagSoup is a SAX-compliant parser written in Java that, instead of parsing well-formed or valid XML, parses HTML as it is found in the wild: poor, nasty and brutish, though quite often far from short. TagSoup is designed for people who have to process this stuff using some semblance of a rational a... | 19 |
The following plugins are used in the rest-assured-1.7.jar
The following packages are defined in the rest-assured-1.7.jar
com.jayway.restassured com.jayway.restassured.assertion com.jayway.restassured.authentication com.jayway.restassured.builder com.jayway.restassured.config com.jayway.restassured.exception 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.mapping com.jayway.restassured.internal.matcher.xml com.jayway.restassured.internal.path com.jayway.restassured.internal.path.xml com.jayway.restassured.internal.support com.jayway.restassured.mapper com.jayway.restassured.mapper.factory com.jayway.restassured.mapper.resolver 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.7</version> </parent> <groupId>com.jayway.restassured</groupId> <artifactId>rest-assured</artifactId> <version>1.7</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> <properties> <hamcrest.version>1.2.1</hamcrest.version> </properties> <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> <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> <version>${hamcrest.version}</version> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <version>${hamcrest.version}</version> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>3.2.1</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.0.5</version> <optional>true</optional> </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> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.1</version> </dependency> <dependency> <groupId>org.ccil.cowan.tagsoup</groupId> <artifactId>tagsoup</artifactId> <version>1.2.1</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> </dependencies> </project>