Re: [mock] best way to mock http(s) endpoint

2020-12-01 Thread Nicolas Peltier
thanks guys, it indeed is cool! Le mar. 1 déc. 2020 à 12:55, Roy Teeuwen a écrit : > Yup, you can also get some inspiration from the aem-stubs from Cognifide: > > https://github.com/Cognifide/aem-stubs < > https://github.com/Cognifide/aem-stubs> > > Not sure if there is any actual dependency on

Re: [mock] best way to mock http(s) endpoint

2020-12-01 Thread Roy Teeuwen
Yup, you can also get some inspiration from the aem-stubs from Cognifide: https://github.com/Cognifide/aem-stubs Not sure if there is any actual dependency on AEM for that one > On 1 Dec 2020, at 10:39, Bertrand Delacretaz wrote: > > Hi, > > On Tue,

Re: [mock] best way to mock http(s) endpoint

2020-12-01 Thread Bertrand Delacretaz
Hi, On Tue, Dec 1, 2020 at 10:24 AM Stefan Seifert wrote: > ...maybe wiremock? it does real HTTP communication but neatly integrated in > junit (i've not tried to use it with JUnit 5). > https://github.com/tomakehurst/wiremock ... I've been using wiremock in Sling,

RE: [mock] best way to mock http(s) endpoint

2020-12-01 Thread Stefan Seifert
maybe wiremock? it does real HTTP communication but neatly integrated in junit (i've not tried to use it with JUnit 5). https://github.com/tomakehurst/wiremock stefan >-Original Message- >From: Nicolas Peltier >Sent: Tuesday, December 1, 2020 9:53 AM >To: users@sling.apache.org