A load test is generating random "Authentication required, please use web_set_user" errors. The AUT is an ASP.NET application and the test script uses HTTP protocol. This is in LoadRunner Enterprise 2022 R2 but also happened in Performance Center v12.63.
The workflow up to the point of failure involves logging in, loading the application UI and running a search. The app UI and search are all in the same domain and served by the same web server. There are no proxy servers in between the load generator and the AUT. The script's runtime proxy settings are "no proxy".
Below is a sample of a (curated) log. Iteration 1 ran as expected. The same user logged in again for iteration 2 and got the "authentication required" error. Iteration 3 then ran fine.
Start auto log messages stack - Iteration 1. [MsgId: MMSG-10545]
DEBUG >>> Successful login: jxxxxxx@xxxxx [MsgId: MMSG-17999]
works as expected....
Start auto log messages stack - Iteration 2. [MsgId: MMSG-10545]
DEBUG >>> Sucessful login: jxxxxxx@xxxxx [MsgId: MMSG-17999]
Search.c(77): Continuing after Error -26546: Authentication required, please use "web_set_user", e.g. web_set_user("domain\\user", "password", "host:port"); [MsgId: MERR-26546]
Search.c(77): Continuing after Error -26629: HTTP Status-Code=401 (Unauthorized) for "https://example.com/Default.aspx/GetSearchSubItems" [MsgId: MERR-26629]
Start auto log messages stack - Iteration 3. [MsgId: MMSG-10545]
DEBUG >>> Sucessful login: kxxxxxx@zzzzz [MsgId: MMSG-17999]
works as expected....
Start auto log messages stack - Iteration 4. [MsgId: MMSG-10545]
DEBUG >>> Sucessful login: syyyyy@yyyyy [MsgId: MMSG-17999]
Searc.c(77): Continuing after Error -26546: Authentication required, please use "web_set_user", e.g. web_set_user("domain\\user", "password", "host:port"); [MsgId: MERR-26546]
Search.c(77): Continuing after Error -26629: HTTP Status-Code=401 (Unauthorized) for "https://example.com/Default.aspx/GetSearchSubItems" [MsgId: MERR-26629]
Start auto log messages stack - Iteration 5. [MsgId: MMSG-10545]
DEBUG >>> Sucessful login: mqqqqq@wwwwwww [MsgId: MMSG-17999]
Search.c(77): Continuing after Error -26546: Authentication required, please use "web_set_user", e.g. web_set_user("domain\\user", "password", "host:port"); [MsgId: MERR-26546]
Search.c(77): Continuing after Error -26629: HTTP Status-Code=401 (Unauthorized) for "https://example.com/Default.aspx/GetSearchSubItems" [MsgId: MERR-26629]
Start auto log messages stack - Iteration 6. [MsgId: MMSG-10545]
DEBUG >>> Successful login: mdddddg@pppp [MsgId: MMSG-17999]
works as expected....
I have not been able to reproduce running in Vugen locally. Happens at low and high loads so I don't suspect a load issue. The webs are running at 5% CPU.