jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shirish <shirish.ganje...@gmail.com>
Subject Re: Reg: File Upload Functionality
Date Fri, 18 Nov 2011 15:34:19 GMT
:(
Still of no use. I have tried
D:\\JMeterScripts\\Profile\\Test Data\\DOC.txt wrote in my CSV file and
provided that variable to my HTTP request.
Hard Coded

But still system shows File Not found.

Please Help.

Shirish



On Fri, Nov 18, 2011 at 8:48 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Try this:
> D:\\JMeterScripts\\Profile\\Test Data\\DOC.txt
>
> If it fails maybe try to file a bug and attach :
>
>   - Your JMX file simplified
>   - Your CSV file
>   - If possible a public available website URL
>   - The version of JMeter used
>   - The version of Java
>
> Regards
>
> Philippe
> Ubik-Ingenierie
> http://www.ubik-ingenierie.com
> On Fri, Nov 18, 2011 at 4:12 PM, Shirish <shirish.ganjewar@gmail.com>
> wrote:
>
> > 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 <
> > philippe.mouawad@gmail.com> 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
> > > <grezeli.evandro@gmail.com>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 <
> shirish.ganjewar@gmail.com
> > > > >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.
> > >
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message