To use this example you have to install json-server locally and run it:
$ sudo npm install -g json-server
$ json-server http://jsonplaceholder.typicode.com/db
More info about the json-server here:
Then you can run the tests from IDE or by the command
gradlew clean test
To generate the report
gradlew allureReport
Report will be generated by default to:
build/allure-report/index.html
Also you can specify necessary properties via command line by using -Dproperty.name = "property.value" :
gradlew -Dapp.url="http://www.test.site" clean test
Additional info can be found here