All urls are configured in json file
{
"url": "something",
"method": "GET",
"fixture": "something.json"
}
Approaches
- write a js script which is run by rhino (can use java.io classes)
- write an ANT task which will read the url-config.js file make the REST call and dump the result to fixture files (pure java implementation)