Current time: 08-21-2018, 02:54 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to ensure that test continues until the page is done loading
01-05-2018, 08:12 PM
Post: #1
Question how to ensure that test continues until the page is done loading
The page I am testing is an SPA and relies heavily on Javascript for rendering. Is there a way to configure WPT to wait until all JS scripts are done executing? It seems that with the default settings WPT in IE11 ends the tests way too early.

Here is an example:
The URL under test is https://bakery-flow-spring-perf.app.fi/login

When run with the default settings the tests end at around 2 seconds while the JS evaluation is still going on.
[Image: Screen_Shot_2018_01_05_at_12_07_38.png]
Full test report: https://www.webpagetest.org/result/18010...f19fa774e/

When run with minimum test running time set to 10 seconds (as suggested in another thread on this forum) the results are as expected.
[Image: Screen_Shot_2018_01_05_at_12_05_50.png]
Full test report: https://www.webpagetest.org/result/18010...0e3527682/
Find all posts by this user
Quote this message in a reply
01-08-2018, 04:57 AM
Post: #2
RE: how to ensure that test continues until the page is done loading
Unless there is a way to wait until CPU usage is less than x % for y seconds, you could ask the devs to trigger some "keep-alive" requests.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)