ecabrerar / rest-assured-jconf

Pruebas de integración para servicios REST usando Rest Assured

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rest-assured-jconf

Clone the repository

git clone https://github.com/ecabrerar/rest-assured-jconf.git
cd rest-assured-jconf

JAVA SE 11 IS REQUIRED

Move to project directory

Example with rest-assured-jconfcolombia directory:

cd rest-assured-jconfcolombia

Build the project

mvn clean  package -DskipTests && java -jar ./target/rest-assured-jconfcolombia-thorntail.jar

Example with rest-assured-jconfdominicana directory:

cd rest-assured-jconfdominicana
mvn package -DskipTests && java -jar ./target/rest-assured-jconfdominicana-thorntail.jar

Open your browser at the following url:

http://localhost:8080/jconfcolombia/sessions

All the sessions must be shown.

Notice: if you are running rest-assured-jconfcolombia the url of the endpoint is http://localhost:8080/jconfcolombia/sessions and if you are running rest-assured-jconfdominicana the url is http://localhost:8080/jconfdominicana/sessions

Also, you can do the same using curl

Open a terminal

curl http://localhost:8080/jconfcolombia/sessions

Now, open the project using your favorite IDE with maven support and execute the test cases

Events

JConf Dominicana 2019

Github | SlideShare

JConf Colombia 2019

JConf Colombia 2019 | SlideShare

About

Pruebas de integración para servicios REST usando Rest Assured


Languages

Language:Java 100.0%