Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between io.rest-assured vs jayway rest-assured?

What is the difference between io.rest-assured vs jayway rest-assured? Which framework should i use for restfull webservice testing?

like image 832
user1459497 Avatar asked Feb 03 '17 03:02

user1459497


People also ask

What is difference between REST assured REST?

REST stands for REpresentational State Transfer. REST Assured is a java library used for testing and validating the Restful Web Services. It supports Behavior-Driven Development(BDD) syntax like Given, When, and Then notations.

What is io RestAssured?

public class RestAssured extends Object. REST Assured is a Java DSL for simplifying testing of REST based services built on top of HTTP Builder. It supports POST, GET, PUT, DELETE, HEAD, PATCH and OPTIONS requests and to verify the response of these requests.


1 Answers

REST Assured has a new group id, io.rest-assured. Previously you depended on REST Assured like this (Maven):

<dependency>
  <groupId>com.jayway.restassured</groupId>
  <artifactId>rest-assured</artifactId>
  <version>${rest-assured.version}</version>
</dependency>

but now you do:

<dependency>
  <groupId>io.rest-assured</groupId>
  <artifactId>rest-assured</artifactId>
  <version>${rest-assured.version}</version>
</dependency>

From the documentation : https://github.com/rest-assured/rest-assured/wiki/ReleaseNotes30#highlights

like image 88
AlexB Avatar answered Oct 13 '22 00:10

AlexB