Not interested in this as Java, so followed isntruction in https://github.com/intuit/karate/blob/master/karate-netty/README.md
- Ensure Java installed
- Download karate jar file as described, and rename to
karate.jar
- Download following files into the same directory:
- cats-mock.fearure
- cats-test.feature
- cats.html
- Open console in directory, and start server with
java -jar karate.jar -m cats-mock.feature -p 8080 &
- Open cats.html as a file link in a web browser, and experiment
- Edit test to run without config
Background:
#* def starter = read('start-mock.js')
* def port = 8080
* url 'http://localhost:' + port + '/cats'
- from same console, run tests with
java -jar karate.jar -m cats-mock.feature -p 8080