Note that the testServerMain.py and the sutMain.py must run on different machines
-
Install python dependencies:
pip install --user -r requirements.txt -
Edit
test_server.iniand specify the interface (iface) of where the test server should listen to (wifi or ethernet), specify the IP of the host that will be running the SUT and the port for communicating with Torxakis (in the Torxakis model this would be the port for channels InSutNet and OutSutNet) -
Edit
sut.iniand specify the Torxakis port (in Torxakis model this would be the port for channels InSutUser and OutSutUser). Additionally specify the IP address of the host that will be running the test server -
Update the torxakis model with the IP and ports of the Sut and Test Server (model is in
torxakisTcpTester/Tcp.txs) -
Start the sut:
python3 sutMain.py sut.ini -
Start the test server:
python3 testServerMain.py test_server.ini -
Start torxakis:
cd torxakisTcpTester; torxakis Tcp.txs -
Run Torxakis command:
tester Tcp Sut -
Run Torxakis command:
test 100