cancel
Showing results for 
Search instead for 
Did you mean: 
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
Super User IV
Super User IV

Re: prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool

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

Re: prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool

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?

Anonymous
Not applicable

Re: prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool

@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

Super User IV
Super User IV

Re: prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool

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

Re: prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool

@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

Super User IV
Super User IV

Re: prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool

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

Re: prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool

@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?

Super User IV
Super User IV

Re: prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool

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

Re: prevent chrome sad face load testing with PowerBI-Tools-For-Capacities/LoadTestingPowerShellTool

@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?

 

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications