I tried 2 different ways:
Coded UI Test:
It can be automated without any issue. You need to logout first before you run the test again.
Web Performance Test:
After recording the test, it shows the error: Request failed: The request was aborted: Could not create SSL/TLS secure channel.
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
In this case, Coded UI Test is the best solution for MicroStrategy 9 BI Web Portal.