HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Common DataFiles, relative filepaths & load agents Messages in this topic - RSS

Richard.
Richard.
Posts: 4


8/4/2022
Richard.
Richard.
Posts: 4
A simplified file structure of what's trying to be achieved:


A working folder is used by several individuals (managed using external source control as necessary) and it's path is specific to each individual.
The working folder contains multiple projects & each project has several tests.

There are some resources (e.g. files to be uploaded during tests) common to all tests & also some common only within specific projects.

In tests, some sessions have parameterised file uploads using datasets e.g.:



When verifying tests in the SS interface the relative path specified in the dataset works as required - i.e.:



Which addresses files relatively, going up 6 folder levels (to the 'common to all' location) then navigates to the common file to be used during the verification.


however when run using load agents this method does not appear to locate the resources used or make them available to the agents when they playback the tests.


We're trying to avoid the same common files (numerous & sometimes large) having to appear in every every test's own DataFiles folder - causing space, duplication, maintenance, versioning, updating & change headaches...


Could you provide a few pointers in relation to how this can be accomplished please.
0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 554


8/9/2022
George @StresStimulus
George @StresStimulus
Administrator
Posts: 554
During a distributed test, the test structure (described https://support.stresstimulus.com/display/doc56/Test+structure) that includes the configuration file and the project folder is synchronized with every load agent.

The files you are trying to synchronize are outside the project folder, they will not be synchronized.

Since you don’t want to use the DataFiles folder, one workaround would be to copy the data files to each load agent manually (keeping the same relative folder structure) before the test. The test structure is stored on the load agent in %MyDocuments%/Fiddler2/StresStimulus/AgentTemp folder


- Cheers
+1 link






Copyright © 2024 Stimulus Technology