Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

File Upload error

$
0
0

Hi,

 

I am facing an issue during replay for a script which is developed to upload an XML file.

Below is uploading request:

 

web_submit_data("upload", 
        "Action=XXX/upload/", 
        "Method=POST", 
        "EncType=multipart/form-data", 
        "TargetFrame=", 
        "RecContentType=application/xml", 
        "Referer=", 
        "Snapshot=t4.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=AA SERP XML Full Mailing.xml", "Value=serp706198098854379739.xml.gz", "File=Yes", ENDITEM, 
        LAST);

 

Error:

Error -26488: Could not obtain information about submitted file "C:\Users\username\Desktop\scriptname\serp706198098854379840.xml.gz"    : _stat32 rc=-1, errno=2 [No such file or directory]. Using an empty file

 

Please help, why script path is recorded as "serp706198098854379739.xml.gz" and solution for this.

 

 

 

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>