"Dynamically execute the page resources" is not working


  • I have a script where a webpage has multiple resources attached to it, the resources(js,css,wof, etc.) are not constant and can change both in names and no of resources as well
  •  The option "Dynamically execute the page resources" is not working out as the resource values/links are present in Header in a different format

 Any idea, how we can simulate this dynamically generated requests for resources for a single webpage in replay?

NOTE: The application is web based

2 replies

Userlevel 1
Badge +1

Hello, when you enabled the “"Dynamically execute the page resources" option in a page the resources (maybe not all of them like wof ones) will be greyed out meaning that NeoLoad will not execute these static requests but find them in the HTML response when possible.

Only resources that are defined in the HTML code can be retrieved. It means that all resources created by Javascripts or CSS won’t be retrieved.

In that case you can enable back some of the requests if they can’t be retrieved automatically.

That being said what do you mean by “the resource values/links are present in Header in a different format”? Do you have detailed examples?

Hi, I understand you, if my resources are dynamic and they are available in below format in HTML file(as headers of response), how can we simulate them?[Highlighted are the resources]

HTTP/2.0 200
content-type: text/html
cache-control: private, max-age=300
content-encoding: br
date: Wed, 15 May 2024 06:54:38 GMT
link: <./_app/immutable/assets/ghcgv.css>; rel="preload";as="style"; nopush, <./_app/immutable/assets/bhjhkjhg.css>; rel="preload";as="style"; nopush; 
// other headers

<!doctype html>
<html lang="en-ca">
    // Html Body