This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Accessing shared folder .dat files

We leverage accessing a shared folder of dat files for multiple scripts using the ..\shared\<datfilename>.dat and utilise Unique Once (and/or block size) to allow for a single data file with a set of test data to be maintained in one place and have mutliple scripts access that file.

This principal works fine in vugen however when uploading to LR Cloud, shared folder has been zipped and linked to all scripts yet the scripts are unable to find the dat files.

Any one aware if this is even feasible in LR Cloud or any work arounds where the centralised dat file can be maintained and leveraged by multiple scripts?

  • 0  

    Dear Stephen,

    1. I suggest to open the support ticket to further validate your script
    2. LRC has the function called "Data files" that you can manage the file in one single place
    The concept of Data files should be very similar to shared folder in on-premise with no access constraint to the local shared folder.

    For more information, please refer to the following link:
    admhelp.microfocus.com/.../Data-Files.htm

    Regards,
    Kate

  • 0 in reply to   

    Thanks I already have but wanted to check in the community in case anyone had any existing experience.  Seems they are really limiting shared functionality with "Data files associated with a script will be deployed on load generator machines at runtime and extracted into the script's folder." which implies all scripts have to reference local dat files, which would be a considerable overhead for local vugen validation of scripts. Hopefully support can work with me to figure it out.

  • 0   in reply to 

    Dear Stephen,

    I understand what you mean now.

    When you edit the script, you can refer to shared folder to consume any external shared files.
    Before you upload to LRC, please remove the shared folder path and remain only dat filename.
    After that, you can zip and upload your script to LRC.

    Please ensure that dat filename in the LRC's data file should be the same mentioned in your script.
    Hope this work from your side as well.

    Regards,
    Kate

  • 0 in reply to   

    Seems counter intuitive to allow a shared setup with LR Professional that does not work in LRC.  Given that we have over 100+ scripts leveraging this shared functionality its a bit of a maintenance nightmare and removes modularisation and efficiency.  We can of course move to local files but then we have to update 100+ copies of those files every time we want to validate in vugen before we even upload to LRC.

    I will raise this for possible future update as seems like a relatively simple update that would maintain the ability to leverage such an important feature of LR Professional.

    Appreciate the response.

    Regards,

    Stephen