Highlighted
Contributor.
Contributor.
1868 views

Uploading test files using Performance Center

I have a LR script that uploads random files out of a directory. How is this done so that I can use Performance Center?

Do I include the folder in the VUGen script folder and then change the path in the script?

 

Submit form value:

"Name=addAttachmentForm:uploader", "Value=C:\\TestFiles\\RndFileNumber.txt", "File=yes", ENDITEM,

 

 

P.S. This thread has been moved from LoadRunner Support Forum to Performance Center Support and News Forum . - Hp Forum Moderator

0 Likes
1 Reply
Highlighted
Honored Contributor.
Honored Contributor.

Re: Uploading test files using Performance Center

  1. You can add files in your script using "Add Files to script" option. This option you will get by right clicking on "Extra File" present in solution explorer.

 

After adding files you can use name of the file in the script.

 

e.g.

 

Submit form value:

"Name=addAttachmentForm:uploader", "Value=RndFileNumber.txt", "File=yes", ENDITEM,

 

2.  If file size is very large then you can place file on Load Generator and provide the same path in the script.

Regards,
Gagandeep Malviya

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.