Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: Load Runner :Script in VuGen Works but that fails in Controller (File Upload Problem)

$
0
0

Hello,

 

Try this and let me know if it works:

 

  • Create Random parameter with name “RND”
  • Add this in vuser_init() action

vuser_init()

{

char buf[512];

sprintf(buf,"%s%s%s","E:\\test\\",lr_eval_string("{RND}"),"_DPB-05_v2.xlsx"); // change the file path to save file

lr_save_string(buf,"FileName");

return 0;

}

  • Download Action.c from attachment

 

Try to run this script in controller. Script is working fine at my end.

 

Thanks,

Deepak

Loadrunnertips.com

 


Viewing all articles
Browse latest Browse all 12134

Trending Articles



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