You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sandeep Mankar <sa...@vigorsoft.com> on 2005/10/11 12:05:44 UTC

JMeter for XML based App testing

Hi,

Can i use JMeter for Testing an XML based application??
The application i'm supposed to test,  sends back replies in XML.

If i use an HTTP Request Sampler, to request a page on the application i 
get this error in 'View Results Tree Listener':

java.io.IOException: Stream closed
    at java.io.BufferedInputStream.getInIfOpen(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:235)
    at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:449)
    at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
    at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:503)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
    at java.lang.Thread.run(Unknown Source)

Is this problem just with the Listener?? or is it that JMeter fails to 
recognise any XML response??

But this application works absolutely fine with any browser. Should it 
not work with jmeter similarly??

Thanks,
Sandeep




#-----------------------------------Vigorsoft Disclaimer-----------------------------------#
 Confidentiality   Notice :  The  information  in  this  e-mail  and  any attachment(s) is
 confidential and for the use of the addressee(s) only.If you have received this e-mail in
 error, please delete this e-mail.Unauthorized use, reliance, disclosure or copying of the
 contents of this e-mail, or any similar action, is prohibited.
 #------------------------------------------------------------------------------------------#