jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Not Able to get the value from txt file using CSVDataset in jmeter.
Date Fri, 26 Feb 2010 16:19:35 GMT
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


Mime
View raw message