On 03/03/2010, ragu5050 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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: [email protected]
>  >>  >>  For additional commands, e-mail: [email protected]
>  >>  >>
>  >>  >>
>  >>  >
>  >>  > ---------------------------------------------------------------------
>  >>  > To unsubscribe, e-mail: [email protected]
>  >>  > For additional commands, e-mail: [email protected]
>  >>  >
>  >>  >
>  >>  >
>  >>
>  >>
>  >> --
>  >>  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: [email protected]
>  >>  For additional commands, e-mail: [email protected]
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [email protected]
>  > For additional commands, e-mail: [email protected]
>  >
>  >
>  >
>
>  --
>
> 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: [email protected]
>  For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to