You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by li...@dankeeley.co.uk on 2007/05/18 16:24:55 UTC

Base64 decoding in the viewer.

Hi,

We use jmeter to view responses in our XML/RPC application.

Sometimes parts of the xml response message are base64 encoded due to
using characters otherwise invalid in the XML/RPC Spec.

So my question is could we devise a way to tell the jmeter response viewer
pane which bit is encoded, and therefore how to decode it?

This seems unlikely, but worth asking!  For now we just have to carefully
cut and paste into an online base64 decoder.

Thanks,
Dan

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


Re: Base64 decoding in the viewer.

Posted by sebb <se...@gmail.com>.
You could write a BeanShell Post-Processor that changed the sampler
data, or you could write a BeanShell Listener to display the data
directly.

Or you could create your own Listener, e.g. by extending/amending the
Tree View Listener.

However, these would all require Java coding experience.

If the conversion could be done by using an XSL stylesheet, then it
might be worth considering creating a Listener that could apply the
stylesheet to the data for display.

You could test this by using Save Responses to a File and adding the
stylesheet reference to it.

S.
On 18/05/07, lists@dankeeley.co.uk <li...@dankeeley.co.uk> wrote:
> Hi,
>
> We use jmeter to view responses in our XML/RPC application.
>
> Sometimes parts of the xml response message are base64 encoded due to
> using characters otherwise invalid in the XML/RPC Spec.
>
> So my question is could we devise a way to tell the jmeter response viewer
> pane which bit is encoded, and therefore how to decode it?
>
> This seems unlikely, but worth asking!  For now we just have to carefully
> cut and paste into an online base64 decoder.
>
> Thanks,
> Dan
>
> ---------------------------------------------------------------------
> 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