I am currently working on a Single Page Application (SPA).
My main objective is to evaluate the performance of the application using .
Given that the application is an SPA, I want to simulate a scenario where all static content is loaded when a user first opens the application in their browser. Specifically, during the initial request within the artillery
scenarios, I anticipate that all resources such as html
, js
, and css
files will be retrieved.
One approach would be to manually list all the GET
calls made when loading these resources. However, considering that js
files use versioning, it would require updating file names whenever a new version is released.
Is there a way to mimic browser behavior within test scenarios? For instance, can all dependencies be automatically loaded when the html page is accessed?