18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.