You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i would like to test the retry function of my application which sends up to three HTTP-requests to an external API if it didn't get a response.
Is it possible to implement a function to toxiproxy that it discard the first two requests or a function that toxiproxy discard all requests in a specific period of time x and continues after that.
The text was updated successfully, but these errors were encountered:
@ccoltx Toxiproxy does not know about content of high level protocol.
There are solutions:
Use toxiproxy client in test to test on Networking level. Example:
Toxiproxy[grpc_server].down do
GRPC.call # -> Failed with networking problem
GRPC.call # -> Failed with networking problem
end
GRPC.call # -> Success to setup conneciton and process the request.
Hi,
i would like to test the retry function of my application which sends up to three HTTP-requests to an external API if it didn't get a response.
Is it possible to implement a function to toxiproxy that it discard the first two requests or a function that toxiproxy discard all requests in a specific period of time x and continues after that.
The text was updated successfully, but these errors were encountered: