Skip to content

Latest commit

 

History

History
 
 

local

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Local development example

Start the application

mvn clean compile quarkus:dev

The MockServer will start with fix port 1080 which is defined in the application.properties

%dev.quarkus.mockserver.devservices.config-file=src/test/resources/mockserver.properties
%dev.quarkus.mockserver.devservices.config-dir=src/test/resources/mockserver
%dev.quarkus.mockserver.devservices.port=1080

The MockServer Dashboard http://localhost:1080/mockserver/dashboard

Test the application

curl -X POST -H "Content-Type: application/json" --data '{"key":"1","value":"v"}' http://localhost:8080/test/1