Forum Discussion
prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool
hello everybody.
anybody knows to prevent google chrome sad face in the load test tool?
details:
we have premium capacity and struggling with
https://github.com/microsoft/PowerBI-Tools-For-Capacities
now trying to launch 40 simultaneius sessions.
the tool works only with googe chrome (hardcoded) and apparantely there is an identified memory leak highiled in the code:
//TODO: adjust this value in the JSON file based on the complexity of your report; helps free up clogged browser resources var sessionRestart = JSON.parse(reportParameters).sessionRestart; //NOTE: added to address hard to identify long-running session memory leakth
we added more memory to the testing machine (20% occupied) but still getting the sad face - probably the problem is not just in the memory leak.
anybody knows howto fight the sad face?
thanks in advance
support case 119082624000202
10 Replies
- GilbertQ
Super User
Hi there
In the PowerShell code you can change it to use another browser, you just have to ensure that you can call it via PowerShell.
What happens if you run 20 sessions on one PC and another 20 on another PC?- AnonymousNot applicable
hi, thanks for the ideas.
>>>In the PowerShell code you can change it to use another browser
you tried that? perhaps there is a reason microsoft hardcoded google chrome.
>>>What happens if you run 20 sessions on one PC and another 20 on another PC?
i tried that for fewer sessions 4+4=8. have you tried?
- AnonymousNot applicable
GilbertQ so simply changing line
start chrome
to
start iexplore
is not working
moreover, generated html file is not working even if manually launch it in internet explorer
- GilbertQ
Super User
Hi there
You can change it from
'start chrome'
to
'Start-Process -file iexplore'- AnonymousNot applicable
you think if the file is not working when opening it manually it will work if to openit in command line?
generated html file is not working even if manually launch it in internet explorer