You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need support in disabling the URL as one of the healing parameter in healenium without docker, Every time the selector is stored in postgres DB, url is also getting captured and used for healing. In the application that we are testing every time there is a token attached to the url based on the session login. So I wanted to disable the url capturing and using it for healing purpose.
We are using healenium without docker.
i have modified start_healenium.sh file and added the below paramenters.
Describe the problem
Need support in disabling the URL as one of the healing parameter in healenium without docker, Every time the selector is stored in postgres DB, url is also getting captured and used for healing. In the application that we are testing every time there is a token attached to the url based on the session login. So I wanted to disable the url capturing and using it for healing purpose.
We are using healenium without docker.
i have modified start_healenium.sh file and added the below paramenters.
HLM_SELECTOR_URL=false
HLM_SELECTOR_PATH=false
PRING_POSTGRES_DB=$HLM_POSTGRES_DB SPRING_POSTGRES_SCHEMA=$HLM_POSTGRES_SCHEMA SPRING_POSTGRES_USER=$HLM_POSTGRES_USER SPRING_POSTGRES_PASSWORD=$HLM_POSTGRES_PASSWORD COLLECT_METRICS=$HLM_COLLECT_METRICS SPRING_SERVER_PORT=$HLM_SERVER_PORT HLM_LOG_LEVEL=$HLM_LOG_LEVEL KEY_SELECTOR_URL=$HLM_SELECTOR_URL KEY_SELECTOR_PATH=$HLM_SELECTOR_PATH java -jar hlm-backend.jar 2>&1 & echo $! > ./pid-hlm-backend.file &
Below is the snapshot of the start_healenium.sh file.
Even with this i am seeing that the URL is being captured and used for healing.
We want to make it url independent.
Any help would be appreciated
Thanks
Healenium Web version
healenium-1.3.6
Healenium Backend version
healenium-backend-3.4.1
Selenium version
selenium 3.9
Platform
python 3.9, and Java 17
Properties file
#!/bin/bash
Requirements hlm_backend
HLM_POSTGRES_DB=healenium
HLM_POSTGRES_SCHEMA=healenium
HLM_POSTGRES_USER=healenium_user
HLM_POSTGRES_PASSWORD=YDk2nmNs4s9aCP6K
HLM_COLLECT_METRICS=true
HLM_SELECTOR_URL=false
HLM_SELECTOR_PATH=false
HLM_SERVER_PORT=7878
HLM_LOG_LEVEL=info
Requirements hlm_proxy
RECOVERY_TRIES=1
SCORE_CAP=.6
HEAL_ENABLED=true
SELENIUM_SERVER_URL=http://localhost:4444
APPIUM_SERVER_URL=http://localhost:4723/wd/hub
HEALENIUM_SERVER_URL=http://localhost:7878
HEALENIUM_SERVICE=http://localhost:7878
IMITATE_SERVICE=http://localhost:8000
Deploy the hlm-backend service
SPRING_POSTGRES_DB=$HLM_POSTGRES_DB SPRING_POSTGRES_SCHEMA=$HLM_POSTGRES_SCHEMA SPRING_POSTGRES_USER=$HLM_POSTGRES_USER SPRING_POSTGRES_PASSWORD=$HLM_POSTGRES_PASSWORD COLLECT_METRICS=$HLM_COLLECT_METRICS SPRING_SERVER_PORT=$HLM_SERVER_PORT KEY_SELECTOR_URL=$HLM_SELECTOR_URL KEY_SELECTOR_PATH=$HLM_SELECTOR_PATH HLM_LOG_LEVEL=$HLM_LOG_LEVEL java -jar hlm-backend.jar 2>&1 & echo $! > ./pid-hlm-backend.file &
Deploy the hlm-proxy service
RECOVERY_TRIES=$RECOVERY_TRIES SCORE_CAP=$SCORE_CAP HEAL_ENABLED=$HEAL_ENABLED SELENIUM_SERVER_URL=$SELENIUM_SERVER_URL APPIUM_SERVER_URL=$APPIUM_SERVER_URL HEALENIUM_SERVER_URL=$HEALENIUM_SERVER_URL HEALENIUM_SERVICE=$HEALENIUM_SERVICE IMITATE_SERVICE=$IMITATE_SERVICE KEY_SELECTOR_URL=$HLM_SELECTOR_URL KEY_SELECTOR_PATH=$HLM_SELECTOR_PATH HLM_LOG_LEVEL=$HLM_LOG_LEVEL java -jar hlm-proxy.jar 2>&1 & echo $! > ./pid-hlm-proxy.file &
Deploy the imitator service
pip install --upgrade pip
pip install -r healenium-selector-imitator/requirements.txt
if [[ $OSTYPE == 'msys'* ]];
then
python healenium-selector-imitator/app.py & echo $! > ./pid-selector.file &
else
python3 healenium-selector-imitator/app.py & echo $! > ./pid-selector.file &
fi
Logs appeared during using Healenium
Additional context
We are using selenium-grid for this purpose as we are using python for our automation scripts. and this setup is with out dockers
The text was updated successfully, but these errors were encountered: