This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.
TrueSight Synthetic Transaction Monitor with Micro Focus Silk Performer
BMC Synthetic Transaction Execution Adapter
TrueSight Synthetic Transaction Monitor with Micro Focus Silk Performer Borland Silk Performer Synthetic Transaction Monitoring BMC Synthetic Transaction Execution Adapter
There is a script that is performing a login and logout on an application. It records successfully in Silk Performer and replays successfully as well. However when the script is running on the Synthetic TEA Agent, the initial run is successful, but all subsequent runs are failing with the following error:
HTTP: 401 - access denied, RespHdrAuthNTLM
The script is using the WebSetUserAuthNtlm() function to handle the NTLM authentication. As per MicroFocus documentation, that function needs to "reset" the credentials before the end of the script.
Below is an example from MicroFocus:
Adding the "WebSetUserAuthNtlm("", "");" before the "TMain end" in the script will solve the issue, and the script will now run successfully at all executions.