Thanks Philippe, Evandro for your reply. @Philippe: In DocPath variable I have specified a path as : D:\JMeterScripts\Profile\Test Data\DOC.txt. I have verified that in Debug sampler also it this variable shows me the correct path and the file also in the following request.
@Evandro: Even though I add that file in the bin folder then I just specified the path as D:\jakarta-jmeter-2.4\bin\DOC.txt. Then also system is showing the same error message as previous one. :( Thanks, Shirish On Fri, Nov 18, 2011 at 8:37 PM, Philippe Mouawad < [email protected]> wrote: > Hello, > What does ${DocPath} contains ? can you give a data example ? is your path > relative or absolute ? > > If relative then it may be the issue > Add a Debug Sampler before your HttpSampler and check the value of the > path. > > Regards > Philippe > Ubik-Ingenierie > http://www.ubik-ingenierie.com > > On Fri, Nov 18, 2011 at 3:49 PM, Evandro Grezeli > <[email protected]>wrote: > > > Hi, > > > > Try the following work around: > > > > Put the file at the bin folder of you jmeter, execute again the test. > Once > > i had that problem (2.4 version) and when i put it on the bin folder it > > worked for me. > > > > []s > > > > On Fri, Nov 18, 2011 at 12:34 PM, Shirish <[email protected] > > >wrote: > > > > > Hello All, > > > > > > I am stuck in a situation where in I need to upload a different > document > > at > > > every time in particular scenario, and for which in my script I have > > > provided the Document path to the my HTTP request as > > > File Path: ${DocPath} > > > Parameter Name: File > > > MIME Type: text/plain > > > under the tab Send Files with the request. But system is not able to > > upload > > > that document and displaying the error message as "HTTP Error 404 - > File > > > Not Found". > > > > > > Please suggest, am I mistaking anywhere in this. > > > > > > Thanks in advance, > > > Shirish > > > > > > > > > > > -- > > Atenciosamente > > Regards > > Evandro Grezeli de B. Neves > > > > > > -- > Cordialement. > Philippe Mouawad. >
