I still receive an EOF issue, am I doing something wrong with the source
file? I assume since I get an EOF it can't read the 1.docx,2.docx located
in the FileUpload.csv?

Thanks for the help so far man, and fast replies as well ;O

On Mon, Jun 25, 2012 at 11:01 AM, sebb <seb...@gmail.com> wrote:

> On 25 June 2012 09:22, Dean Lozo <dean.l...@gmail.com> wrote:
> > I tried your suggestion and I can't seem to get it to work. I assume I am
> > doing something wrong somewhere. The current setup looks like this:
> > http://i.imgur.com/kz9zR.png
> >
> > The error that it returns to me is C:\Test Data\<EOF> (The filename,
> > directory name, or volume label syntax is incorrect)
> >
> > If I don't use double backslash (which I believe is wrong due to the $)
> in
> > filepath it returns: C:\Test Data\${DATA} (The system cannot find the
> file
> > specified)
>
> Use / instead of \.
>
> > Hope you can help
> > Dean
> >
> > On Fri, Jun 22, 2012 at 2:52 PM, sebb <seb...@gmail.com> wrote:
> >
> >> On 22 June 2012 12:17, Dean Lozo <dean.l...@gmail.com> wrote:
> >> > Hey
> >> >
> >> > Since my Cookie issue got helpful responses that helped me resolve the
> >> > issue, and some future ones. I decided to post here again. (Gotten far
> >> > since last time!). I am only missing one more thing for me to be happy
> >> with
> >> > the load testing. I need a way to upload a random file every time the
> >> > Upload POST reques is run. I tried cheating by simply changing the
> >> > "filename" value in the post, sadly this was a no go. I figured this
> was
> >> a
> >>
> >> It should work. What exactly did not work?
> >>
> >> Using CSV Data Set Config with HTTP POST works fine for me.
> >>
> >> I set up a CSV file with 2 columns: name and path-name
> >>
> >> CSV DataSet
> >> - recycle on EOF: false
> >> - stop thread on EOF: true
> >> - variable names: NAME, PATH
> >>
> >> Then use ${PATH} in the File Path field and ${NAME} in the Parameter
> >> Name field of the "Send Files with Request" section.
> >>
> >> This works fine for me.
> >>
> >> > comming issue and started googling around. I stumbled upon a thread
> that
> >> > seems to do what I want to:
> >> >
> >>
> http://stackoverflow.com/questions/8046447/testing-load-document-functionality-with-jmeter/8048644#8048644
> >>
> >> Seems to be using BeanShell to generate a list of files at run-time.
> >> Much better to do this before starting the test - or if it does have
> >> to be done at run-time, that's work for a setUp thread group.
> >>
> >> But not necessary for your case, and seems to be unnecessarily
> >> complicated, even without the BeanShell sampler.
> >>
> >> > I
> >> > am new to JMeter i have little experience with JMeter and struggling
> to
> >> > make sense out of javascript in the example. I understand the Java in
> the
> >> > BeanShell. I can't find where the path for the folder location is
> >> defined.
> >> > Is that sent in from JMeter? I also receive an error saying that the
> >> > "C:\Program Files
> >> > (x86)\apache-jmeter-2.7\bin\bsh\generate-content-list.bsh" could be
> >> located.
> >> >
> >> > This is obviously something big to dive into at once with only a
> couple
> >> of
> >> > hours of JMeter experience. Does anyone have a simpler approach or a
> >> > "guide" with more detail explenations? I would greatly appreciate it,
> I
> >> > want to learn it as well. Not just copy paste and tinker like i am
> doing
> >> > now (well that is a way of learning)
> >> >
> >> > Cheers
> >> > Dean
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> >> For additional commands, e-mail: user-h...@jmeter.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>
>

Reply via email to