You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Munmun <ni...@gmail.com> on 2017/05/04 12:19:44 UTC
Convert a CSV file to XML requests and send ws provider
Hi,
Can anyone assist me with the steps to "convert a CSV file to XML requests
and send ws provider"?
As per my understanding, I have placed the *.csv file under the bin dir and
config the "CSV Data Set Config" as first step to read the records. But now
i am clueless on how I can convert it to XML data.
<http://www.jmeter-archive.org/file/n5725563/Capture.png>
from jmeter.log, I can see that my file is getting invoked but not sure
whether data is getting saved properly in respective variables or not.
*delayedStart=false
2017/05/04 14:08:12 INFO - jmeter.threads.ThreadGroup: Started thread group
number 1
2017/05/04 14:08:12 INFO - jmeter.engine.StandardJMeterEngine: All thread
groups have been started
2017/05/04 14:08:12 INFO - jmeter.threads.JMeterThread: Thread started:
Thread Group 1-1
2017/05/04 14:08:12 INFO - jmeter.services.FileServer: Stored: CSVTest.csv
2017/05/04 14:08:12 INFO - jmeter.threads.JMeterThread: Thread is done:
Thread Group 1-1
2017/05/04 14:08:12 INFO - jmeter.threads.JMeterThread: Thread finished:
Thread Group 1-1
2017/05/04 14:08:12 INFO - jmeter.engine.StandardJMeterEngine: Notifying
test listeners of end of test
2017/05/04 14:08:12 INFO - jmeter.services.FileServer: Close: CSVTest.csv
2017/05/04 14:08:12 INFO - jmeter.gui.util.JMeterMenuBar:
setRunning(false,*local*)*
--
View this message in context: http://www.jmeter-archive.org/Convert-a-CSV-file-to-XML-requests-and-send-ws-provider-tp5725563.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.
Re: Convert a CSV file to XML requests and send ws provider
Posted by Munmun <ni...@gmail.com>.
Please ignore my previous post. issue is resolved by setting
1. "Recycle On EOF" = False and
2. while controller condition = ("${BrandName}".indexOf("$") != -1)
--
View this message in context: http://www.jmeter-archive.org/Convert-a-CSV-file-to-XML-requests-and-send-ws-provider-tp5725563p5725670.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.
Re: Convert a CSV file to XML requests and send ws provider
Posted by Munmun <ni...@gmail.com>.
Thanks, My Test case is running now and i am able to successful response too.
But some how my while condition is resulting in end/ less loop.
*condition / ${__javaScript("${BrandName}"!="")}*
*CSV Data file*
BrandName ContactChannel SubscribedItemID Gender
Audi E-Mail 1242 Female
Audi E-Mail 1242 Male
Audi E-Mail 1242 Male
*csv data setting *- Recycle On EOF= True ;Stop Thread On EOF = true
Am I missing any setting? or condition on while loop is not correct. Kindly
assist , Thanks in Advance.
--
View this message in context: http://www.jmeter-archive.org/Convert-a-CSV-file-to-XML-requests-and-send-ws-provider-tp5725563p5725668.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.