Update README.md
This commit is contained in:
parent
c869f65d99
commit
c7732f21ed
1 changed files with 21 additions and 0 deletions
21
README.md
21
README.md
|
|
@ -1,5 +1,26 @@
|
|||
h2. what is it?
|
||||
|
||||
Simple universal mocking tool for http requests
|
||||
|
||||
- set up expectations using json files in $PROJECT/everest directory
|
||||
- start using gradlew run
|
||||
- replay
|
||||
|
||||
h2. 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
|
||||
|
||||
h2. TODO's
|
||||
- implement response headers
|
||||
- build a proxy that generates json
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue