Usage of resources block for dynamic resources in HTTP?

Hello Everyone,

I’m simulating an SPA where it loads a lot of static and dynamic resources when home page is accessed, which are both static and dynamic.

Upon recording, I observed that in resources block, there are some dynamic requests as well.

If I understand Gatling resources right, resources block introduces parallelism to our sequential exec() blocks. Therefore it makes sense to keep static resources such as .js, .css, .json in resources block. However, I feel a request which is dynamic, of which I’m observing the response time should be in a separate exec block.

When I run the simulation, in the result, I did not observe any difference for a request when it was in a resources block and when it was a separate request with its own exec block

So I have the following questions:

  1. Does keeping a dynamic request under resources block make any difference? If yes, how?
  2. What is the best practice/recommendation?