apiritif icon indicating copy to clipboard operation
apiritif copied to clipboard

Allow to usage of a custom HTTP Client

Open titouanfreville opened this issue 2 years ago • 2 comments

Hello.

First I would like to thank you for this tools. I love using it for API testing. I am currently facing an issue deciding witch way I should test a FAST API project.

I love the lib as it has all the tooling I need arround request and assertion but I would also like to use FastAPI TestClient witch requires to be able to replace requests by the test client.

As I see, the HTTP client par is currently not configurable and forced to request. Would it be possible to enable configuring any HTTP Client provider as long as it matches the same interfaces as requests ?

titouanfreville avatar Apr 28 '22 19:04 titouanfreville

Hello,

I finally created an independant fork here: https://github.com/BetOnYou/apiist to adapt to FastAPI test supports using TestClients and asynchronus test. Hope to have some news from you if you ever maintain the project again :)

titouanfreville avatar Jan 27 '23 20:01 titouanfreville

Hello. Right now I'm looking for something new and not sure whether it's possible to return back to taurus/apiritif. Anyway, I'm happy to read that our work can be useful for somebody else cos it's exactly how I recognise open source activities. I'm sure you'll create something better and good luck)

Taras

On Fri, Jan 27, 2023 at 11:49 PM Titouan @.***> wrote:

Hello,

I finally created an independant fork here: https://github.com/BetOnYou/apiist to adapt to FastAPI test supports using TestClients and asynchronus test. Hope to have some news from you if you ever maintain the project again :)

— Reply to this email directly, view it on GitHub https://github.com/Blazemeter/apiritif/issues/94#issuecomment-1407059935, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC33FGIMB4UX6ZNSASFI3C3WUQYHFANCNFSM5UTR5ETA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

greyfenrir avatar Jan 30 '23 16:01 greyfenrir