Before anything, you should clone the repository and install the dependencies like go because.. obviously it is a go test bed
Note : first go through certificates configuration procedure before running the tests
two machines are recommended to run the tests because of the netem procedure will help to simulate the network conditions on server machine
To run the tests for the project, use the following command:
go test -run Test_http3server -v ./.This command will run http3server test in the current module and its subpackages. Make sure you have Go installed and your environment is properly set up before running the tests.
go test -run Test_http2server -v ./.This command will run http2server test.
To run the tests for the becnhmarks, use the following command:
go to http_request_tester folder
go test -run Test_http2_request -v ./.This command will run http2_request test.
go test -run Test_http3_request -v ./.This command will run http3_request test.
You can modify the number of requests in *_test.go file.
so after the setup is working, you can emulate the network conditions with netem and run the tests.
So try yourself and see the results because the results can be different on different machines.