hsa: add http throughput test server app 83/35283/14
authorFlorin Coras <fcoras@cisco.com>
Fri, 11 Feb 2022 04:58:21 +0000 (20:58 -0800)
committerDave Barach <openvpp@barachs.net>
Sun, 13 Feb 2022 23:34:51 +0000 (23:34 +0000)
commitcfcc42e2904fbc55175a9075c543d43131dc9090
treeafa56b18d2777e125f5a73958b143e5e019afe62
parent1b969c2f6a181d4f7cca542dad00e4feb1e45650
hsa: add http throughput test server app

Can be used for throughput testing over http. For instance, start
server:

http tps #implicitly listens on port 80

Then, to test throughput with curl:

curl <server_ip>/test_file_10g
curl <server_ip>/test_file_123m

Similarly, for https:

http tps uri tls://<server_ip>/443
curl -k <server_ip>/test_file_1g

Type: feature

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I30ab7f0d94a7357b3f04546e4a3d3c410a733908
src/plugins/hs_apps/CMakeLists.txt
src/plugins/hs_apps/http_cli.c
src/plugins/hs_apps/http_tps.c [new file with mode: 0644]
src/plugins/http_static/static_server.c