jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Troy Harris <troy.harris...@gmail.com>
Subject Re: Encoded UTF16 json response
Date Thu, 05 Mar 2009 02:45:38 GMT
2009/3/5 sebb <sebbaz@gmail.com>

> On 02/03/2009, Troy Harris <troy.harris.oz@gmail.com> wrote:
> > Hi,
> >
> >  Im having trouble viewing a Response which is chunked UTF-16. View
> results
> >  tree displays encoded text which I cant use.
>
> I doubt that the chunking makes any difference.
>
> JMeter uses Java HTML document to display the response. I don't know
> if it can handle UTF-16.
>
> >  If I Save Response to a file it appears as
> >  expected in notepad (notepad++ displays NUL after
> >  each character).
>
> That's not proof that the contents are OK - do you not have an
> application that can display the data properly?
>

Yes, the browser - FF/IE7. Once this page hits the browser the jqGrid loads
with data.


> >  Am I missing a config option to allow the UTF-16 reponse to be
> displayed?
>
> No.
>
> >  Should I be able to extract a variable out of the saved file even though
> its
> >  UTF-16?
>
> No, you cannot extract variables out of saved files - UTF-16 or otherwise.
>
> However, you should be able to extract variables out of the response data.
>
> >
> >  Response headers:
> >  HTTP/1.1 200 OK
> >  Cache-Control: private
> >  Transfer-Encoding: chunked
> >  Content-Type: application/json; charset=utf-16
> >  Server: Microsoft-IIS/7.0
> >  X-AspNet-Version: 2.0.50727
> >  Set-Cookie:
> >
>  SecurityToken=etlwabVmCrGZDZU0Ix+Re1oUhBmHlZFQDDKrVO68Pd5tdqT2HgkEEyaiBR2UyKiL;
> >  expires=Mon, 02-Mar-2009 05:55:06 GMT; path=/
> >  X-Powered-By: ASP.NET
> >  Date: Mon, 02 Mar 2009 05:35:05 GMT
> >
> >
> >
> >  Thanks for your help.
>
> Is there a publically accessible page that returns data encoded in this
> way?
>

Not at the moment, software is in development stage.

>
> Does JMeter work OK for you if the encoding is set to UTF-8 (assuming
> that there are such pages on the server under test)?
>

I have the Developers changing the reponse to UTF-8 in the next build so
hopefully
the issue wont occur. I'll update the post then.

Thanks for your help Seb


>
> >  Troy
> >
> >
> >  --
> >  NOTICE:
> >  This e-mail message is intended only for the addressee(s) and contains
> >  information which may be confidential. If you are not the intended
> recipient
> >  please advise the sender by return email, do not use or disclose the
> >  contents, and delete the message and any attachments from your system.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


-- 
NOTICE:
This e-mail message is intended only for the addressee(s) and contains
information which may be confidential. If you are not the intended recipient
please advise the sender by return email, do not use or disclose the
contents, and delete the message and any attachments from your system.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message