You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2008/03/01 18:11:03 UTC

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

On 29/02/2008, Derek Gill (dergill) <de...@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">
>    <assertionResult>
>     <name>No Session Key  Assert</name>
>      <failure>false</failure>
>      <error>false</error>
>   </assertionResult>
>    <responseHeader class="java.lang.String">HTTP/1.1 200 OK
> Date: Fri, 29  Feb 2008 16:40:34 GMT
> Server: Apache/2.2.4 (Unix) DBL2/2.00  TTDB/1.00
> Last-Modified: Fri, 29 Feb 2008 16:40:34 GMT
> Content-Length:  491
> Connection: close
> Content-Type: application/soap+xml;  charset=utf-8
> </responseHeader>
>   <requestHeader  class="java.lang.String"></requestHeader>
>   <responseData  class="java.lang.String"/>
>   <responseFile  class="java.lang.String"></responseFile>
>   <cookies  class="java.lang.String"></cookies>
>   <method  class="java.lang.String"></method>
>   <queryString  class="java.lang.String"></queryString>
>    <java.net.URL>https://X.X.X.X:8083/presence-service/soap</java.net.URL>
> </httpSample>
>
>
>
>
>
>
> Derek              Gill
> Software Test              Engineer
> IP Communications.
>
> dergill@cisco.com
> Phone              :+353 91 384650
>
>
> Cisco              Internetworking Ltd.,
> Block 10,
> Galway Technology              Park,
> Parkmore,
> Galway,
> Ireland.
> www.cisco.com
>            This              e-mail may contain confidential and privileged material for the sole              use of the intended recipient. Any review, use, distribution or              disclosure by others is strictly prohibited. If you are not the              intended recipient (or authorized to receive for the recipient),              please contact the sender by reply e-mail and delete all copies of              this message.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


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

Posted by "Derek Gill (dergill)" <de...@cisco.com>.
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@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) <de...@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">
>    <assertionResult>
>     <name>No Session Key  Assert</name>
>      <failure>false</failure>
>      <error>false</error>
>   </assertionResult>
>    <responseHeader class="java.lang.String">HTTP/1.1 200 OK
> Date: Fri, 29  Feb 2008 16:40:34 GMT
> Server: Apache/2.2.4 (Unix) DBL2/2.00  TTDB/1.00
> Last-Modified: Fri, 29 Feb 2008 16:40:34 GMT
> Content-Length:  491
> Connection: close
> Content-Type: application/soap+xml;  charset=utf-8 </responseHeader>
>   <requestHeader  class="java.lang.String"></requestHeader>
>   <responseData  class="java.lang.String"/>
>   <responseFile  class="java.lang.String"></responseFile>
>   <cookies  class="java.lang.String"></cookies>
>   <method  class="java.lang.String"></method>
>   <queryString  class="java.lang.String"></queryString>
>    
> <java.net.URL>https://X.X.X.X:8083/presence-service/soap</java.net.URL
> >
> </httpSample>
>
>
>
>
>
>
> Derek              Gill
> Software Test              Engineer
> IP Communications.
>
> dergill@cisco.com
> Phone              :+353 91 384650
>
>
> Cisco              Internetworking Ltd.,
> Block 10,
> Galway Technology              Park,
> Parkmore,
> Galway,
> Ireland.
> www.cisco.com
>            This              e-mail may contain confidential and
privileged material for the sole              use of the intended
recipient. Any review, use, distribution or              disclosure by
others is strictly prohibited. If you are not the              intended
recipient (or authorized to receive for the recipient),
please contact the sender by reply e-mail and delete all copies of
this message.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org