Fantastic. I used a text editor and specifically saved the file in UTF-8
encoding.
Also, changed the number of threads to reflect the number of entries in the
file. That seemed to fix the ${smtpaddress} issue.
Thanks you for your help.
Adam
-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2008 8:55 AM
To: JMeter Users List
Subject: Re: CSV data set and HTTP request variables
Possibly - depends on the default encoding you have set up. This is
shown at the start of jmeter.log.
Though on looking at the values a bit closer it looks like the file
itself is in a non-default encoding, perhaps UTF-16.
How did you create the file?
Perhaps try creating another using a plain text editor - not a word-processor.
On 28/11/2008, Adam Schieman <[EMAIL PROTECTED]> wrote:
> None. Which I guess is leading to the issue?
>
>
> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
>
> Sent: Friday, November 28, 2008 8:43 AM
> To: JMeter Users List
> Subject: Re: CSV data set and HTTP request variables
>
> And what "File Encoding" have you used on the CSV Dataset Config element?
>
> On 28/11/2008, Adam Schieman <[EMAIL PROTECTED]> wrote:
> >
> > When I save the results tree to a file, this is what the variable look
> like:
> >
> > name=ÿþN�a�m�e�7�
> >
> smtpaddress=�F�4�B�E�9�3�B�D�-�L�G�U�0�0�0�0�0�7�@�p�s�l�a�b�.�t�e�s�t�n�e�t�.�r�i�m�.�n�e�t�
> >
> >
> >
> > -----Original Message-----
> > From: sebb [mailto:[EMAIL PROTECTED]
> >
> > Sent: Friday, November 28, 2008 8:28 AM
> > To: JMeter Users List
> > Subject: Re: CSV data set and HTTP request variables
> >
> > And what are you seeing for the variable contents?
> >
> >
> > On 28/11/2008, Adam Schieman <[EMAIL PROTECTED]> wrote:
> > >
> > > It is a simple text file. Here are the contents:
> > >
> > > Name7,[EMAIL PROTECTED]
> > > Name3,[EMAIL PROTECTED]
> > > Name0,[EMAIL PROTECTED]
> > > Name2,[EMAIL PROTECTED]
> > > Name6,[EMAIL PROTECTED]
> > > Name1,[EMAIL PROTECTED]
> > > Name8,[EMAIL PROTECTED]
> > > Name4,[EMAIL PROTECTED]
> > > Name5,[EMAIL PROTECTED]
> > >
> > >
> > > -----Original Message-----
> > > From: sebb [mailto:[EMAIL PROTECTED]
> > >
> > > Sent: Friday, November 28, 2008 7:52 AM
> > > To: JMeter Users List
> > > Subject: Re: CSV data set and HTTP request variables
> > >
> > > OK, in that case you need to look at your data file.
> > >
> > > On 28/11/2008, Adam Schieman <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I simplified the test a bit. At this point, I am seeing just the
> > > garbled
> > > > email address in the post.
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: sebb [mailto:[EMAIL PROTECTED]
> > > >
> > > > Sent: Friday, November 28, 2008 7:43 AM
> > > > To: JMeter Users List
> > > > Subject: Re: CSV data set and HTTP request variables
> > > >
> > > > But that does not explain why you are seeing ${smtpaddress} in the
> > > > POST rather than the contents of the variable "smtpaddress" - are
> you
> > > > sure that the variable is defined at the point of use?
> > > >
> > > > e.g. Add a Debug Sampler just before the POST sampler.
> > > >
> > > > On 28/11/2008, Adam Schieman <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Great tip! The variables seem to be read, but they are garbled
> > > with
> > > > > "box" characters in between each letter.
> > > > >
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: sebb [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, November 28, 2008 5:21 AM
> > > > > To: JMeter Users List
> > > > > Subject: Re: CSV data set and HTTP request variables
> > > > >
> > > > > Try adding a Debug Sampler and View Results Tree Listener to show
> > > the
> > > > > variables.
> > > > >
> > > > > On 27/11/2008, Fitzpatrick, Adrian <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > Everything you have described sounds correct to me and I dont
> > > > think
> > > > > you are
> > > > > > missing anything. The order shouldnt matter either. Perhaps
> > > JMeter
> > > > > isnt
> > > > > > picking up your CSV file properly. Maybe check jmeter.log in
> > > the
> > > > > JMeter bin
> > > > > > directory and see if there is any more info there?
> > > > > >
> > > > > > - Adrian
> > > > > >
> > > > > > ************************
> > > > > >
> > > > > > This message has been delivered to the Internet by the Revenue
> > > > > Internet e-mail service (OP)
> > > > > >
> > > > > > *************************
> > > > > >
> > > > > >
> > > >
> ---------------------------------------------------------------------
> > > > > > 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]
> > > > >
> > > > >
> > > > >
> > > > >
> > > ---------------------------------------------------------------------
> > > > > This transmission (including any attachments) may contain
> > > > confidential information, privileged material (including material
> > > > protected by the solicitor-client or other applicable privileges),
> or
> > > > constitute non-public information. Any use of this information by
> > > anyone
> > > > other than the intended recipient is prohibited. If you have
> received
> > > > this transmission in error, please immediately reply to the sender
> > > and
> > > > delete this information from your system. Use, dissemination,
> > > > distribution, or reproduction of this transmission by unintended
> > > > recipients is not authorized and may be unlawful.
> > > > >
> > > > >
> > > > >
> > > ---------------------------------------------------------------------
> > > > > 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]
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > This transmission (including any attachments) may contain
> > > confidential information, privileged material (including material
> > > protected by the solicitor-client or other applicable privileges), or
> > > constitute non-public information. Any use of this information by
> anyone
> > > other than the intended recipient is prohibited. If you have received
> > > this transmission in error, please immediately reply to the sender and
> > > delete this information from your system. Use, dissemination,
> > > distribution, or reproduction of this transmission by unintended
> > > recipients is not authorized and may be unlawful.
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > 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]
> > >
> > >
> > > ---------------------------------------------------------------------
> > > This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from your
> system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be unlawful.
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >
> > ---------------------------------------------------------------------
> > This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from your
> system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be unlawful.
> >
> > ---------------------------------------------------------------------
> > 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]
>
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from your
> system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be unlawful.
>
> ---------------------------------------------------------------------
> 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]
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential
information, privileged material (including material protected by the
solicitor-client or other applicable privileges), or constitute non-public
information. Any use of this information by anyone other than the intended
recipient is prohibited. If you have received this transmission in error,
please immediately reply to the sender and delete this information from your
system. Use, dissemination, distribution, or reproduction of this transmission
by unintended recipients is not authorized and may be unlawful.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]