hi brian, I think sebastian's message explains it. unfortunately, Apache soap drivers uses soap formatting, so your servlet doesn't like it. if you post the eror you get I can look into it when I have time and see if I can tweak the sampler to work with XML-RPC also. peter lin
Brian Lundell <[EMAIL PROTECTED]> wrote: I'm using a SOAP/XML-RPC Sampler. Is this my problem? I tried using the Webservice sampler when I started using 1.9RC2 but it didn't work for me. I assumed it was because we're not SOAP compliant, but it could be that I was using it wrong. We're just sending XML so a server. If _StringFromFile would work with the Webservice Sampler, I could use it instead. I can change my data files quickly to any format that's convenient. Thanks again for the help. Brian -----Original Message----- From: peter lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 11:42 AM To: JMeter Users List Subject: Re: __CSVRead always reads the same file. hi brian, are you using SOAP/XML-RPC sampler or the new webservice sampler. I'm guessing webservice sampler, since the older XML-RPC sampler doesn't take file. patching it to take comma separated file should be fairly easy. I did post/attach a patch to the webservice sampler in bugzilla that takes a directory containing multiple xml messages. when I get home I'll send ya a link, since the patches aren't in the nightly yet. the directory path option results in random selection of XML messages. peter lin Brian Lundell wrote: Hi, I'm having a problem with using __CSVRead in a loop. Here is the construct I am using: |--- Loop Controller (set to run twice) |--- XMLSampler |--- RegExExtractor to get ParameterThatWorks |--- Interleave Controller |--- Request1 (Accesses File1.xml) |--- Request2 (Accesses File2.xml) Request1 is as follows: ${__CSVRead(File1.xml,next())} ${__CSVRead(File1.xml,0)}${ParameterThatWorks}${__CSVRead(File1.xml,1)} Request2 is identical, but contains File2.xml for File1.xml The problem I am having is that both times through the loop, the values from File1.xml are being sent, not File1.xml and then File2.xml (which is what I want). I have tried a few different constructs to accomplish, but with the same results every time. I'd gladly appreciate any suggestions on how to do this. Thank you! Brian Brian Lundell, Quality Assurance Specialist Time Industrial, Inc. An Outsourced Contractor Time and Cost Tracking Service. ----------------------------------------------------------------------------------------- tel: 780.413.1521 fax: 780.413.0474 http://www.TimeIndustrial.com ----------------------------------------------------------------------------------------- This message and attached files, if any, is (are) intended only for the addressee(s) and may contain privileged or confidential information. Any unauthorized disclosure is strictly prohibited. If destined to our legal counsel, this transmission is privileged communication as between an attorney and its client. If you have received this message in error, please notify us immediately so that we may correct our internal records. Please then delete the original message. Thank you. --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

