You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Fan, Jenny" <jf...@torstardigital.com> on 2006/01/30 19:55:05 UTC

Got fault code in web service response

Hi Guys,

 

I just started using JMeter to test web service request. It did work
with some sample web services. But I got error message in the responses
when testing a web service which include a base64 encoded in response.
The web service works fine with soap scope. 

Response I get in soap scope:
...<soap:Body>
       +  <javascript:showNode('1.1.2.1');> <GetDomainsResponse
<http://localhost:7103/tide/main/1.1.2.1@xmlns:>
xmlns="http://cmsservices.torstardigital.com/Tops2.0">
       +  <javascript:showNode('1.1.2.1.1');>
<GetDomainsResult>77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbm...</GetDomainsResul
t>
        </GetDomainsResponse>
     </soap:Body>..
Response I get in JMeter:

...
&gt;&lt;soap:Body&gt;&lt;soap:Fault&gt;&lt;faultcode&gt;soap:Server&lt;/
faultcode&gt;&lt;faultstring&gt;Server was unable to process request.
---&amp;gt; The given key was not present in the
dictionary.&lt;/faultstring&gt;&lt;detail
/&gt;&lt;/soap:Fault&gt;&lt;/soap:Body&gt;&lt;...

 

Any idea what's the cause?

 

Thanks,

 

Jenny


Re: Got fault code in web service response

Posted by Peter Lin <wo...@gmail.com>.
apache soap supports base64 encoding, but the current SOAP webservice
sampler doesn't really do anything special with base64 encoded data.  are
you trying to view the result in the result tree?

peter


On 1/30/06, Fan, Jenny <jf...@torstardigital.com> wrote:
>
> Hi Guys,
>
>
>
> I just started using JMeter to test web service request. It did work
> with some sample web services. But I got error message in the responses
> when testing a web service which include a base64 encoded in response.
> The web service works fine with soap scope.
>
> Response I get in soap scope:
> ...<soap:Body>
>        +  <javascript:showNode('1.1.2.1');> <GetDomainsResponse
> <http://localhost:7103/tide/main/1.1.2.1@xmlns:>
> xmlns="http://cmsservices.torstardigital.com/Tops2.0">
>        +  <javascript:showNode('1.1.2.1.1');>
> <GetDomainsResult>77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbm...</GetDomainsResul
> t>
>         </GetDomainsResponse>
>      </soap:Body>..
> Response I get in JMeter:
>
> ...
> &gt;&lt;soap:Body&gt;&lt;soap:Fault&gt;&lt;faultcode&gt;soap:Server&lt;/
> faultcode&gt;&lt;faultstring&gt;Server was unable to process request.
> ---&amp;gt; The given key was not present in the
> dictionary.&lt;/faultstring&gt;&lt;detail
> /&gt;&lt;/soap:Fault&gt;&lt;/soap:Body&gt;&lt;...
>
>
>
> Any idea what's the cause?
>
>
>
> Thanks,
>
>
>
> Jenny
>
>
>