Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Absent Member.. Lavneesh Absent Member..
Absent Member..
2764 views

Unable to upload file while executing scenario from Load Runner Controller

Jump to solution

Hi,

I have created a VUGen script which is uploading a .xls file in the application. I have tried placing the file in "c:" drive and on the network path and both work fine from Vugen. After that I uploaded the VUGen test to ALM using the "All Files Mode" and then created a Controller scenario using the script from ALM. Now when I an running this scenario from Controller I am getting errors on the "web_submit_data" statement which is uploading the file.
The errors are:
1)Action.c(53): Error -26499: Internal Error - Pending in-function resources (EXTRARES) have not been handled (detected in fvLrwScriptApiCleanupUnhandledRemnants)
2)Action.c(53): Error -26488: Could not obtain information about submitted file "c:\CartUpload.xls": _stat32 rc=-1, errno=2 [No such file or directory]. Using an empty file

The upload file is kept at the same location on the controller system as well.

I am using Load Runner 11.52. Controller is installed on Windows Server 2008 machine.
Thanks for helping.

 

0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

Re: Unable to upload file while executing scenario from Load Runner Controller

Jump to solution

Hi Lavneesh, 

 

Are you using the Controller as a load generator?

You should put the files on the same path on all load generators machines which will be used in the scenario, so that these files can be found when the script is executed on each of the load generator machines. 

 

Kind regards, 

Vesela

HPE Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution and give Kudos to the author for their assistance.

View solution in original post

0 Likes
4 Replies
Micro Focus Expert
Micro Focus Expert

Re: Unable to upload file while executing scenario from Load Runner Controller

Jump to solution

Hi Lavneesh, 

 

Are you using the Controller as a load generator?

You should put the files on the same path on all load generators machines which will be used in the scenario, so that these files can be found when the script is executed on each of the load generator machines. 

 

Kind regards, 

Vesela

HPE Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution and give Kudos to the author for their assistance.

View solution in original post

0 Likes
Absent Member.. Lavneesh Absent Member..
Absent Member..

Re: Unable to upload file while executing scenario from Load Runner Controller

Jump to solution

Hi vmanolova,

 

Thanks for the response.

I am not using the controller as a load generator. So if I am uploading it from "c:" drive then I should put the file on all the load generators. But I am getting the same error even when I am uploading it from a shared location which is accessible from all the load generators.

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Unable to upload file while executing scenario from Load Runner Controller

Jump to solution

Hi,

 

It is not recommended to use a shared drive in this case as it will lead to additional network communication and some delays.

However if you need to use a shared drive you should map it using the same letter for all load generators for example 'F'.

Please change the VuGen script accordingly and check if it is working from VuGen first.

 

Please also review the following document:

http://support.openview.hp.com/selfsolve/document/KM172874

 

Kind regards,

HPE Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution and give Kudos to the author for their assistance.
0 Likes
Absent Member.. Lavneesh Absent Member..
Absent Member..

Re: Unable to upload file while executing scenario from Load Runner Controller

Jump to solution

Thanks a ton man, it worked.

Although it didn't work after mapping a network drive with the shared path, it still gave the same error.

Then I copied the file in c: drives of every load generator and it worked.

0 Likes
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.