Use relative path. Place the file at a location accessible in network or place in lg directly.
-A
Hi All,I face an issue while running a script in performance center which has upload a filethe code I have used is ""Name=attachments", "Value=test.pdf", "File=yes", ENDITEM, "In vugen I keep the file in the same script folder and it works fine.But when I upload the file in PC11(zip all files from the folder not only runtime settings) and run I get an error saying "could not obtain information about the file c://tmp//brr_rmee.250....."Clearly I understand that the file is not copied to the load generator and the PC is not able to find the file.Can anyone help me with this?PS: However scripts works fine when I specify the path and save the file in the Load Generator. I just want to know why this method doesnt work with PCThanks--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
File->Add Files to Script
From: LR-Loa...@googlegroups.com [mailto:LR-Loa...@googlegroups.com] On Behalf Of joel
Sent: Tuesday, May 07, 2013 10:37 PM
To: LR-Loa...@googlegroups.com
Subject: Re: error in upload a file script in Performance centre
By include file I guess you mean attach the file separately with the script in the attachment section. If that so I tried attaching the file(zipped and non zipped) and it dint work .The Controller dint transfer the file to the LG where it is trying to find. Am I doing something wrong?
Yes I have seen issue with uploading the the file with same name (doesn't matter with content and size) by a huge number of virtual users at the same time (verified by rendezvous point). So I change the uploading file to different names by parameterizing (with same content and size) and there was no issue with any of the users.
However I wanted to know the reason for this behavior but was denied by the client saying this situation would not occur where 100 users uploading the same file with same name at the same time.
I believe this would be a break in production too if any such scenario occur.
PS: The error was just " Unable to Upload the file" . Where as this dint apear when file name was changed
That worked. Don't know How I missed that one. Need to brush up things.Thanks