Thanks Sebb.

Our test environment was dismantled today so I haven't
tried this out.
But I'll try it out later on a dev environment and see
how it goes.

John.

--- sebb <[EMAIL PROTECTED]> wrote:

> OK, in that case I think there is a work-round.
> 
> If you use parameters with values but *no names*,
> then HttpClient (and
> Java http) will include the values in the POST body
> as is with no
> encoding or equals signs.
> 
> (This does not appear to be documented anywhere ...
> oops!)
> 
> You can test this by using the Mirror server.
> 
> Also, I suggest you update to 2.3; that has some
> fixes over 2.3RC4.
> 
> S.
> On 08/10/2007, John Dempsey <[EMAIL PROTECTED]>
> wrote:
> > Version 2.3RC4
> > Using HTTP method POST so sent as part of the
> body.
> > Java version 1.5 update 6.
> >
> > We have run a test since I sent the original email
> and
> > the java parameter for defaultReadTimeout seems to
> > have worked fine.
> > But it would be nice to get the httpclient working
> > correctly for the test as it offers more
> > functionality.
> >
> > Thanks.
> >
> > --- sebb <[EMAIL PROTECTED]> wrote:
> >
> > > Which version of JMeter?
> > >
> > > Which HTTP method are you using? GET or PUT ?
> > >
> > > GET works fine for me with both samplers.
> > >
> > > Are you expecting the parameter to be sent as
> part
> > > of the URL or as
> > > part of the body?
> > >
> > > On 08/10/2007, John Dempsey
> <[EMAIL PROTECTED]>
> > > wrote:
> > > > Hi Guys,
> > > >
> > > > I am currently reading in values from a data
> file
> > > and
> > > > using one of the values as a parameter name in
> a
> > > > httpclient sampler.
> > > > The parameter is to be sent with no value and
> no
> > > > equals sign.
> > > > Also there should be no encoding.
> > > >
> > > > When sending this parameter with the
> Httpclient
> > > all
> > > > instances of the character "/" get changed to
> > > "%2F"
> > > > and an equals sign is appended to the end.
> > > > I have unchecked the boxes for "Encode?" and
> > > "Include
> > > > Equals?" and the content encoding box is
> empty.
> > > > Is there a special property somewhere else I
> need
> > > to
> > > > change?
> > > >
> > > > This parameter is sent correctly if I use the
> > > normal
> > > > http request.
> > > > I changed to the http client to check for
> socket
> > > > timeouts.
> > > >
> > > > Maybe I should go back to the normal requests
> and
> > > > include
> "-Dsun.net.client.defaultReadTimeout=1000"
> > > as
> > > > java parameter is mentioned in the thread
> below?
> > > >
> > >
> >
>
http://marc.info/?l=jmeter-user&m=107874827502836&w=2
> > > >
> > > > Any advice on this?
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > Send instant messages to your online friends
> > > http://uk.messenger.yahoo.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]
> > >
> > >
> >
> >
> > Send instant messages to your online friends
> http://uk.messenger.yahoo.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]
> 
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to