-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tester part for ivy nearly ok + still need to modify ivy interface an…
…d other small stuffs
- Loading branch information
Showing
35 changed files
with
3,449 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
logging: | ||
level: DEBUG | ||
format: "%(asctime)s [%(levelname)s] - %(module)s - %(message)s" | ||
paths: | ||
output_dir: "outputs" | ||
log_dir: "outputs/logs" | ||
config_dir: "configs" | ||
plugin_dir: "plugins" | ||
docker: | ||
build_docker_image: True | ||
generate_new_certificates: True | ||
tests: | ||
- name: "QUIC Client-Server Communication Test IUT" | ||
description: "Verify that the Picoquic client can communicate with the Picoquic server over Docker Compose network." | ||
protocol: ["quic"] # Protocol name should match the folder name in plugins/ | ||
network_environment: "docker_compose" # Environment plugin name | ||
execution_environment: [] | ||
debug_environment: [] | ||
services: | ||
picoquic_server: | ||
name: "picoquic_server" # Added 'name' key | ||
implementation: "picoquic" # parameters are presents in folder plugins/implementations/quic/picoquic/config.yaml | ||
version: "rfc9000" | ||
type: "iut" | ||
role: "server" | ||
ports: | ||
- "4443:4443" | ||
- "8080:8080" # Health check endpoint | ||
picoquic_client: | ||
name: "picoquic_client" # Added 'name' key | ||
implementation: "picoquic" | ||
version: "rfc9000" | ||
role: "client" | ||
type: "iut" | ||
target: "picoquic_server" # Docker Compose service name | ||
ports: | ||
- "5000:5000" # Example port if needed | ||
- "8081:8081" # Changed to avoid port conflict | ||
steps: | ||
# record_pcap: True | ||
wait: | ||
duration: 20 # seconds to wait during the test | ||
# record_pcap: False | ||
assertions: | ||
- type: "service_responsive" | ||
service: "picoquic_server" | ||
endpoint: "8080/health" # Adjust based on health endpoint | ||
expected_status: 200 | ||
- type: "service_responsive" | ||
service: "picoquic_client" | ||
endpoint: "8081/health" # Adjust based on health endpoint | ||
expected_status: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
logging: | ||
level: DEBUG | ||
format: "%(asctime)s [%(levelname)s] - %(module)s - %(message)s" | ||
paths: | ||
output_dir: "outputs" | ||
log_dir: "outputs/logs" | ||
config_dir: "configs" | ||
plugin_dir: "plugins" | ||
docker: | ||
build_docker_image: True | ||
generate_new_certificates: True | ||
tests: | ||
- name: "QUIC IyvClient-Server Communication Test" | ||
description: "Verify that the Picoquic server can communicate with the Ivy-Tester client over Docker Compose network." | ||
protocol: ["quic"] # Protocol name should match the folder name in plugins/ | ||
network_environment: "docker_compose" # Environment plugin name | ||
execution_environment: [] | ||
debug_environment: [ ] | ||
services: | ||
picoquic_server: | ||
name: "picoquic_server" # Added 'name' key | ||
type: "iut" | ||
implementation: "picoquic" # parameters are presents in folder plugins/implementations/quic/picoquic/config.yaml | ||
version: "rfc9000" | ||
role: "server" | ||
ports: | ||
- "4443:4443" | ||
- "8080:8080" # Health check endpoint | ||
ivy_client: | ||
name: "ivy_client" # Added 'name' key | ||
implementation: "panther_ivy" | ||
type: "tester" | ||
protocol: | ||
name: "quic" | ||
version: "rfc9000" | ||
test: quic_client_test_max | ||
role: "client" | ||
target: "picoquic_server" # Docker Compose service name | ||
ports: | ||
- "5000:5000" # Example port if needed | ||
- "8081:8081" # Changed to avoid port conflict | ||
steps: | ||
# record_pcap: True | ||
wait: | ||
duration: 60 # seconds to wait during the test | ||
# record_pcap: False | ||
assertions: | ||
- type: "service_responsive" | ||
service: "picoquic_server" | ||
endpoint: "8080/health" # Adjust based on health endpoint | ||
expected_status: 200 | ||
- type: "service_responsive" | ||
service: "ivy_client" | ||
endpoint: "8081/health" # Adjust based on health endpoint | ||
expected_status: 200 | ||
|
||
- name: "QUIC Client-IvyServer Communication Test" | ||
description: "Verify that the Picoquic client can communicate with the Picoquic server over Docker Compose network." | ||
protocol: "quic" # Protocol name should match the folder name in plugins/ | ||
network_environment: "docker_compose" # Environment plugin name | ||
execution_environment: None | ||
services: | ||
picoquic_client: | ||
name: "picoquic_client" # Added 'name' key | ||
implementation: "picoquic" | ||
version: "rfc9000" | ||
role: "client" | ||
type: "iut" | ||
target: "ivy_server" # Docker Compose service name | ||
ports: | ||
- "5000:5000" # Example port if needed | ||
- "8081:8081" # Changed to avoid port conflict | ||
ivy_server: | ||
name: "ivy_server" # Added 'name' key | ||
implementation: "ivy" | ||
protocol: "quic" | ||
version: "rfc9000" | ||
role: "server" | ||
type: "tester" | ||
target: "picoquic_client" # Docker Compose service name | ||
ports: | ||
- "4443:4443" | ||
- "8080:8080" # Health check endpoint | ||
steps: | ||
# record_pcap: True | ||
wait: | ||
duration: 20 # seconds to wait during the test | ||
# record_pcap: False | ||
assertions: | ||
- type: "service_responsive" | ||
service: "picoquic_server" | ||
endpoint: "8080/health" # Adjust based on health endpoint | ||
expected_status: 200 | ||
- type: "service_responsive" | ||
service: "ivy_server" | ||
endpoint: "8081/health" # Adjust based on health endpoint | ||
expected_status: 200 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.