mcdcorp / opentest

Open source test automation tool for web applications, mobile apps and APIs
https://getopentest.org
MIT License
446 stars 107 forks source link

Website with basic authentication #623

Open vmsoriano opened 1 year ago

vmsoriano commented 1 year ago

I´m trying to automate a web test in opentest with a public Url which uses basic authentication

When i try to pass credentials in url like this:

https://username:password@url.com/

Steps finish ok, but the next steps of the test dont work properly, and in the end, log show me diferents 401 error.

Failed to load resource: the server responded with a status of 401 (Unauthorized)

How can I include basic authentication in test web browsing?

I trying to test a website with basic authentication

Keonik1 commented 1 year ago

@vmsoriano try this: https://github.com/mcdcorp/opentest/issues/604#issuecomment-1504874522