I ran into this problem when I had a white space character before the <?xml version="1.0" encoding="UTF-8"?> <testResults version="1.2">
Make sure there aren't any new lines or spaces before the <?xml -----Original Message----- From: r d [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 4:28 PM To: JMeter Users List Subject: Re: jmeter result-report.xsl problem I'd one listener in test plan. Removing listener also didn't help much sebb <[EMAIL PROTECTED]> wrote: Do you have any listeners in the test plan? Perhaps one of them is writing to the same jtl file. On 18/09/2007, r d wrote: > already did that exercise couple of times > > sebb wrote: Try deleting the JTL file and trying again. > > On 17/09/2007, r d wrote: > > BTW here's task in my buildfile. > > > > > > classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/> > > > > > > > > jmeterhome="~/jakarta-jmeter-2.2" > > testplan="~/jakarta-jmeter-2.2/PerformanceTests/Perf.jmx" > > resultlog="~/jakarta-jmeter-2.2/PerformanceTests/Perf.jtl"/> > > > > > > > > > > > > > > > > > > in="~/jakarta-jmeter-2.2/PerformanceTests/Perf.jtl" > > out="~/jakarta-jmeter-2.2/PerformanceTests/PerformanceTests.html" > > style="~/jakarta-jmeter-2.2/PerformanceTests/jmeter-results-detail-repor t_21.xsl"/> > > > > > > > > > > r d wrote: in my build file : > > > > > > > but the output in JTL seems to be in CSV format. Am I missing anything here? > > > > > > sebb wrote: No, I meant that if the file does not start with those characters then > > it is incorrect. > > > > Are you sure that the file is an XML file created by JMeter? > > > > Remember that JTL files are appended to, so if you change from CSV to > > XML, the file will be a mixture. > > > > On 17/09/2007, r d wrote: > > > > > > I copied following lines on top of JTL file but didn't help. I still see same error message > > > > > > > > > > > > > > > > > > sebb wrote: The JTL file must start something like: > > > > > > > > > > > > > > > > > > On 17/09/2007, r d wrote: > > > > Hi there, > > > > > > > > I spend good time on web to see if anybody has same issue, but couldn't resolved following issue. > > > > > > > > I followed all the steps mentioned for jmeter-ant-task mentioned on web site: http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php > > > > > > > > However, after I execute the task, I received following error. I also tried using different style sheet under /jakarta-jmeter-2.2/extras directory but didn't help at all. > > > > I'm using jmeter-2.2 > > > > > > > > Error message > > > > [xslt] Loading stylesheet ~/jakarta-jmeter-2.2/Concurrency/jmeter-results-detail-report.xsl > > > > [xslt] : Error! Content is not allowed in prolog. > > > > [xslt] : Error! com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Content is not allowed in prolog. > > > > [xslt] Failed to process ~/jakarta-jmeter-2.2/Concurrency/Concurrency.jtl > > > > > > > > > > > > Error message doesn't really tell what content is not allowed and what line it's complaining about? Any suggestion would be appreciated. > > > > > > > > > > > > > > > > --------------------------------- > > > > Got a little couch potato? > > > > Check out fun summer activities for kids. > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > --------------------------------- > > > Luggage? GPS? Comic books? > > > Check out fitting gifts for grads at Yahoo! Search. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------- > > Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. > > > > > > --------------------------------- > > Moody friends. Drama queens. Your life? Nope! - their life, your story. > > Play Sims Stories at Yahoo! Games. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------- > Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Check out the hottest 2008 models today at Yahoo! Autos. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

