Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Error loading RealisticLoadTest #20

Open
nunon opened this issue Feb 14, 2021 · 2 comments
Open

Error loading RealisticLoadTest #20

nunon opened this issue Feb 14, 2021 · 2 comments

Comments

@nunon
Copy link

nunon commented Feb 14, 2021

I've followed the instructions meticulously to try this tool.
Loaded "Power Bi Load Testing Demo.pbix" to a workspace and configured all the details of "PBIReport.JSON" with my url.
When opening the HTML, the report loads on the page, but I get the error in Chrome Dev Tools:
Failed to load resource: net::ERR_NAME_NOT_RESOLVED

RealisticLoadTest.html:250 Uncaught TypeError: Cannot read property 'models' of undefined
at EmbedReport (RealisticLoadTest.html:250)
at RealisticLoadTest.html:485

Also tried running several times: .\Update_Token_Only.ps1 in PowerShell but the result is the same.

@nanda-nainadurai
Copy link

Few suggestions:

  1. Did you run "Setup_Load_Test.ps1" to initialize json files for the first time?
  2. Are you sure you are using your Power BI URL in the right format? e.g: "reportUrl":"https://app.powerbi.com/reportEmbed?reportId=reportId&groupId=groupId&w=2&config=config
  3. Can you post the json file here to check what might be incorrect? (feel free to mask it with report id and group id in the report URL)

@furmangg
Copy link

furmangg commented Mar 3, 2021

Have you downloaded the .js file locally?
#10 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants