Blazemeter / apiritif

Apiritif: API testing framework in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow to usage of a custom HTTP Client

titouanfreville opened this issue · 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 ?

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 :)