diff --git a/deps/wazuh_testing/wazuh_testing/tools/performance/binary.py b/deps/wazuh_testing/wazuh_testing/tools/performance/binary.py index eb02eef076..6a3d190615 100644 --- a/deps/wazuh_testing/wazuh_testing/tools/performance/binary.py +++ b/deps/wazuh_testing/wazuh_testing/tools/performance/binary.py @@ -78,7 +78,7 @@ def get_process_pids(cls, process_name, check_children=True) -> list: if any(filter(lambda x: f'{process_name}.py' in x, proc.cmdline())): pid = proc.pid break - elif process_name == 'wazuh-indexer': + elif process_name in ['wazuh-indexer', 'wazuh-dashboard']: if any(filter(lambda x: f'{process_name}' in x, proc.cmdline())): pid = proc.pid break