From 095f40b79f510ea1dd462aa89d77271134bbe3fd Mon Sep 17 00:00:00 2001 From: litincandela Date: Thu, 22 Jan 2026 00:15:19 +0530 Subject: [PATCH] lf_webpage.py: fixed issue while running http in mixed traffic test VERIFIED CLI: python3 lf_mixed_traffic.py --mgr 192.168.207.78 / --upstream_port eth1 / --mixed_traffic_loop 1 / --real / --use_default_config / --pre_cleanup / --parallel / --test_duration 1m / --target www.google.com / --ping_interval 5 / --side_a_min 0 / --side_b_min 10000000 / --traffic_type lf_tcp / --tos VO,VI,BE,BK / --ftp_file_sizes 5MB / --direction Download / --http_file_size 5MB / --mc_tos VO / --side_b_min_bps 10000000 / --tests 1 2 3 4 5 Signed-off-by: litincandela --- py-scripts/lf_webpage.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/py-scripts/lf_webpage.py b/py-scripts/lf_webpage.py index b5227afe4..60387f7ce 100755 --- a/py-scripts/lf_webpage.py +++ b/py-scripts/lf_webpage.py @@ -236,8 +236,10 @@ def __init__(self, lfclient_host, lfclient_port, upstream, num_sta, security, ss self.coordinate = coordinate self.rotation = rotation self.rotation_enabled = False - self.coordinate_list = coordinate.split(',') - self.rotation_list = rotation.split(',') + if self.robot_test: + # To consider coordinates list and rotation list when running with robot + self.coordinate_list = coordinate.split(',') + self.rotation_list = rotation.split(',') self.current_coordinate = "" self.current_angle = 0 self.robot_data = {}