Pull ACCELQ Docker Image from docker.io
For latest image
docker pull accelq/accelq-agent:latest
Run ACCELQ Docker Agent(s)
ACCELQ docker image can take the accelq.properties file’s key-values as environment variables
You can pass any of the following keys as environment variable to docker run command
- agent_port
- agent_type
- tenant
- project
- user
- accelq_server_url
- user_id
- api_key
- agent_type
- provider_type
- provider_username
- provider_password
- provider_hostname
- provider_port
- project_code
- tenant_code
- num_concurrent_jobs
- num_parallel_tc_per_job
- http_proxy_host
- http_proxy_port
- http_proxy_user
- http_proxy_password
- http_proxy_nonproxyhosts
- https_proxy_host
- https_proxy_port
- https_proxy_user
- https_proxy_user
- https_proxy_nonproxyhosts
Start Agent from docker image [For a Dedicated User]
docker run -d -e agent_name=<agent_name> -e num_concurrent_jobs=1 -e num_parallel_tc_per_job=3 -e accelq_server_url=<url> -e user_id=<user_Id> -e api_key=<apikey> -e project_code=<projcode> -e tenant_code=<tenant_code> -e sharing_type=0 -e agent_type=user accelq/accelq-agent:latest
Start Agent from docker image [At Tenant Level]
docker run -d -e agent_name=<agent_name> -e num_concurrent_jobs=1 -e num_parallel_tc_per_job=3 -e accelq_server_url=<url> -e user_id=<user_Id> -e api_key=<apikey> -e project_code=<projcode> -e tenant_code=<tenant_code> -e sharing_type=1 -e agent_type=Tenant accelq/accelq-agent:latest
Once the docker run command succeeds, you will see local agent registered with ACCELQ server.
You may login to ACCELQ and navigate to Resources > Local Agents tab and verify the agent with the given name is displayed.
Running Test on Chrome browser with Docker Agent
Use the below driver profile
{
"headless": "new",
"args": [
"window-size=2000,1600",
"--no-sandbox",
"--disable-dev-shm-usage",
"--disable-gpu",
"--ignore-certificate-errors"
]
}
Comments
0 comments
Please sign in to leave a comment.