709 B
709 B
what is it?
Simple universal mocking tool for http requests
- requires java 8
- set up expectations using json files in $PROJECT/everest_data directory -- or start java with -Deverest.data=[..] for a different data directory
- start using gradlew run
- replay
Sample json
{"id": "91f83cd9-a0a5-49f5-b740-78ba8f504797",
"name": "wehkamp.nl",
"url": "http://www.wehkamp.nl",
"method": "GET",
"requestHeaders": {
"Accept": ["application/json"]
},
"response": "<html>",
"responseStatus": 200
}
- url can be java regex expression