If you want to post the contents of a file, just fill in the
appropriate fields in the table headed "Send Files With the Request"
on the HTTP Sampler.

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]

Reply via email to