On 24/02/2010, glc <[email protected]> wrote:
>
>  Thanks !
>  Tried it and i got error i think its related to the content endoding

The error message says:

java.lang.UnsupportedCodingException: ISO8859_1

The supported encodings are listed here:

http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html

This shows that ISO8859_1 is one of the valid encodings.

However ISO8859_1  is not a valid encoding ;-)

The difference is that there is a space after the "1" - check whether
you have accidentally added a space there.

>  I guess i dont know how to config the http request correctly with this
>  paramter
>  what am i doing wrong?
>  appriciate the help...
>
>  http://old.nabble.com/file/p27714157/1.png
>
>  response data failure
>
>  http://old.nabble.com/file/p27714157/2.png
>
>
>
>  On 23/02/2010, glc <[email protected]> wrote:
>  >
>  >  Hi !
>  >  i'm trying to finda way to use html code string as paramter , but it
>  > seems
>  >  like jmeter does not post html code properly (the purpose of my test is
>  > to
>  >  test API functionality when adding  new object with description)
>  >
>  >  1. i use html code in text file, and use the text file as parameter like
>  >  this:
>  >
>  >  http://old.nabble.com/file/p27704791/paramter.png
>  >
>  >  2. the parametr file 'desc.txt' contain this html:
>  >
>  >
>  >  http://old.nabble.com/file/p27704791/code.png
>  >
>  >  3. somehow the html code is converted to somthing else by jmeter and i
>  > get
>  >  this giberrish in my description results:
>  >  http://old.nabble.com/file/p27704791/desc.png
>  >
>  >  of course when i test my API manually it works fine and i get
>  > this(bellow)
>  >  in my description results so i'm pretty sure that  jmeter somhow the
>  > cause
>  >  for it
>  >
>  >  http://old.nabble.com/file/p27704791/html.png
>  >
>  >
>  >  how can i post this html code properly??
>  >
>  >  -----
>  >  Glc
>  >
>  >  :working:
>  >
>  > --
>  >  View this message in context:
>  > 
> http://old.nabble.com/send-html-code-as-parameter-in-HTTP-POST-request-%28functional-test%29-tp27704791p27704791.html
>  >  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: [email protected]
>  >  For additional commands, e-mail: [email protected]
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [email protected]
>  For additional commands, e-mail: [email protected]
>
>
>
>
>
>  -----
>  Glc
>
>  :working:
>  --
>
> View this message in context: 
> http://old.nabble.com/send-html-code-as-parameter-in-HTTP-POST-request-%28functional-test%29-tp27704791p27714157.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [email protected]
>  For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to