jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ragu5050 <ragunath...@gmail.com>
Subject Re: Not Able to get the value from txt file using CSVDataset in jmeter.
Date Wed, 03 Mar 2010 11:48:24 GMT

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 <ragunath.4s@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 <ragunath.4s@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 <ragunath.4s@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 <ragunath.4s@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


Mime
View raw message