- Java 11.0.6 2020-01-14 LTS
- Eclipse 2019-12
- Maven 4.0.0
- Mac Darwin
- Ubuntu 18.04 on VirtualBox
.
- README.md
- a1_dockerfiles
- docker_client
- docker_server
- clean.sh
- config.sh
- tcss558_assignment_1
- localTest
- pom.xml
- src
6 directories, 4 files
-
./config.sh:- Remove old built images and containers that includes "tcss558server"/"tcss558client" in the name
- Build new docker images and containers
- Prepare testing
-
./clean.sh:- Clean docker containers and images built from this assignment
-
Execute
./config.shto prepare testing -
After the configuration finished, you should have 1 terminal(tab) for client and 3 terminals(tab) for ts/us/rmis servers
-
In each server terminal:
- Use
ifconfigto obtain IP address
- Use
-
In the client terminal:
- Use
./bigtest_tc.sh <TCP IP address>to run big test of TCP - Use
./bigtest_uc.sh <UDP IP address>to run big test of UDP - Use
./bigtest_rc.sh <RMI IP address>to run big test of RMI - Use
./bigtest_tc_concurrency.sh <TCP IP address>to run big concurrent test of TCP - Use
./bigtest_uc_concurrency.sh <UDP IP address>to run big concurrent test of UDP - Use
./bigtest_rc_concurrency.sh <RMI IP address>to run big concurrent test of RMI
- Use
-
Execute
./config.shto prepare testing -
After the configuration finished, you should have 4 containers running for client and ts/us/rmis servers
-
Open each with
sudo docker exec -it <Container ID> bash -
In each server terminal:
- Use
ifconfigto obtain IP address
- Use
-
In the client terminal:
- Use
./bigtest_tc.sh <TCP IP address>to run big test of TCP - Use
./bigtest_uc.sh <UDP IP address>to run big test of UDP - Use
./bigtest_rc.sh <RMI IP address>to run big test of RMI - Use
./bigtest_tc_concurrency.sh <TCP IP address>to run big concurrent test of TCP - Use
./bigtest_uc_concurrency.sh <UDP IP address>to run big concurrent test of UDP - Use
./bigtest_rc_concurrency.sh <RMI IP address>to run big concurrent test of RMI
- Use