Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

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 10
Anonymous
Not 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

Hi there

You can change it from

'start chrome'

to
'Start-Process -file iexplore'




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

@GilbertQ 

 

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

Hi there

Yes because in the PowerShell script it should be passing the details when opening IE




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

@GilbertQ 

but the only parameters is the name of the file to open which is not working if to open it manually. why do you think it will work if to pass it as a parameter?

I am thinking if you just change that particular code where instead of using Chrome you use IE it should then run all the other code?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

@GilbertQ 

1. the file is not working if to open it manually in IE
2. the code is not working if to change chrome to IE in the code
you are still quite convinced that the change in the code should work - perhaps you have some other changes in mind that are working?


@GilbertQ wrote:
I am thinking if you just change that particular code where instead of using Chrome you use IE it should then run all the other code?

 

Hi there

I am unsure as to why it is not working, I have not tested it out myself.

I would have to find some time to try and see if I can get it working with IE or just create another VM in order to create more instances?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

GilbertQ
Super User
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?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Anonymous
Not 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?

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors