sebb | 1 Mar 2008 18:11
Picon

Re: Listeners do not display response data for SOAP/XML requests.

On 29/02/2008, Derek Gill (dergill) <dergill <at> cisco.com> wrote:
>
>
>
> Anyone know if there  is a problem with Jmeter 2.3.1 displaying Response Data for requests submitted  using
the SOAP/XML sampler.  Currently I get the 200 OK reported back, but  when I click on the Response Data Tab in
the listener, it is empty.

That is because of a change to which content-types are regarded as
text and which are binary.

You can update the list by changing the JMeter property:

content-type_text=application/soap+xml

This change was obviously a bad idea, and needs to be reworked for the
next release...

> All  response assertions are also reporting that the response that the require text  strings are missing
from the response.  This worked in 2.3RC4.  I also  captured all the output received back in a file and the
following is reported in  for response data
>

I don't understand this; as far as I can see the assertion does not
care whether the datatype is text or binary.

What assertions are you using?

> <httpSample  t="68" lt="68" ts="1204303234541" s="true" lb="appuser1 Login Request" rc="200" 
rm="OK" tn="Thread Group 1-1" dt="bin" de="utf-8" by="491" sc="1" ec="0" ng="1"  na="1" hn="gwydlcm24">
(Continue reading)

Derek Gill (dergill | 3 Mar 2008 16:03
Picon
Favicon

RE: Listeners do not display response data for SOAP/XML requests.

Thanks for the reply,

Setting content-type_text=application/soap+xml fixed the problem with
not able to see the Data Responses from SOAP XML requests.  The response
assertions are also now working after adding the param to the
jmeter.properties file.  

Initially I guess the response assertions were failing as they were
pattern matching on text strind, which I could not see.

Thanks again
Derek

-----Original Message-----
From: sebb [mailto:sebbaz <at> gmail.com] 
Sent: 01 March 2008 17:11
To: JMeter Users List
Subject: Re: Listeners do not display response data for SOAP/XML
requests.

On 29/02/2008, Derek Gill (dergill) <dergill <at> cisco.com> wrote:
>
>
>
> Anyone know if there  is a problem with Jmeter 2.3.1 displaying
Response Data for requests submitted  using the SOAP/XML sampler.
Currently I get the 200 OK reported back, but  when I click on the
Response Data Tab in the listener, it is empty.

That is because of a change to which content-types are regarded as text
(Continue reading)


Gmane