ERR_CERT_COMMON_NAME_INVALID error with playwright engine #3352
Closed
verashanky
started this conversation in
Artillery
Replies: 2 comments
-
I tried adding 'ignoreHTTPSErrors: true' in test.yml . But it dint help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed this issue with the following config. engines: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am running load test utilizing playwright scripts with Artillery.
My test is triggered from EC2 instance within AWS cloud and the target is ALB url with the same cloud.
artillery run -k -e dev test.yml
And I received the following error. ALB URL is being passed from the Playwright script (which changes based on the environment variable).
errors.page.goto: net::ERR_CERT_COMMON_NAME_INVALID at https://internal-alb-fullurl.com
Note: When I run Playwright test separately with same URL, it works fine.
test.yml file:
config:
tls:
rejectUnauthorized: false
engines:
playwright: { launchOptions: { headless: true, ignoreHTTPSErrors: true } }
processor: "./processor.ts"
environments:
dev:
target: "https://internal-alb-projectName-stgiz-app01-ipAddress.ap-southeast-1.elb.amazonaws.com"
phases:
- duration: 50s
arrivalRate: 1
maxVusers: 1
scenarios:
name: workflow1
flowFunction: "workflow1"
Any idea what I'm missing ?
Beta Was this translation helpful? Give feedback.
All reactions