This project was created to start the initial steps with test automation for a REST API using RestAssured.
First, clone or download this project. After:
- Navigate to the project folder using the Terminal / Command prompt
- Execute the following:
mvn spring-boot:run
- Wait until you see something like this: Started CreditSimulatorApplication in 6.53 seconds
- The API is ready and listen all requests on
http://localhost:8089
The default port is 8089
.
If you want to change the port to another one, execute the following command, replacing the text <NEW_PORT>
.
mvn spring-boot:run -Dspring-boot.run.arguments=--server.port=<NEW_PORT>
After the application has started open the link: http://localhost:8089/swagger-ui/index.html
Please read the Contribution guide