Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 620 Bytes

File metadata and controls

25 lines (16 loc) · 620 Bytes

H2Agent Tester

Prepare the environment

Check README.md.

It is required to enable thenghttpx proxy for both traffic and administrative interfaces, so you could run the agent in this way:

$ H2A_DOCKER_OPTS="-e H2AGENT_TRAFFIC_PROXY_PORT=8001 -e H2AGENT_ADMIN_PROXY_PORT=8075" ./run.sh

Install requirements

$ pip3 install -r tools/test-h2agent/requirements.txt

Start to test

Once h2agent process is started, run the python script (use another terminal if needed):

$ tools/test-h2agent/run.py