Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, windows and java based applications. Get your 30 day free trial.
Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com
Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com
Sahi can not access a page
When trying to access a page by sahi, the page will stuck in loading status and got this 401 error info in sahi console:
INFO: wwwAuthenticate: Bearer client_id="00000002-0000-0ff1-ce00-000000000000", trusted_issuers="00000001-0000-0000-c000-000000000000@*", token_types="app_asserted_user_v1 service_asserted_app_v1", authorization_uri="https://login.windows.net/common/oauth2/authorize",Basic Realm=""
Aug 16, 2021 12:01:05 PM net.sf.sahi.RemoteRequestProcessor process401
INFO: scheme=bearer; realm=null
If manually access this page, it is ok.
Comments
Bearer authentication involves generating a token post authentication(login) in the client application.
1. Have you tried in the latest Sahi Pro version? You can download from https://www.sahipro.com/downloads-archive 2. Ensure that property 'xhr.return_401_response' is set as true in userdata.properties.