mardi 7 juin 2016

Mock httpBuilder groovy

The API rest will use HTTPBuilder to request a response from some URL. The response for the HTTPBuilder request contains a body with XML or Json content. I have already this response, I want to mock the HTTPBuilder as : if this URL then return that content.

Does anyone has an example of use or know how to implement it ?

Thanks a lot.

S.BOUZAFOUR

Aucun commentaire:

Enregistrer un commentaire