You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2010/02/26 12:41:14 UTC
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>
> Hi,
>
>
> I have one txt file where list of values are present.
>
> i m using the following line of tag in JMX file get the value from txt file
> and set it in variable name.
> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="CSV
> Data Set Config" enabled="true">
> <stringProp name="filename">SampleGuidFile.txt</stringProp>
> <stringProp name="fileEncoding"></stringProp>
> <stringProp name="variableNames">guid</stringProp>
> <stringProp name="delimiter"></stringProp>
> <boolProp name="recycle">false</boolProp>
> <boolProp name="stopThread">false</boolProp>
> <boolProp name="quotedData">false</boolProp>
> <stringProp name="shareMode">All threads</stringProp>
> </CSVDataSet>
>
> while executing the script. the value from a text file is not set in
> variable . i have configured 4 threads.
> It would be great if any one helps.
Are there any errors in the jmeter.log file?
What happens if you change the filename to something that does not exist?
Does this cause an error, i.e. was the CSV Dataset element being invoked?
How do you know that the variable is not being set?
Have you used the Debug Sampler to show variables?
> Thanks
>
>
>
> --
> View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by sebb <se...@gmail.com>.
On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>
> Hi,
> I have checked the CSVDataset is enabled only.
> I m using jmeter2.3 version..is it supported in 2.3 version???
>
If it appears in the GUI, then it is supported.
If you really are using JMeter 2.3, then that is very old (Sep 2007)
I suggest you upgrade to 2.3.4.
>
>
> sebb-2-2 wrote:
> >
> > If the element is disabled, it will be shown in grey.
> >
> > To change the setting, select the element and use right-click.
> >
> >
> > On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
> >>
> >> pl tell me Where i have to check wether the csvdataset is enabled or
> >> not.
> >>
> >>
> >>
> >> sebb-2-2 wrote:
> >> >
> >> > On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> I have tried with following tree structure what u have send in mail
> >> >> thread
> >> >> TestPlan
> >> >> - Threadgroup
> >> >> - userparameter
> >> >> - mycounter
> >> >>
> >> >> - HTTP header Manger
> >> >> - CSV Data Set Config
> >> >> - SOAP/XML RPC Request
> >> >>
> >> >>
> >> >> Still value from the text file not flowing dynamically to the soap
> >> >> request.
> >> >> and also i have tried by puttting full path name of text file in
> >> csvdata
> >> >> set
> >> >> Config. But no luck.
> >> >>
> >> >> If i give wrong file name in CSVDataset Config, i am not seeing any
> >> >> error in
> >> >> jmeter log file.
> >> >
> >> > Are you sure?
> >> >
> >> > If so, then check that CSV Dataset element is enabled.
> >> >
> >> >> CSV DataSet Config:
> >> >> ================
> >> >>
> >> >> filename : full path of file
> >> >> variable name : abc
> >> >> allow quoted data : false
> >> >> recycle on EOF : false
> >> >> Stop thead on EOF: false
> >> >> Sharing mode :All threads.
> >> >>
> >> >> So please guide me on how to run this testplan.
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> sebb-2-2 wrote:
> >> >> >
> >> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
> >> >> >>
> >> >> >> Thanks for ur reply.
> >> >> >>
> >> >> >> I didnt see any errors in jmeter.log file.
> >> >> >>
> >> >> >> when i changed to unknown file name in csvdataset , still the
> >> script
> >> >> >> runs
> >> >> >> but not loading the value dynamically in soap request and also
> >> not
> >> >> >> throwing
> >> >> >> error.
> >> >> >>
> >> >> >> I have made my config in jmeter as follows
> >> >> >>
> >> >> >> TestPlan
> >> >> >> - Threadgroup
> >> >> >> - userparameter
> >> >> >> - SOAP/XML RPC Request
> >> >> >> - HTTP header Manger
> >> >> >> - CSV Data Set Config
> >> >> >>
> >> >> >> It would be great if u give any pointers..
> >> >> >>
> >> >> >
> >> >> > Try the following layout:
> >> >> >
> >> >> > TestPlan
> >> >> > - Threadgroup
> >> >> > - userparameter
> >> >> > - HTTP header Manger
> >> >> > - CSV Data Set Config
> >> >> > - SOAP/XML RPC Request
> >> >> >
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> sebb-2-2 wrote:
> >> >> >> >
> >> >> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
> >> >> >> >>
> >> >> >> >> Hi,
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> I have one txt file where list of values are present.
> >> >> >> >>
> >> >> >> >> i m using the following line of tag in JMX file get the
> >> value
> >> >> from
> >> >> >> txt
> >> >> >> >> file
> >> >> >> >> and set it in variable name.
> >> >> >> >> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet"
> >> >> >> testname="CSV
> >> >> >> >> Data Set Config" enabled="true">
> >> >> >> >> <stringProp
> >> >> name="filename">SampleGuidFile.txt</stringProp>
> >> >> >> >> <stringProp name="fileEncoding"></stringProp>
> >> >> >> >> <stringProp name="variableNames">guid</stringProp>
> >> >> >> >> <stringProp name="delimiter"></stringProp>
> >> >> >> >> <boolProp name="recycle">false</boolProp>
> >> >> >> >> <boolProp name="stopThread">false</boolProp>
> >> >> >> >> <boolProp name="quotedData">false</boolProp>
> >> >> >> >> <stringProp name="shareMode">All
> >> threads</stringProp>
> >> >> >> >> </CSVDataSet>
> >> >> >> >>
> >> >> >> >> while executing the script. the value from a text file is
> >> not
> >> >> set in
> >> >> >> >> variable . i have configured 4 threads.
> >> >> >> >> It would be great if any one helps.
> >> >> >> >
> >> >> >> > Are there any errors in the jmeter.log file?
> >> >> >> >
> >> >> >> > What happens if you change the filename to something that does
> >> not
> >> >> >> exist?
> >> >> >> > Does this cause an error, i.e. was the CSV Dataset element
> >> being
> >> >> >> invoked?
> >> >> >> >
> >> >> >> > How do you know that the variable is not being set?
> >> >> >> > Have you used the Debug Sampler to show variables?
> >> >> >> >
> >> >> >> >> Thanks
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> View this message in context:
> >> >> >> >>
> >> >> >>
> >> >>
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
> >> >> >> >> Sent from the JMeter - User mailing list archive at
> >> Nabble.com.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> >> 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
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
> >> >> >>
> >> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> >> 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
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >>
> >> >> View this message in context:
> >> >>
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767015.html
> >> >>
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> ---------------------------------------------------------------------
> >> >> 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
> >> >
> >> >
> >> >
> >>
> >> --
> >>
> >> View this message in context:
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767111.html
> >>
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
> >
> >
>
> --
>
> View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767184.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by ragu5050 <ra...@gmail.com>.
Hi,
I have checked the CSVDataset is enabled only.
I m using jmeter2.3 version..is it supported in 2.3 version???
sebb-2-2 wrote:
>
> If the element is disabled, it will be shown in grey.
>
> To change the setting, select the element and use right-click.
>
>
> On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>>
>> pl tell me Where i have to check wether the csvdataset is enabled or
>> not.
>>
>>
>>
>> sebb-2-2 wrote:
>> >
>> > On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>> >>
>> >> Hi,
>> >>
>> >> I have tried with following tree structure what u have send in mail
>> >> thread
>> >> TestPlan
>> >> - Threadgroup
>> >> - userparameter
>> >> - mycounter
>> >>
>> >> - HTTP header Manger
>> >> - CSV Data Set Config
>> >> - SOAP/XML RPC Request
>> >>
>> >>
>> >> Still value from the text file not flowing dynamically to the soap
>> >> request.
>> >> and also i have tried by puttting full path name of text file in
>> csvdata
>> >> set
>> >> Config. But no luck.
>> >>
>> >> If i give wrong file name in CSVDataset Config, i am not seeing any
>> >> error in
>> >> jmeter log file.
>> >
>> > Are you sure?
>> >
>> > If so, then check that CSV Dataset element is enabled.
>> >
>> >> CSV DataSet Config:
>> >> ================
>> >>
>> >> filename : full path of file
>> >> variable name : abc
>> >> allow quoted data : false
>> >> recycle on EOF : false
>> >> Stop thead on EOF: false
>> >> Sharing mode :All threads.
>> >>
>> >> So please guide me on how to run this testplan.
>> >>
>> >>
>> >>
>> >>
>> >> sebb-2-2 wrote:
>> >> >
>> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>> >> >>
>> >> >> Thanks for ur reply.
>> >> >>
>> >> >> I didnt see any errors in jmeter.log file.
>> >> >>
>> >> >> when i changed to unknown file name in csvdataset , still the
>> script
>> >> >> runs
>> >> >> but not loading the value dynamically in soap request and also
>> not
>> >> >> throwing
>> >> >> error.
>> >> >>
>> >> >> I have made my config in jmeter as follows
>> >> >>
>> >> >> TestPlan
>> >> >> - Threadgroup
>> >> >> - userparameter
>> >> >> - SOAP/XML RPC Request
>> >> >> - HTTP header Manger
>> >> >> - CSV Data Set Config
>> >> >>
>> >> >> It would be great if u give any pointers..
>> >> >>
>> >> >
>> >> > Try the following layout:
>> >> >
>> >> > TestPlan
>> >> > - Threadgroup
>> >> > - userparameter
>> >> > - HTTP header Manger
>> >> > - CSV Data Set Config
>> >> > - SOAP/XML RPC Request
>> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> sebb-2-2 wrote:
>> >> >> >
>> >> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>> >> >> >>
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >>
>> >> >> >> I have one txt file where list of values are present.
>> >> >> >>
>> >> >> >> i m using the following line of tag in JMX file get the
>> value
>> >> from
>> >> >> txt
>> >> >> >> file
>> >> >> >> and set it in variable name.
>> >> >> >> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet"
>> >> >> testname="CSV
>> >> >> >> Data Set Config" enabled="true">
>> >> >> >> <stringProp
>> >> name="filename">SampleGuidFile.txt</stringProp>
>> >> >> >> <stringProp name="fileEncoding"></stringProp>
>> >> >> >> <stringProp name="variableNames">guid</stringProp>
>> >> >> >> <stringProp name="delimiter"></stringProp>
>> >> >> >> <boolProp name="recycle">false</boolProp>
>> >> >> >> <boolProp name="stopThread">false</boolProp>
>> >> >> >> <boolProp name="quotedData">false</boolProp>
>> >> >> >> <stringProp name="shareMode">All
>> threads</stringProp>
>> >> >> >> </CSVDataSet>
>> >> >> >>
>> >> >> >> while executing the script. the value from a text file is
>> not
>> >> set in
>> >> >> >> variable . i have configured 4 threads.
>> >> >> >> It would be great if any one helps.
>> >> >> >
>> >> >> > Are there any errors in the jmeter.log file?
>> >> >> >
>> >> >> > What happens if you change the filename to something that does
>> not
>> >> >> exist?
>> >> >> > Does this cause an error, i.e. was the CSV Dataset element
>> being
>> >> >> invoked?
>> >> >> >
>> >> >> > How do you know that the variable is not being set?
>> >> >> > Have you used the Debug Sampler to show variables?
>> >> >> >
>> >> >> >> Thanks
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
>> >> >> >> Sent from the JMeter - User mailing list archive at
>> Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> >> 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
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
>> >> >>
>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> 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
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >>
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767015.html
>> >>
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------
>> >> 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
>> >
>> >
>> >
>>
>> --
>>
>> View this message in context:
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767111.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
--
View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767184.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by Viswanathan Arunachalam <v....@auckland.ac.nz>.
Try this setup and also remember the CSV Data source Filename path should be correct .
[cid:image001.png@01CABB95.A84FBE40]
-----Original Message-----
From: ragu5050 [mailto:ragunath.4s@gmail.com]
Sent: Thursday, March 04, 2010 1:00 AM
To: jmeter-user@jakarta.apache.org
Subject: Re: Not Able to get the value from txt file using CSVDataset in jmeter.
Importance: High
I want to know which path the text file should be present which i m
specifying in csvdataset config.
since i m running one .sh file, inside i have specified the jmeter location.
In jmx file i have jus specified filename..i tried by giving full path of
filename as well as only filname.
But its not picking that file itself.
It would be great if anyone can help me?
sebb-2-2 wrote:
>
> If the element is disabled, it will be shown in grey.
>
> To change the setting, select the element and use right-click.
>
>
> On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>>
>> pl tell me Where i have to check wether the csvdataset is enabled or
>> not.
>>
>>
>>
>> sebb-2-2 wrote:
>> >
>> > On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>> >>
>> >> Hi,
>> >>
>> >> I have tried with following tree structure what u have send in mail
>> >> thread
>> >> TestPlan
>> >> - Threadgroup
>> >> - userparameter
>> >> - mycounter
>> >>
>> >> - HTTP header Manger
>> >> - CSV Data Set Config
>> >> - SOAP/XML RPC Request
>> >>
>> >>
>> >> Still value from the text file not flowing dynamically to the soap
>> >> request.
>> >> and also i have tried by puttting full path name of text file in
>> csvdata
>> >> set
>> >> Config. But no luck.
>> >>
>> >> If i give wrong file name in CSVDataset Config, i am not seeing any
>> >> error in
>> >> jmeter log file.
>> >
>> > Are you sure?
>> >
>> > If so, then check that CSV Dataset element is enabled.
>> >
>> >> CSV DataSet Config:
>> >> ================
>> >>
>> >> filename : full path of file
>> >> variable name : abc
>> >> allow quoted data : false
>> >> recycle on EOF : false
>> >> Stop thead on EOF: false
>> >> Sharing mode :All threads.
>> >>
>> >> So please guide me on how to run this testplan.
>> >>
>> >>
>> >>
>> >>
>> >> sebb-2-2 wrote:
>> >> >
>> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>> >> >>
>> >> >> Thanks for ur reply.
>> >> >>
>> >> >> I didnt see any errors in jmeter.log file.
>> >> >>
>> >> >> when i changed to unknown file name in csvdataset , still the
>> script
>> >> >> runs
>> >> >> but not loading the value dynamically in soap request and also
>> not
>> >> >> throwing
>> >> >> error.
>> >> >>
>> >> >> I have made my config in jmeter as follows
>> >> >>
>> >> >> TestPlan
>> >> >> - Threadgroup
>> >> >> - userparameter
>> >> >> - SOAP/XML RPC Request
>> >> >> - HTTP header Manger
>> >> >> - CSV Data Set Config
>> >> >>
>> >> >> It would be great if u give any pointers..
>> >> >>
>> >> >
>> >> > Try the following layout:
>> >> >
>> >> > TestPlan
>> >> > - Threadgroup
>> >> > - userparameter
>> >> > - HTTP header Manger
>> >> > - CSV Data Set Config
>> >> > - SOAP/XML RPC Request
>> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> sebb-2-2 wrote:
>> >> >> >
>> >> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>> >> >> >>
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >>
>> >> >> >> I have one txt file where list of values are present.
>> >> >> >>
>> >> >> >> i m using the following line of tag in JMX file get the
>> value
>> >> from
>> >> >> txt
>> >> >> >> file
>> >> >> >> and set it in variable name.
>> >> >> >> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet"
>> >> >> testname="CSV
>> >> >> >> Data Set Config" enabled="true">
>> >> >> >> <stringProp
>> >> name="filename">SampleGuidFile.txt</stringProp>
>> >> >> >> <stringProp name="fileEncoding"></stringProp>
>> >> >> >> <stringProp name="variableNames">guid</stringProp>
>> >> >> >> <stringProp name="delimiter"></stringProp>
>> >> >> >> <boolProp name="recycle">false</boolProp>
>> >> >> >> <boolProp name="stopThread">false</boolProp>
>> >> >> >> <boolProp name="quotedData">false</boolProp>
>> >> >> >> <stringProp name="shareMode">All
>> threads</stringProp>
>> >> >> >> </CSVDataSet>
>> >> >> >>
>> >> >> >> while executing the script. the value from a text file is
>> not
>> >> set in
>> >> >> >> variable . i have configured 4 threads.
>> >> >> >> It would be great if any one helps.
>> >> >> >
>> >> >> > Are there any errors in the jmeter.log file?
>> >> >> >
>> >> >> > What happens if you change the filename to something that does
>> not
>> >> >> exist?
>> >> >> > Does this cause an error, i.e. was the CSV Dataset element
>> being
>> >> >> invoked?
>> >> >> >
>> >> >> > How do you know that the variable is not being set?
>> >> >> > Have you used the Debug Sampler to show variables?
>> >> >> >
>> >> >> >> Thanks
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
>> >> >> >> Sent from the JMeter - User mailing list archive at
>> Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> >> 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
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
>> >> >>
>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> 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
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >>
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767015.html
>> >>
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------
>> >> 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
>> >
>> >
>> >
>>
>> --
>>
>> View this message in context:
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767111.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
--
View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767295.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by ragu5050 <ra...@gmail.com>.
I want to know which path the text file should be present which i m
specifying in csvdataset config.
since i m running one .sh file, inside i have specified the jmeter location.
In jmx file i have jus specified filename..i tried by giving full path of
filename as well as only filname.
But its not picking that file itself.
It would be great if anyone can help me?
sebb-2-2 wrote:
>
> If the element is disabled, it will be shown in grey.
>
> To change the setting, select the element and use right-click.
>
>
> On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>>
>> pl tell me Where i have to check wether the csvdataset is enabled or
>> not.
>>
>>
>>
>> sebb-2-2 wrote:
>> >
>> > On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>> >>
>> >> Hi,
>> >>
>> >> I have tried with following tree structure what u have send in mail
>> >> thread
>> >> TestPlan
>> >> - Threadgroup
>> >> - userparameter
>> >> - mycounter
>> >>
>> >> - HTTP header Manger
>> >> - CSV Data Set Config
>> >> - SOAP/XML RPC Request
>> >>
>> >>
>> >> Still value from the text file not flowing dynamically to the soap
>> >> request.
>> >> and also i have tried by puttting full path name of text file in
>> csvdata
>> >> set
>> >> Config. But no luck.
>> >>
>> >> If i give wrong file name in CSVDataset Config, i am not seeing any
>> >> error in
>> >> jmeter log file.
>> >
>> > Are you sure?
>> >
>> > If so, then check that CSV Dataset element is enabled.
>> >
>> >> CSV DataSet Config:
>> >> ================
>> >>
>> >> filename : full path of file
>> >> variable name : abc
>> >> allow quoted data : false
>> >> recycle on EOF : false
>> >> Stop thead on EOF: false
>> >> Sharing mode :All threads.
>> >>
>> >> So please guide me on how to run this testplan.
>> >>
>> >>
>> >>
>> >>
>> >> sebb-2-2 wrote:
>> >> >
>> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>> >> >>
>> >> >> Thanks for ur reply.
>> >> >>
>> >> >> I didnt see any errors in jmeter.log file.
>> >> >>
>> >> >> when i changed to unknown file name in csvdataset , still the
>> script
>> >> >> runs
>> >> >> but not loading the value dynamically in soap request and also
>> not
>> >> >> throwing
>> >> >> error.
>> >> >>
>> >> >> I have made my config in jmeter as follows
>> >> >>
>> >> >> TestPlan
>> >> >> - Threadgroup
>> >> >> - userparameter
>> >> >> - SOAP/XML RPC Request
>> >> >> - HTTP header Manger
>> >> >> - CSV Data Set Config
>> >> >>
>> >> >> It would be great if u give any pointers..
>> >> >>
>> >> >
>> >> > Try the following layout:
>> >> >
>> >> > TestPlan
>> >> > - Threadgroup
>> >> > - userparameter
>> >> > - HTTP header Manger
>> >> > - CSV Data Set Config
>> >> > - SOAP/XML RPC Request
>> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> sebb-2-2 wrote:
>> >> >> >
>> >> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>> >> >> >>
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >>
>> >> >> >> I have one txt file where list of values are present.
>> >> >> >>
>> >> >> >> i m using the following line of tag in JMX file get the
>> value
>> >> from
>> >> >> txt
>> >> >> >> file
>> >> >> >> and set it in variable name.
>> >> >> >> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet"
>> >> >> testname="CSV
>> >> >> >> Data Set Config" enabled="true">
>> >> >> >> <stringProp
>> >> name="filename">SampleGuidFile.txt</stringProp>
>> >> >> >> <stringProp name="fileEncoding"></stringProp>
>> >> >> >> <stringProp name="variableNames">guid</stringProp>
>> >> >> >> <stringProp name="delimiter"></stringProp>
>> >> >> >> <boolProp name="recycle">false</boolProp>
>> >> >> >> <boolProp name="stopThread">false</boolProp>
>> >> >> >> <boolProp name="quotedData">false</boolProp>
>> >> >> >> <stringProp name="shareMode">All
>> threads</stringProp>
>> >> >> >> </CSVDataSet>
>> >> >> >>
>> >> >> >> while executing the script. the value from a text file is
>> not
>> >> set in
>> >> >> >> variable . i have configured 4 threads.
>> >> >> >> It would be great if any one helps.
>> >> >> >
>> >> >> > Are there any errors in the jmeter.log file?
>> >> >> >
>> >> >> > What happens if you change the filename to something that does
>> not
>> >> >> exist?
>> >> >> > Does this cause an error, i.e. was the CSV Dataset element
>> being
>> >> >> invoked?
>> >> >> >
>> >> >> > How do you know that the variable is not being set?
>> >> >> > Have you used the Debug Sampler to show variables?
>> >> >> >
>> >> >> >> Thanks
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
>> >> >> >> Sent from the JMeter - User mailing list archive at
>> Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> >> 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
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
>> >> >>
>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> 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
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >>
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767015.html
>> >>
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------
>> >> 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
>> >
>> >
>> >
>>
>> --
>>
>> View this message in context:
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767111.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
--
View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767295.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by sebb <se...@gmail.com>.
If the element is disabled, it will be shown in grey.
To change the setting, select the element and use right-click.
On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>
> pl tell me Where i have to check wether the csvdataset is enabled or not.
>
>
>
> sebb-2-2 wrote:
> >
> > On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> I have tried with following tree structure what u have send in mail
> >> thread
> >> TestPlan
> >> - Threadgroup
> >> - userparameter
> >> - mycounter
> >>
> >> - HTTP header Manger
> >> - CSV Data Set Config
> >> - SOAP/XML RPC Request
> >>
> >>
> >> Still value from the text file not flowing dynamically to the soap
> >> request.
> >> and also i have tried by puttting full path name of text file in csvdata
> >> set
> >> Config. But no luck.
> >>
> >> If i give wrong file name in CSVDataset Config, i am not seeing any
> >> error in
> >> jmeter log file.
> >
> > Are you sure?
> >
> > If so, then check that CSV Dataset element is enabled.
> >
> >> CSV DataSet Config:
> >> ================
> >>
> >> filename : full path of file
> >> variable name : abc
> >> allow quoted data : false
> >> recycle on EOF : false
> >> Stop thead on EOF: false
> >> Sharing mode :All threads.
> >>
> >> So please guide me on how to run this testplan.
> >>
> >>
> >>
> >>
> >> sebb-2-2 wrote:
> >> >
> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
> >> >>
> >> >> Thanks for ur reply.
> >> >>
> >> >> I didnt see any errors in jmeter.log file.
> >> >>
> >> >> when i changed to unknown file name in csvdataset , still the script
> >> >> runs
> >> >> but not loading the value dynamically in soap request and also not
> >> >> throwing
> >> >> error.
> >> >>
> >> >> I have made my config in jmeter as follows
> >> >>
> >> >> TestPlan
> >> >> - Threadgroup
> >> >> - userparameter
> >> >> - SOAP/XML RPC Request
> >> >> - HTTP header Manger
> >> >> - CSV Data Set Config
> >> >>
> >> >> It would be great if u give any pointers..
> >> >>
> >> >
> >> > Try the following layout:
> >> >
> >> > TestPlan
> >> > - Threadgroup
> >> > - userparameter
> >> > - HTTP header Manger
> >> > - CSV Data Set Config
> >> > - SOAP/XML RPC Request
> >> >
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> sebb-2-2 wrote:
> >> >> >
> >> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
> >> >> >>
> >> >> >> Hi,
> >> >> >>
> >> >> >>
> >> >> >> I have one txt file where list of values are present.
> >> >> >>
> >> >> >> i m using the following line of tag in JMX file get the value
> >> from
> >> >> txt
> >> >> >> file
> >> >> >> and set it in variable name.
> >> >> >> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet"
> >> >> testname="CSV
> >> >> >> Data Set Config" enabled="true">
> >> >> >> <stringProp
> >> name="filename">SampleGuidFile.txt</stringProp>
> >> >> >> <stringProp name="fileEncoding"></stringProp>
> >> >> >> <stringProp name="variableNames">guid</stringProp>
> >> >> >> <stringProp name="delimiter"></stringProp>
> >> >> >> <boolProp name="recycle">false</boolProp>
> >> >> >> <boolProp name="stopThread">false</boolProp>
> >> >> >> <boolProp name="quotedData">false</boolProp>
> >> >> >> <stringProp name="shareMode">All threads</stringProp>
> >> >> >> </CSVDataSet>
> >> >> >>
> >> >> >> while executing the script. the value from a text file is not
> >> set in
> >> >> >> variable . i have configured 4 threads.
> >> >> >> It would be great if any one helps.
> >> >> >
> >> >> > Are there any errors in the jmeter.log file?
> >> >> >
> >> >> > What happens if you change the filename to something that does not
> >> >> exist?
> >> >> > Does this cause an error, i.e. was the CSV Dataset element being
> >> >> invoked?
> >> >> >
> >> >> > How do you know that the variable is not being set?
> >> >> > Have you used the Debug Sampler to show variables?
> >> >> >
> >> >> >> Thanks
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
> >> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> >> 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
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
> >> >>
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> ---------------------------------------------------------------------
> >> >> 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
> >> >
> >> >
> >> >
> >>
> >> --
> >>
> >> View this message in context:
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767015.html
> >>
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
> >
> >
>
> --
>
> View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767111.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by ragu5050 <ra...@gmail.com>.
pl tell me Where i have to check wether the csvdataset is enabled or not.
sebb-2-2 wrote:
>
> On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>>
>> Hi,
>>
>> I have tried with following tree structure what u have send in mail
>> thread
>> TestPlan
>> - Threadgroup
>> - userparameter
>> - mycounter
>>
>> - HTTP header Manger
>> - CSV Data Set Config
>> - SOAP/XML RPC Request
>>
>>
>> Still value from the text file not flowing dynamically to the soap
>> request.
>> and also i have tried by puttting full path name of text file in csvdata
>> set
>> Config. But no luck.
>>
>> If i give wrong file name in CSVDataset Config, i am not seeing any
>> error in
>> jmeter log file.
>
> Are you sure?
>
> If so, then check that CSV Dataset element is enabled.
>
>> CSV DataSet Config:
>> ================
>>
>> filename : full path of file
>> variable name : abc
>> allow quoted data : false
>> recycle on EOF : false
>> Stop thead on EOF: false
>> Sharing mode :All threads.
>>
>> So please guide me on how to run this testplan.
>>
>>
>>
>>
>> sebb-2-2 wrote:
>> >
>> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>> >>
>> >> Thanks for ur reply.
>> >>
>> >> I didnt see any errors in jmeter.log file.
>> >>
>> >> when i changed to unknown file name in csvdataset , still the script
>> >> runs
>> >> but not loading the value dynamically in soap request and also not
>> >> throwing
>> >> error.
>> >>
>> >> I have made my config in jmeter as follows
>> >>
>> >> TestPlan
>> >> - Threadgroup
>> >> - userparameter
>> >> - SOAP/XML RPC Request
>> >> - HTTP header Manger
>> >> - CSV Data Set Config
>> >>
>> >> It would be great if u give any pointers..
>> >>
>> >
>> > Try the following layout:
>> >
>> > TestPlan
>> > - Threadgroup
>> > - userparameter
>> > - HTTP header Manger
>> > - CSV Data Set Config
>> > - SOAP/XML RPC Request
>> >
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> sebb-2-2 wrote:
>> >> >
>> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >>
>> >> >> I have one txt file where list of values are present.
>> >> >>
>> >> >> i m using the following line of tag in JMX file get the value
>> from
>> >> txt
>> >> >> file
>> >> >> and set it in variable name.
>> >> >> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet"
>> >> testname="CSV
>> >> >> Data Set Config" enabled="true">
>> >> >> <stringProp
>> name="filename">SampleGuidFile.txt</stringProp>
>> >> >> <stringProp name="fileEncoding"></stringProp>
>> >> >> <stringProp name="variableNames">guid</stringProp>
>> >> >> <stringProp name="delimiter"></stringProp>
>> >> >> <boolProp name="recycle">false</boolProp>
>> >> >> <boolProp name="stopThread">false</boolProp>
>> >> >> <boolProp name="quotedData">false</boolProp>
>> >> >> <stringProp name="shareMode">All threads</stringProp>
>> >> >> </CSVDataSet>
>> >> >>
>> >> >> while executing the script. the value from a text file is not
>> set in
>> >> >> variable . i have configured 4 threads.
>> >> >> It would be great if any one helps.
>> >> >
>> >> > Are there any errors in the jmeter.log file?
>> >> >
>> >> > What happens if you change the filename to something that does not
>> >> exist?
>> >> > Does this cause an error, i.e. was the CSV Dataset element being
>> >> invoked?
>> >> >
>> >> > How do you know that the variable is not being set?
>> >> > Have you used the Debug Sampler to show variables?
>> >> >
>> >> >> Thanks
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> 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
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
>> >>
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------
>> >> 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
>> >
>> >
>> >
>>
>> --
>>
>> View this message in context:
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767015.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
--
View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767111.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by sebb <se...@gmail.com>.
On 03/03/2010, ragu5050 <ra...@gmail.com> wrote:
>
> Hi,
>
> I have tried with following tree structure what u have send in mail thread
> TestPlan
> - Threadgroup
> - userparameter
> - mycounter
>
> - HTTP header Manger
> - CSV Data Set Config
> - SOAP/XML RPC Request
>
>
> Still value from the text file not flowing dynamically to the soap request.
> and also i have tried by puttting full path name of text file in csvdata set
> Config. But no luck.
>
> If i give wrong file name in CSVDataset Config, i am not seeing any error in
> jmeter log file.
Are you sure?
If so, then check that CSV Dataset element is enabled.
> CSV DataSet Config:
> ================
>
> filename : full path of file
> variable name : abc
> allow quoted data : false
> recycle on EOF : false
> Stop thead on EOF: false
> Sharing mode :All threads.
>
> So please guide me on how to run this testplan.
>
>
>
>
> sebb-2-2 wrote:
> >
> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
> >>
> >> Thanks for ur reply.
> >>
> >> I didnt see any errors in jmeter.log file.
> >>
> >> when i changed to unknown file name in csvdataset , still the script
> >> runs
> >> but not loading the value dynamically in soap request and also not
> >> throwing
> >> error.
> >>
> >> I have made my config in jmeter as follows
> >>
> >> TestPlan
> >> - Threadgroup
> >> - userparameter
> >> - SOAP/XML RPC Request
> >> - HTTP header Manger
> >> - CSV Data Set Config
> >>
> >> It would be great if u give any pointers..
> >>
> >
> > Try the following layout:
> >
> > TestPlan
> > - Threadgroup
> > - userparameter
> > - HTTP header Manger
> > - CSV Data Set Config
> > - SOAP/XML RPC Request
> >
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> sebb-2-2 wrote:
> >> >
> >> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >>
> >> >> I have one txt file where list of values are present.
> >> >>
> >> >> i m using the following line of tag in JMX file get the value from
> >> txt
> >> >> file
> >> >> and set it in variable name.
> >> >> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet"
> >> testname="CSV
> >> >> Data Set Config" enabled="true">
> >> >> <stringProp name="filename">SampleGuidFile.txt</stringProp>
> >> >> <stringProp name="fileEncoding"></stringProp>
> >> >> <stringProp name="variableNames">guid</stringProp>
> >> >> <stringProp name="delimiter"></stringProp>
> >> >> <boolProp name="recycle">false</boolProp>
> >> >> <boolProp name="stopThread">false</boolProp>
> >> >> <boolProp name="quotedData">false</boolProp>
> >> >> <stringProp name="shareMode">All threads</stringProp>
> >> >> </CSVDataSet>
> >> >>
> >> >> while executing the script. the value from a text file is not set in
> >> >> variable . i have configured 4 threads.
> >> >> It would be great if any one helps.
> >> >
> >> > Are there any errors in the jmeter.log file?
> >> >
> >> > What happens if you change the filename to something that does not
> >> exist?
> >> > Does this cause an error, i.e. was the CSV Dataset element being
> >> invoked?
> >> >
> >> > How do you know that the variable is not being set?
> >> > Have you used the Debug Sampler to show variables?
> >> >
> >> >> Thanks
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> ---------------------------------------------------------------------
> >> >> 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
> >> >
> >> >
> >> >
> >>
> >>
> >> --
> >> View this message in context:
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
> >>
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
> >
> >
>
> --
>
> View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767015.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by ragu5050 <ra...@gmail.com>.
Hi,
I have tried with following tree structure what u have send in mail thread
TestPlan
- Threadgroup
- userparameter
- mycounter
- HTTP header Manger
- CSV Data Set Config
- SOAP/XML RPC Request
Still value from the text file not flowing dynamically to the soap request.
and also i have tried by puttting full path name of text file in csvdata set
Config. But no luck.
If i give wrong file name in CSVDataset Config, i am not seeing any error in
jmeter log file.
CSV DataSet Config:
================
filename : full path of file
variable name : abc
allow quoted data : false
recycle on EOF : false
Stop thead on EOF: false
Sharing mode :All threads.
So please guide me on how to run this testplan.
sebb-2-2 wrote:
>
> On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>>
>> Thanks for ur reply.
>>
>> I didnt see any errors in jmeter.log file.
>>
>> when i changed to unknown file name in csvdataset , still the script
>> runs
>> but not loading the value dynamically in soap request and also not
>> throwing
>> error.
>>
>> I have made my config in jmeter as follows
>>
>> TestPlan
>> - Threadgroup
>> - userparameter
>> - SOAP/XML RPC Request
>> - HTTP header Manger
>> - CSV Data Set Config
>>
>> It would be great if u give any pointers..
>>
>
> Try the following layout:
>
> TestPlan
> - Threadgroup
> - userparameter
> - HTTP header Manger
> - CSV Data Set Config
> - SOAP/XML RPC Request
>
>>
>>
>>
>>
>>
>>
>>
>> sebb-2-2 wrote:
>> >
>> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>> >>
>> >> Hi,
>> >>
>> >>
>> >> I have one txt file where list of values are present.
>> >>
>> >> i m using the following line of tag in JMX file get the value from
>> txt
>> >> file
>> >> and set it in variable name.
>> >> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet"
>> testname="CSV
>> >> Data Set Config" enabled="true">
>> >> <stringProp name="filename">SampleGuidFile.txt</stringProp>
>> >> <stringProp name="fileEncoding"></stringProp>
>> >> <stringProp name="variableNames">guid</stringProp>
>> >> <stringProp name="delimiter"></stringProp>
>> >> <boolProp name="recycle">false</boolProp>
>> >> <boolProp name="stopThread">false</boolProp>
>> >> <boolProp name="quotedData">false</boolProp>
>> >> <stringProp name="shareMode">All threads</stringProp>
>> >> </CSVDataSet>
>> >>
>> >> while executing the script. the value from a text file is not set in
>> >> variable . i have configured 4 threads.
>> >> It would be great if any one helps.
>> >
>> > Are there any errors in the jmeter.log file?
>> >
>> > What happens if you change the filename to something that does not
>> exist?
>> > Does this cause an error, i.e. was the CSV Dataset element being
>> invoked?
>> >
>> > How do you know that the variable is not being set?
>> > Have you used the Debug Sampler to show variables?
>> >
>> >> Thanks
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------
>> >> 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
>> >
>> >
>> >
>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
--
View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767015.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by sebb <se...@gmail.com>.
On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>
> Thanks for ur reply.
>
> I didnt see any errors in jmeter.log file.
>
> when i changed to unknown file name in csvdataset , still the script runs
> but not loading the value dynamically in soap request and also not throwing
> error.
>
> I have made my config in jmeter as follows
>
> TestPlan
> - Threadgroup
> - userparameter
> - SOAP/XML RPC Request
> - HTTP header Manger
> - CSV Data Set Config
>
> It would be great if u give any pointers..
>
Try the following layout:
TestPlan
- Threadgroup
- userparameter
- HTTP header Manger
- CSV Data Set Config
- SOAP/XML RPC Request
>
>
>
>
>
>
>
> sebb-2-2 wrote:
> >
> > On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >>
> >> I have one txt file where list of values are present.
> >>
> >> i m using the following line of tag in JMX file get the value from txt
> >> file
> >> and set it in variable name.
> >> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="CSV
> >> Data Set Config" enabled="true">
> >> <stringProp name="filename">SampleGuidFile.txt</stringProp>
> >> <stringProp name="fileEncoding"></stringProp>
> >> <stringProp name="variableNames">guid</stringProp>
> >> <stringProp name="delimiter"></stringProp>
> >> <boolProp name="recycle">false</boolProp>
> >> <boolProp name="stopThread">false</boolProp>
> >> <boolProp name="quotedData">false</boolProp>
> >> <stringProp name="shareMode">All threads</stringProp>
> >> </CSVDataSet>
> >>
> >> while executing the script. the value from a text file is not set in
> >> variable . i have configured 4 threads.
> >> It would be great if any one helps.
> >
> > Are there any errors in the jmeter.log file?
> >
> > What happens if you change the filename to something that does not exist?
> > Does this cause an error, i.e. was the CSV Dataset element being invoked?
> >
> > How do you know that the variable is not being set?
> > Have you used the Debug Sampler to show variables?
> >
> >> Thanks
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
> >
> >
>
>
> --
> View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
Re: Not Able to get the value from txt file using CSVDataset in
jmeter.
Posted by ragu5050 <ra...@gmail.com>.
Thanks for ur reply.
I didnt see any errors in jmeter.log file.
when i changed to unknown file name in csvdataset , still the script runs
but not loading the value dynamically in soap request and also not throwing
error.
I have made my config in jmeter as follows
TestPlan
- Threadgroup
- userparameter
- SOAP/XML RPC Request
- HTTP header Manger
- CSV Data Set Config
It would be great if u give any pointers..
sebb-2-2 wrote:
>
> On 26/02/2010, ragu5050 <ra...@gmail.com> wrote:
>>
>> Hi,
>>
>>
>> I have one txt file where list of values are present.
>>
>> i m using the following line of tag in JMX file get the value from txt
>> file
>> and set it in variable name.
>> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="CSV
>> Data Set Config" enabled="true">
>> <stringProp name="filename">SampleGuidFile.txt</stringProp>
>> <stringProp name="fileEncoding"></stringProp>
>> <stringProp name="variableNames">guid</stringProp>
>> <stringProp name="delimiter"></stringProp>
>> <boolProp name="recycle">false</boolProp>
>> <boolProp name="stopThread">false</boolProp>
>> <boolProp name="quotedData">false</boolProp>
>> <stringProp name="shareMode">All threads</stringProp>
>> </CSVDataSet>
>>
>> while executing the script. the value from a text file is not set in
>> variable . i have configured 4 threads.
>> It would be great if any one helps.
>
> Are there any errors in the jmeter.log file?
>
> What happens if you change the filename to something that does not exist?
> Does this cause an error, i.e. was the CSV Dataset element being invoked?
>
> How do you know that the variable is not being set?
> Have you used the Debug Sampler to show variables?
>
>> Thanks
>>
>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
--
View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org