multiple clients on multiple remote servers for running automated tests and give me reports when finished and clean up binaries remotely. Plus points if client can be a sandboxed browser with my web page.
Any reccos? @viferga @QNeko Madhu
why remote servers?
I mean different servers.. need to test mixed latency stuff too..
You can simulate latency and packet loss locally :P
I know i can but real stuff testing would help me sleep better.. coz been bit by small edges earlier I did that earlier for something else and it worked but I missed out on stuff that wasn't factored in and would have caught if not local simulated only those things i thought needed testing..
See if grpcurl cmdline tool can be used for emulating clients.
are the rpc made in house or is some open source library?
In house.. data is protobuf , have implemented both server client, TIL wrk.. Protocol is websockets Topology is n server*n clients with clients broadcasting to all through one server , streaming, request response . Hey man don't say tests should be shit code.. lol So someone suggested nixos integration tests.. and that was something i am looking for.. Ofc want to automate and have it reproducible. For instance want to test streaming throughput then request response mixed with it with two clients connected and see if anything lags coz internally some places I have a single queue on server side.. so lotsa things like this..
But nixos integration tests.. I haven't gone deep into them.. I'll start on this in a week.. seem to be bound tightly to nixos.. I'm looking for a framework like that, but which allows me to provide a server list and rest of tests configs and it can deploy binaries, run tests, generate reports, clean up.. Don't want to write all this from scratch myself as pretty sure better things would be out there
share those nixos integration tests
Haven't gone deep yet but from this page looks like what I want https://www.haskellforall.com/2020/11/how-to-use-nixos-for-lightweight.html?m=1
don't use this at all.. use bash or python + docker for reproducible tests
Обсуждают сегодня