Project for API testing the Logistics application. The test is based on REST-assured and is executed through Maven (installation required).
In order to run the test, execute the command mvn test -Dserver.host=http://<logistics_host>
, replacing <logistics_host> by the hostname where the Logistics application is available. The command mvn test -Dserver.host=http://www.esign.com.br
, for example, executes the test against the instance of the application at http://www.esign.com.br/logistics.
If the application is listening through a port other than 80, set the parameter server.port as well. If none of the parameters are defined, the test is done against http://localhost:8080. It would be the same as executing mvn test -Dserver.host=http://localhost -Dserver.port=8080
.