twitter-archive / diffy

Find potential bugs in your services with Diffy
https://twitter.com/diffyproject
Apache License 2.0
3.83k stars 368 forks source link

sever candidate & server primary(diff) has different url #37

Closed colozou closed 4 years ago

colozou commented 8 years ago

Hi diffy's developers, If the sever candidate & server primary(diff) has different url, for ex, a.com/v1/getuser & a.com/v2/getuser, how should I write the conf, as long as I know, "-candidate" should be like this "ip:post". Thanks!

colozou commented 8 years ago

I want write like this.. -candidate='...:8080/v1/web' \ -master.primary='...:8080/v2/web' \ -master.secondary='...:8080/v1/web' \

sukalpomitra commented 8 years ago

hi @colozou i have added support to add different api roots to the api calls. You can get it from my forked repository. I am still waiting to create a pull request.