Thanks for letting us know the solution.
I think this has happened to others as well, so perhaps it would be
useful to enhance the function to ignore leading spaces for the column
variable...
S.
On Apr 8, 2005 11:11 AM, Daniel Browne <[EMAIL PROTECTED]> wrote:
> Nice one. I really should have looked in the log file - shame on me!
>
> Removing the space before the column index in the function call worked.
>
> So change:
>
> JMUSER: ${__CSVRead(Q:/jmeter/portal/users.txt, 0)}
>
> to
>
> JMUSER: ${__CSVRead(Q:/jmeter/portal/users.txt,0)}
>
> Thanks,
> Daniel.
>
> sebb wrote:
>
> > Any messages in the jmeter.log file?
> >
> > Might also be worth trying 2.0.3, as has various fixes and better
> > error reporting.
> >
> > S.
> > On Apr 8, 2005 10:47 AM, Daniel Browne <[EMAIL PROTECTED]> wrote:
> >
> >>Hi,
> >>
> >>Firstly, JMeter is great tool, so thanks to all responsible for bringing
> >>this product together.
> >>
> >>I have read the user manual through and have searched the mail list
> >>archive (is there any way to search the whole archive in a oner?),
> >>however I can't see what's going wrong here.
> >>
> >>I'm using JMeter 2.02.
> >>
> >>Like many people, I want to read a list of users and passwords from a
> >>file to use as values later on in the test for logging on to a website.
> >>
> >>So in my thread group I have a "User Parameter" component that has:
> >>
> >>JMUSER: ${__CSVRead(Q:/jmeter/portal/users.txt, 0)}
> >>JMPASS: ${__CSVRead(Q:/jmeter/portal/users.txt, 1)}
> >>DUMMY: ${__CSVRead(Q:/jmeter/portal/users.txt, next())}
> >>
> >>Then in one of my HTTP requests for logging in, I use "${JMUSER}" and
> >>"${JMPASS}" (without the quotes) in the "Value" column using the POST
> >>method. However, by looking at the request data I can see that the
> >>values are empty.
> >>
> >>Replacing the functions calls in the "User Parameters" with actual
> >>values works so I have narrowed down the problem to the use of the
> >>__CSVRead() function.
> >>
> >>Any ideas?
> >>
> >>Cheers,
> >>Daniel.
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]