jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darrin Hammer" <dham...@mylife.com>
Subject RE: CSV Linux and variables
Date Mon, 27 Jul 2009 18:09:46 GMT
The files appears never to be accessed, the only things that are passed
into the fields are the literal strings ${userName}, ${password}. When
run from Windows the usernames and passwords from the files are pulled
from the file correctly. When run from Linux the data does not pass so
users do not login.

Regards,

Darrin Hammer
Senior Quality Assurance Engineer
310-571-3144 x 118


-----Original Message-----
From: Deepak Shetty [mailto:shettyd@gmail.com] 
Sent: Monday, July 27, 2009 11:08 AM
To: JMeter Users List
Subject: Re: CSV Linux and variables

seems ok, whats not working?
regards
deepak

On Mon, Jul 27, 2009 at 10:08 AM, Darrin Hammer <dhammer@mylife.com>
wrote:

> Have attempted multiple paths for the location of csv file to no
avail.
> Ensured that the Java versions are the same on both OS's. I've
included
> 2 segments of the jmeter log that might aid in an answer.
>
> 1) 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result:
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.TestElementProperty:
> userName=${userName}&password=${password}&dispatch=logon&fromURL=
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.CollectionProperty:
> [userName=${userName}, password=${password}, dispatch=logon, fromURL=]
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.TestElementProperty:
> userName=${userName}
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: ${userName}
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: ${userName}
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: userName
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: userName
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: =
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: =
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.BooleanProperty: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: Won't
> replace true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: userName=${userName}
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.TestElementProperty:
> password=${password}
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: ${password}
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: ${password}
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: password
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: password
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: =
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: =
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.StringProperty: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.BooleanProperty: true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: Won't
> replace true
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer:
> Replacement result: password=${password}
> 2009/07/24 15:12:53 DEBUG - jmeter.engine.util.ValueReplacer: About to
> replace in property of type: class
> org.apache.jmeter.testelement.property.TestElementProperty:
> dispatch=logon
>
> 2) "jmeter.log" 32051L, 6809074C
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.String:
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.String:
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.String:
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
<-"True"
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
<-"True"
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
<-"True"
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor: <-"All
> threads"
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.String:HTTPsUP.csv
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.String:
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.String:userName,password
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.String:,
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.Boolean:false
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.Boolean:true
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.Boolean:false
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> <-java.lang.String:All threads
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> ->java.lang.String:HTTPsUP.csv
> 2009/07/24 15:12:37 DEBUG -
> jmeter.testbeans.gui.GenericTestBeanCustomizer: Set filename=
> HTTPsUP.csv
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> ->java.lang.String:
> 2009/07/24 15:12:37 DEBUG -
> jmeter.testbeans.gui.GenericTestBeanCustomizer: Set fileEncoding=
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> ->java.lang.String:userName,password
> 2009/07/24 15:12:37 DEBUG -
> jmeter.testbeans.gui.GenericTestBeanCustomizer: Set variableNames=
> userName,password
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> ->java.lang.String:,
> 2009/07/24 15:12:37 DEBUG -
> jmeter.testbeans.gui.GenericTestBeanCustomizer: Set delimiter= ,
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> ->java.lang.Boolean:false
> 2009/07/24 15:12:37 DEBUG -
> jmeter.testbeans.gui.GenericTestBeanCustomizer: Set quotedData= false
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> ->java.lang.Boolean:true
> 2009/07/24 15:12:37 DEBUG -
> jmeter.testbeans.gui.GenericTestBeanCustomizer: Set recycle= true
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> ->java.lang.Boolean:false
> 2009/07/24 15:12:37 DEBUG -
> jmeter.testbeans.gui.GenericTestBeanCustomizer: Set stopThread= false
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.WrapperEditor:
> ->java.lang.String:All threads
> 2009/07/24 15:12:37 DEBUG -
> jmeter.testbeans.gui.GenericTestBeanCustomizer: Set shareMode= All
> threads
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.TestBeanGUI: Modify
> filename to HTTPsUP.csv
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.TestBeanGUI: Modify
> fileEncoding to
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.TestBeanGUI: Modify
> variableNames to userName,password
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.TestBeanGUI: Modify
> delimiter to ,
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.TestBeanGUI: Modify
> quotedData to false
> 2009/07/24 15:12:37 DEBUG - jmeter.testbeans.gui.TestBeanGUI: Modify
> recycle to true
>
> Regards,
>
> Darrin Hammer
> Senior Quality Assurance Engineer
> 310-571-3144 x 118
>
>
> -----Original Message-----
> From: Deepak Shetty [mailto:shettyd@gmail.com]
> Sent: Monday, July 27, 2009 9:44 AM
> To: JMeter Users List
> Subject: Re: CSV Linux and variables
>
> The only problem should be the file name / location of your CSV file
> (also
> check the java version on your linux )
> What does jmeter log file say?
> regards
> deepak
>
> On Mon, Jul 27, 2009 at 9:34 AM, Darrin Hammer <dhammer@mylife.com>
> wrote:
>
> > Hi,
> >
> >
> >
> > Trying to use Jmeter Gui on Linux OS. Application not reading
> variables
> > correctly. Script works fine in windows. Hoping someone else out
there
> > has worked through this before.
> >
> >
> >
> > Regards,
> >
> >
> >
> > Darrin
> >
> >
> >
> >
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message