summaryrefslogtreecommitdiff
path: root/test/regression/web_test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/web_test')
-rw-r--r--test/regression/web_test/ecc_certs.c11
-rw-r--r--test/regression/web_test/http_digest_authentication.c11
-rw-r--r--test/regression/web_test/netx_https_api_test.c11
-rw-r--r--test/regression/web_test/netx_https_testcontrol.c11
-rw-r--r--test/regression/web_test/netx_web_abnormal_test.c11
-rw-r--r--test/regression/web_test/netx_web_basic_authenticate_empty_test.c11
-rw-r--r--test/regression/web_test/netx_web_basic_authenticate_test.c11
-rw-r--r--test/regression/web_test/netx_web_basic_ecc_test.c11
-rw-r--r--test/regression/web_test/netx_web_basic_test.c11
-rw-r--r--test/regression/web_test/netx_web_certifiacte_verify_test.c11
-rw-r--r--test/regression/web_test/netx_web_chunked_request_additional_test.c11
-rw-r--r--test/regression/web_test/netx_web_chunked_request_test.c11
-rw-r--r--test/regression/web_test/netx_web_chunked_response_packet_chain_test.c11
-rw-r--r--test/regression/web_test/netx_web_chunked_response_process_test.c11
-rw-r--r--test/regression/web_test/netx_web_chunked_response_test.c11
-rw-r--r--test/regression/web_test/netx_web_client_cleanup_test.c11
-rw-r--r--test/regression/web_test/netx_web_client_receive_no_packet_test.c11
-rw-r--r--test/regression/web_test/netx_web_client_rst_test.c11
-rw-r--r--test/regression/web_test/netx_web_client_send_fail_test.c11
-rw-r--r--test/regression/web_test/netx_web_concurrent_sessions_test.c11
-rw-r--r--test/regression/web_test/netx_web_connect_three_times_test.c11
-rw-r--r--test/regression/web_test/netx_web_delete_basic_test.c11
-rw-r--r--test/regression/web_test/netx_web_digest_authenticate_test.c11
-rw-r--r--test/regression/web_test/netx_web_digest_authenticate_test2.c11
-rw-r--r--test/regression/web_test/netx_web_digest_authenticate_timeout_test.c11
-rw-r--r--test/regression/web_test/netx_web_external_client_test.c11
-rw-r--r--test/regression/web_test/netx_web_external_server_chunked_test.c11
-rw-r--r--test/regression/web_test/netx_web_external_server_test.c11
-rw-r--r--test/regression/web_test/netx_web_get_content_length_test.c11
-rw-r--r--test/regression/web_test/netx_web_get_put_referred_URI_test.c11
-rw-r--r--test/regression/web_test/netx_web_head_basic_test.c11
-rw-r--r--test/regression/web_test/netx_web_host_field_test.c11
-rw-r--r--test/regression/web_test/netx_web_http_demo_test.c11
-rw-r--r--test/regression/web_test/netx_web_https_demo_test.c11
-rw-r--r--test/regression/web_test/netx_web_if_modified_since_test.c11
-rw-r--r--test/regression/web_test/netx_web_invalid_release_test.c11
-rw-r--r--test/regression/web_test/netx_web_keep_alive_abnormal_test.c11
-rw-r--r--test/regression/web_test/netx_web_keep_alive_test.c11
-rw-r--r--test/regression/web_test/netx_web_multipart_fragment_test.c11
-rw-r--r--test/regression/web_test/netx_web_multipart_underflow_test.c11
-rw-r--r--test/regression/web_test/netx_web_multiple_sessions_test.c11
-rw-r--r--test/regression/web_test/netx_web_multiple_sessions_timeout_test.c11
-rw-r--r--test/regression/web_test/netx_web_non_block_basic_test.c11
-rw-r--r--test/regression/web_test/netx_web_non_block_reconnect_test.c11
-rw-r--r--test/regression/web_test/netx_web_one_session_test.c11
-rw-r--r--test/regression/web_test/netx_web_packet_allocate_test.c11
-rw-r--r--test/regression/web_test/netx_web_post_basic_test.c11
-rw-r--r--test/regression/web_test/netx_web_post_long_message_test.c11
-rw-r--r--test/regression/web_test/netx_web_put_basic_test.c11
-rw-r--r--test/regression/web_test/netx_web_request_in_multiple_packets_test.c11
-rw-r--r--test/regression/web_test/netx_web_response_in_multiple_packets_test.c11
-rw-r--r--test/regression/web_test/netx_web_secure_connect_fail_test.c11
-rw-r--r--test/regression/web_test/netx_web_secure_reconnect_test.c11
-rw-r--r--test/regression/web_test/netx_web_server_chunked_content_process_test.c11
-rw-r--r--test/regression/web_test/netx_web_server_content_process_test.c11
-rw-r--r--test/regression/web_test/netx_web_server_type_get_extended_test.c11
-rw-r--r--test/regression/web_test/netx_web_status_400_test.c11
-rw-r--r--test/regression/web_test/netx_web_status_404_test.c11
-rw-r--r--test/regression/web_test/netx_web_status_501_test.c11
-rw-r--r--test/regression/web_test/netx_web_status_code_test.c11
-rw-r--r--test/regression/web_test/netx_web_tcpserver_rst_test.c11
-rw-r--r--test/regression/web_test/netx_web_tcpserver_tls_fail_rst_test.c11
-rw-r--r--test/regression/web_test/netx_web_tcpserver_two_listen_test.c11
-rw-r--r--test/regression/web_test/test_ca_cert.c11
-rw-r--r--test/regression/web_test/test_device_cert.c11
-rw-r--r--test/regression/web_test/test_utility.h11
66 files changed, 726 insertions, 0 deletions
diff --git a/test/regression/web_test/ecc_certs.c b/test/regression/web_test/ecc_certs.c
index e40c8b62..3cb96ef6 100644
--- a/test/regression/web_test/ecc_certs.c
+++ b/test/regression/web_test/ecc_certs.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
static unsigned char globalsignrootca_cer[] = {
0x30, 0x82, 0x03, 0x5f, 0x30, 0x82, 0x02, 0x47, 0xa0, 0x03, 0x02, 0x01,
diff --git a/test/regression/web_test/http_digest_authentication.c b/test/regression/web_test/http_digest_authentication.c
index 0b4b7e43..30a28010 100644
--- a/test/regression/web_test/http_digest_authentication.c
+++ b/test/regression/web_test/http_digest_authentication.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#define HTTP_MAX_BINARY_MD5 16
#define HTTP_MAX_ASCII_MD5 32
diff --git a/test/regression/web_test/netx_https_api_test.c b/test/regression/web_test/netx_https_api_test.c
index b6c83ace..b7868b9a 100644
--- a/test/regression/web_test/netx_https_api_test.c
+++ b/test/regression/web_test/netx_https_api_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_https_testcontrol.c b/test/regression/web_test/netx_https_testcontrol.c
index e8ab7818..750e2a84 100644
--- a/test/regression/web_test/netx_https_testcontrol.c
+++ b/test/regression/web_test/netx_https_testcontrol.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This is the test control routine the NetX TCP/IP stack. All tests are dispatched from this routine. */
#include "tx_api.h"
diff --git a/test/regression/web_test/netx_web_abnormal_test.c b/test/regression/web_test/netx_web_abnormal_test.c
index 24fd9e5a..6a8bf014 100644
--- a/test/regression/web_test/netx_web_abnormal_test.c
+++ b/test/regression/web_test/netx_web_abnormal_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests abnormal cases. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_basic_authenticate_empty_test.c b/test/regression/web_test/netx_web_basic_authenticate_empty_test.c
index 4777e9b1..e440e864 100644
--- a/test/regression/web_test/netx_web_basic_authenticate_empty_test.c
+++ b/test/regression/web_test/netx_web_basic_authenticate_empty_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic authentication with empty name or password. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_basic_authenticate_test.c b/test/regression/web_test/netx_web_basic_authenticate_test.c
index 309adf13..9986e22d 100644
--- a/test/regression/web_test/netx_web_basic_authenticate_test.c
+++ b/test/regression/web_test/netx_web_basic_authenticate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic authentication. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_basic_ecc_test.c b/test/regression/web_test/netx_web_basic_ecc_test.c
index b2b1a633..7750aaa4 100644
--- a/test/regression/web_test/netx_web_basic_ecc_test.c
+++ b/test/regression/web_test/netx_web_basic_ecc_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic GET method using ECC. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_basic_test.c b/test/regression/web_test/netx_web_basic_test.c
index 62beb419..b146f918 100644
--- a/test/regression/web_test/netx_web_basic_test.c
+++ b/test/regression/web_test/netx_web_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic GET method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_certifiacte_verify_test.c b/test/regression/web_test/netx_web_certifiacte_verify_test.c
index 7c53e71f..6f165968 100644
--- a/test/regression/web_test/netx_web_certifiacte_verify_test.c
+++ b/test/regression/web_test/netx_web_certifiacte_verify_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests client certificate verification. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_chunked_request_additional_test.c b/test/regression/web_test/netx_web_chunked_request_additional_test.c
index 272fc0fd..b99d3fc6 100644
--- a/test/regression/web_test/netx_web_chunked_request_additional_test.c
+++ b/test/regression/web_test/netx_web_chunked_request_additional_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests chunked request. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_chunked_request_test.c b/test/regression/web_test/netx_web_chunked_request_test.c
index 401689cc..9ae65ce4 100644
--- a/test/regression/web_test/netx_web_chunked_request_test.c
+++ b/test/regression/web_test/netx_web_chunked_request_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests chunked request. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_chunked_response_packet_chain_test.c b/test/regression/web_test/netx_web_chunked_response_packet_chain_test.c
index 5bd77151..ff5ae867 100644
--- a/test/regression/web_test/netx_web_chunked_response_packet_chain_test.c
+++ b/test/regression/web_test/netx_web_chunked_response_packet_chain_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests chunked response with packet chain. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_chunked_response_process_test.c b/test/regression/web_test/netx_web_chunked_response_process_test.c
index 25d937d9..933c6830 100644
--- a/test/regression/web_test/netx_web_chunked_response_process_test.c
+++ b/test/regression/web_test/netx_web_chunked_response_process_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests chunked response processing. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_chunked_response_test.c b/test/regression/web_test/netx_web_chunked_response_test.c
index ecf55f43..9302d16c 100644
--- a/test/regression/web_test/netx_web_chunked_response_test.c
+++ b/test/regression/web_test/netx_web_chunked_response_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests chunked resposne. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_client_cleanup_test.c b/test/regression/web_test/netx_web_client_cleanup_test.c
index 52194e3a..8537a77f 100644
--- a/test/regression/web_test/netx_web_client_cleanup_test.c
+++ b/test/regression/web_test/netx_web_client_cleanup_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the cleanup function.
*/
#include "tx_api.h"
diff --git a/test/regression/web_test/netx_web_client_receive_no_packet_test.c b/test/regression/web_test/netx_web_client_receive_no_packet_test.c
index c60f63d0..f303bd2f 100644
--- a/test/regression/web_test/netx_web_client_receive_no_packet_test.c
+++ b/test/regression/web_test/netx_web_client_receive_no_packet_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests client didn't receive response in time.
If client receive no packet, it can continue to get response untill get done. */
#include "tx_api.h"
diff --git a/test/regression/web_test/netx_web_client_rst_test.c b/test/regression/web_test/netx_web_client_rst_test.c
index e5e1173b..ad91ac58 100644
--- a/test/regression/web_test/netx_web_client_rst_test.c
+++ b/test/regression/web_test/netx_web_client_rst_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the cleanup function.
*/
#include "tx_api.h"
diff --git a/test/regression/web_test/netx_web_client_send_fail_test.c b/test/regression/web_test/netx_web_client_send_fail_test.c
index c14408e3..822fe9ab 100644
--- a/test/regression/web_test/netx_web_client_send_fail_test.c
+++ b/test/regression/web_test/netx_web_client_send_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests abnormal cases. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_concurrent_sessions_test.c b/test/regression/web_test/netx_web_concurrent_sessions_test.c
index db04998d..5a44f769 100644
--- a/test/regression/web_test/netx_web_concurrent_sessions_test.c
+++ b/test/regression/web_test/netx_web_concurrent_sessions_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests concurrent HTTPS sessions by launching several
* HTTPS clients in separate threads and using randomized delay to
* hit the server with repeated requests. */
diff --git a/test/regression/web_test/netx_web_connect_three_times_test.c b/test/regression/web_test/netx_web_connect_three_times_test.c
index dc47880e..fb58bb47 100644
--- a/test/regression/web_test/netx_web_connect_three_times_test.c
+++ b/test/regression/web_test/netx_web_connect_three_times_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests client connect three times to server to see
if server actually clear the seesion materials.
*/
diff --git a/test/regression/web_test/netx_web_delete_basic_test.c b/test/regression/web_test/netx_web_delete_basic_test.c
index e990878b..d3ee50f5 100644
--- a/test/regression/web_test/netx_web_delete_basic_test.c
+++ b/test/regression/web_test/netx_web_delete_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic DELETE method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_digest_authenticate_test.c b/test/regression/web_test/netx_web_digest_authenticate_test.c
index 810de781..b9f436f6 100644
--- a/test/regression/web_test/netx_web_digest_authenticate_test.c
+++ b/test/regression/web_test/netx_web_digest_authenticate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests digest authentication.
HA1 = MD5("name:NetX Duo HTTP demo:password")
= 01bb2595c9221423951ee86f3573b465
diff --git a/test/regression/web_test/netx_web_digest_authenticate_test2.c b/test/regression/web_test/netx_web_digest_authenticate_test2.c
index 7f2c6c44..c8546e22 100644
--- a/test/regression/web_test/netx_web_digest_authenticate_test2.c
+++ b/test/regression/web_test/netx_web_digest_authenticate_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests digest authentication.
HA1 = MD5("name:NetX Duo HTTP demo:password")
= 01bb2595c9221423951ee86f3573b465
diff --git a/test/regression/web_test/netx_web_digest_authenticate_timeout_test.c b/test/regression/web_test/netx_web_digest_authenticate_timeout_test.c
index 904dc742..51dcb643 100644
--- a/test/regression/web_test/netx_web_digest_authenticate_timeout_test.c
+++ b/test/regression/web_test/netx_web_digest_authenticate_timeout_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests digest authentication.
HA1 = MD5("name:NetX Duo HTTP demo:Placeholderpassword")
= 01bb2595c9221423951ee86f3573b465
diff --git a/test/regression/web_test/netx_web_external_client_test.c b/test/regression/web_test/netx_web_external_client_test.c
index eed93aa6..6a482a66 100644
--- a/test/regression/web_test/netx_web_external_client_test.c
+++ b/test/regression/web_test/netx_web_external_client_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests server send chunked packet to external client and process chunked packet from external client. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_external_server_chunked_test.c b/test/regression/web_test/netx_web_external_server_chunked_test.c
index 1303bad1..a88b9bac 100644
--- a/test/regression/web_test/netx_web_external_server_chunked_test.c
+++ b/test/regression/web_test/netx_web_external_server_chunked_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic GET method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_external_server_test.c b/test/regression/web_test/netx_web_external_server_test.c
index 2bc351dc..74ac50a8 100644
--- a/test/regression/web_test/netx_web_external_server_test.c
+++ b/test/regression/web_test/netx_web_external_server_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic GET method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_get_content_length_test.c b/test/regression/web_test/netx_web_get_content_length_test.c
index 89fcf186..31569b53 100644
--- a/test/regression/web_test/netx_web_get_content_length_test.c
+++ b/test/regression/web_test/netx_web_get_content_length_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the get content length task which should allow zero or more white
spaces between field name (Content-Length) and value.
*/
diff --git a/test/regression/web_test/netx_web_get_put_referred_URI_test.c b/test/regression/web_test/netx_web_get_put_referred_URI_test.c
index 0af70eaa..83a427f0 100644
--- a/test/regression/web_test/netx_web_get_put_referred_URI_test.c
+++ b/test/regression/web_test/netx_web_get_put_referred_URI_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the ability of the HTTP Client to accept a URI resource string that does not
designate a root directory based file location. If the string begins with an HTTP: or HTTPS: (not
case sensitive) the HTTP Client will send the string as is. (Note this does not guarantee the HTTP server
diff --git a/test/regression/web_test/netx_web_head_basic_test.c b/test/regression/web_test/netx_web_head_basic_test.c
index eea4ce89..72b293a0 100644
--- a/test/regression/web_test/netx_web_head_basic_test.c
+++ b/test/regression/web_test/netx_web_head_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic HEAD method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_host_field_test.c b/test/regression/web_test/netx_web_host_field_test.c
index a025e947..07cf7e52 100644
--- a/test/regression/web_test/netx_web_host_field_test.c
+++ b/test/regression/web_test/netx_web_host_field_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests Host field. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_http_demo_test.c b/test/regression/web_test/netx_web_http_demo_test.c
index 67be33ab..78d226c6 100644
--- a/test/regression/web_test/netx_web_http_demo_test.c
+++ b/test/regression/web_test/netx_web_http_demo_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This is a small demo of HTTP on the high-performance NetX TCP/IP stack.
This demo relies on ThreadX, NetX, and FileX to show a simple HTML
transfer from the client and then back from the server. */
diff --git a/test/regression/web_test/netx_web_https_demo_test.c b/test/regression/web_test/netx_web_https_demo_test.c
index 1e1a526d..6d6902dc 100644
--- a/test/regression/web_test/netx_web_https_demo_test.c
+++ b/test/regression/web_test/netx_web_https_demo_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This is a small demo of the NetX HTTP Client Server API running on a
high-performance NetX TCP/IP stack. */
diff --git a/test/regression/web_test/netx_web_if_modified_since_test.c b/test/regression/web_test/netx_web_if_modified_since_test.c
index 9b43573e..a937d83b 100644
--- a/test/regression/web_test/netx_web_if_modified_since_test.c
+++ b/test/regression/web_test/netx_web_if_modified_since_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests filed If-Modified-field.
* if the requested variant has not been modified since the time specified in this field,
* an entity will not be returned from the server; instead, a 304 (not modified) response
diff --git a/test/regression/web_test/netx_web_invalid_release_test.c b/test/regression/web_test/netx_web_invalid_release_test.c
index 8361a7ae..827251aa 100644
--- a/test/regression/web_test/netx_web_invalid_release_test.c
+++ b/test/regression/web_test/netx_web_invalid_release_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests sending packet failure. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_keep_alive_abnormal_test.c b/test/regression/web_test/netx_web_keep_alive_abnormal_test.c
index fcd32218..acded427 100644
--- a/test/regression/web_test/netx_web_keep_alive_abnormal_test.c
+++ b/test/regression/web_test/netx_web_keep_alive_abnormal_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests HTTP/1.1 server establish a persistent connection with a HTTP/1.1 client. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_keep_alive_test.c b/test/regression/web_test/netx_web_keep_alive_test.c
index 7e8b14ba..759c803f 100644
--- a/test/regression/web_test/netx_web_keep_alive_test.c
+++ b/test/regression/web_test/netx_web_keep_alive_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests HTTP/1.1 server establish a persistent connection with a HTTP/1.1 client. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_multipart_fragment_test.c b/test/regression/web_test/netx_web_multipart_fragment_test.c
index 033db38b..3947307f 100644
--- a/test/regression/web_test/netx_web_multipart_fragment_test.c
+++ b/test/regression/web_test/netx_web_multipart_fragment_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests whether HTTP server can work well with multipart/form-data.
* server packet size 800
* client packet size 1400
diff --git a/test/regression/web_test/netx_web_multipart_underflow_test.c b/test/regression/web_test/netx_web_multipart_underflow_test.c
index 7179be60..4f2e52f8 100644
--- a/test/regression/web_test/netx_web_multipart_underflow_test.c
+++ b/test/regression/web_test/netx_web_multipart_underflow_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests whether HTTP server can work well with multipart/form-data.
* server packet size 800
* client packet size 1400
diff --git a/test/regression/web_test/netx_web_multiple_sessions_test.c b/test/regression/web_test/netx_web_multiple_sessions_test.c
index 0af2532a..937cc343 100644
--- a/test/regression/web_test/netx_web_multiple_sessions_test.c
+++ b/test/regression/web_test/netx_web_multiple_sessions_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests multiple sessions. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_multiple_sessions_timeout_test.c b/test/regression/web_test/netx_web_multiple_sessions_timeout_test.c
index b8799ca2..c3913fa8 100644
--- a/test/regression/web_test/netx_web_multiple_sessions_timeout_test.c
+++ b/test/regression/web_test/netx_web_multiple_sessions_timeout_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests multiple sessions. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_non_block_basic_test.c b/test/regression/web_test/netx_web_non_block_basic_test.c
index f816ed88..28b5216e 100644
--- a/test/regression/web_test/netx_web_non_block_basic_test.c
+++ b/test/regression/web_test/netx_web_non_block_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic GET method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_non_block_reconnect_test.c b/test/regression/web_test/netx_web_non_block_reconnect_test.c
index 92511083..780b9358 100644
--- a/test/regression/web_test/netx_web_non_block_reconnect_test.c
+++ b/test/regression/web_test/netx_web_non_block_reconnect_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests reconnection in non-blocking mode. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_one_session_test.c b/test/regression/web_test/netx_web_one_session_test.c
index 94913e93..16d32955 100644
--- a/test/regression/web_test/netx_web_one_session_test.c
+++ b/test/regression/web_test/netx_web_one_session_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic GET method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_packet_allocate_test.c b/test/regression/web_test/netx_web_packet_allocate_test.c
index ebc7de4e..288e282d 100644
--- a/test/regression/web_test/netx_web_packet_allocate_test.c
+++ b/test/regression/web_test/netx_web_packet_allocate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests if the allocated packet is 4-byte alignment. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_post_basic_test.c b/test/regression/web_test/netx_web_post_basic_test.c
index f7fcab27..e9aeece8 100644
--- a/test/regression/web_test/netx_web_post_basic_test.c
+++ b/test/regression/web_test/netx_web_post_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic POST method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_post_long_message_test.c b/test/regression/web_test/netx_web_post_long_message_test.c
index bd4b92ee..44c3ee41 100644
--- a/test/regression/web_test/netx_web_post_long_message_test.c
+++ b/test/regression/web_test/netx_web_post_long_message_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic POST method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_put_basic_test.c b/test/regression/web_test/netx_web_put_basic_test.c
index 62b1474d..51682072 100644
--- a/test/regression/web_test/netx_web_put_basic_test.c
+++ b/test/regression/web_test/netx_web_put_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic PUT method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_request_in_multiple_packets_test.c b/test/regression/web_test/netx_web_request_in_multiple_packets_test.c
index 1d1f1b9a..593dd4af 100644
--- a/test/regression/web_test/netx_web_request_in_multiple_packets_test.c
+++ b/test/regression/web_test/netx_web_request_in_multiple_packets_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the ability of the HTTP server to process HTTP request string in multiple packets.
* Packet1. GET /index.htm HTTP/1.0
* Packet2. CR
diff --git a/test/regression/web_test/netx_web_response_in_multiple_packets_test.c b/test/regression/web_test/netx_web_response_in_multiple_packets_test.c
index 69a73486..2b10abb0 100644
--- a/test/regression/web_test/netx_web_response_in_multiple_packets_test.c
+++ b/test/regression/web_test/netx_web_response_in_multiple_packets_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests response in multiple packets. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_secure_connect_fail_test.c b/test/regression/web_test/netx_web_secure_connect_fail_test.c
index bed73065..3c010419 100644
--- a/test/regression/web_test/netx_web_secure_connect_fail_test.c
+++ b/test/regression/web_test/netx_web_secure_connect_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests client connect three times to server to see
if server actually clear the seesion materials.
*/
diff --git a/test/regression/web_test/netx_web_secure_reconnect_test.c b/test/regression/web_test/netx_web_secure_reconnect_test.c
index 924bc075..735f842e 100644
--- a/test/regression/web_test/netx_web_secure_reconnect_test.c
+++ b/test/regression/web_test/netx_web_secure_reconnect_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests reconnection when TLS connection fail. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_server_chunked_content_process_test.c b/test/regression/web_test/netx_web_server_chunked_content_process_test.c
index 40b226e9..19ff2837 100644
--- a/test/regression/web_test/netx_web_server_chunked_content_process_test.c
+++ b/test/regression/web_test/netx_web_server_chunked_content_process_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests server getting chunked content. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_server_content_process_test.c b/test/regression/web_test/netx_web_server_content_process_test.c
index 8057abf6..72577850 100644
--- a/test/regression/web_test/netx_web_server_content_process_test.c
+++ b/test/regression/web_test/netx_web_server_content_process_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests server getting content. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_server_type_get_extended_test.c b/test/regression/web_test/netx_web_server_type_get_extended_test.c
index 19bbdd17..3bc178db 100644
--- a/test/regression/web_test/netx_web_server_type_get_extended_test.c
+++ b/test/regression/web_test/netx_web_server_type_get_extended_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic GET method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_status_400_test.c b/test/regression/web_test/netx_web_status_400_test.c
index 0048582b..31fefe5f 100644
--- a/test/regression/web_test/netx_web_status_400_test.c
+++ b/test/regression/web_test/netx_web_status_400_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests status 400.
* 1. If Request-URIis an absoluteURI, the host is part of the Request-URI. Any Host header
* field value in the request MUST be ignored.
diff --git a/test/regression/web_test/netx_web_status_404_test.c b/test/regression/web_test/netx_web_status_404_test.c
index 7d027d24..5b9bdeb1 100644
--- a/test/regression/web_test/netx_web_status_404_test.c
+++ b/test/regression/web_test/netx_web_status_404_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests status 404.
* If Tthe server has not found anything matching the Request-URI.
* 404 should be sent.
diff --git a/test/regression/web_test/netx_web_status_501_test.c b/test/regression/web_test/netx_web_status_501_test.c
index 76905d9b..aae7d42a 100644
--- a/test/regression/web_test/netx_web_status_501_test.c
+++ b/test/regression/web_test/netx_web_status_501_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests status 501.
* If the method is unrecognized or not implemented by the origin server,
* should repond 501.
diff --git a/test/regression/web_test/netx_web_status_code_test.c b/test/regression/web_test/netx_web_status_code_test.c
index 65410af9..b7a5da93 100644
--- a/test/regression/web_test/netx_web_status_code_test.c
+++ b/test/regression/web_test/netx_web_status_code_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests basic GET method. */
#include "tx_api.h"
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_tcpserver_rst_test.c b/test/regression/web_test/netx_web_tcpserver_rst_test.c
index 0277aea5..27807b6a 100644
--- a/test/regression/web_test/netx_web_tcpserver_rst_test.c
+++ b/test/regression/web_test/netx_web_tcpserver_rst_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the tcpserver on handling RST packet. */
#include "nx_api.h"
#include "nx_tcpserver.h"
diff --git a/test/regression/web_test/netx_web_tcpserver_tls_fail_rst_test.c b/test/regression/web_test/netx_web_tcpserver_tls_fail_rst_test.c
index d617d896..ac2b998a 100644
--- a/test/regression/web_test/netx_web_tcpserver_tls_fail_rst_test.c
+++ b/test/regression/web_test/netx_web_tcpserver_tls_fail_rst_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the tcpserver on handling RST packet when TLS connection is failed.
*/
#include "nx_api.h"
diff --git a/test/regression/web_test/netx_web_tcpserver_two_listen_test.c b/test/regression/web_test/netx_web_tcpserver_two_listen_test.c
index 65258550..ba5731d1 100644
--- a/test/regression/web_test/netx_web_tcpserver_two_listen_test.c
+++ b/test/regression/web_test/netx_web_tcpserver_two_listen_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the tcpserver on handling two session listen situation. */
#include "nx_api.h"
#include "nx_tcpserver.h"
diff --git a/test/regression/web_test/test_ca_cert.c b/test/regression/web_test/test_ca_cert.c
index 02ed1b48..d207af59 100644
--- a/test/regression/web_test/test_ca_cert.c
+++ b/test/regression/web_test/test_ca_cert.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
static unsigned char test_ca_cert_der[] = {
0x30, 0x82, 0x03, 0xc7, 0x30, 0x82, 0x02, 0xaf, 0xa0, 0x03, 0x02, 0x01,
0x02, 0x02, 0x09, 0x00, 0xa1, 0x79, 0xb0, 0x6a, 0x32, 0xbc, 0x48, 0x67,
diff --git a/test/regression/web_test/test_device_cert.c b/test/regression/web_test/test_device_cert.c
index bb21fb43..561be520 100644
--- a/test/regression/web_test/test_device_cert.c
+++ b/test/regression/web_test/test_device_cert.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
static unsigned char test_device_cert_der[] = {
0x30, 0x82, 0x03, 0xd2, 0x30, 0x82, 0x02, 0xba, 0xa0, 0x03, 0x02, 0x01,
0x02, 0x02, 0x01, 0x01, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
diff --git a/test/regression/web_test/test_utility.h b/test/regression/web_test/test_utility.h
index c5cdbb92..539c973a 100644
--- a/test/regression/web_test/test_utility.h
+++ b/test/regression/web_test/test_utility.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#ifndef __TEST_UTILITY_H
#define __TEST_UTILITY_H