You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by git <gi...@cubicalland.com> on 2007/01/16 11:01:03 UTC
[Fwd: Re: HELP::: how to set the connection keep alive for
SOAP/XML RPC request]
-------- Forwarded Message --------
> From: git <gi...@cubicalland.com>
> Reply-To: git@cubicalland.com
> To: neetu kulshrestha <na...@gmail.com>
> Subject: Re: HELP::: how to set the connection keep alive for SOAP/XML
> RPC request
> Date: Mon, 15 Jan 2007 16:41:21 +0000
>
> Dood,
>
> I was worried that this might be the case.
>
> The only solution I can think of is to send the XML of the soap
> request from the http sampler.
>
> The solution is this:
>
> 1) Put in an HTTP sampler.
> 2) Then add a parameter into the 'Send Parameters With Request'
> area.
> 3) Paste the XML of the SOAP/XMLRPC request into the 'name' part of
> the new parameter
> 4) Set the 'include =' and 'encode' check boxes to off
> 5) Set the 'Keep-Alive' for the request to true
> 6) Use the header manager to ensure that the sent content type is
> correct
>
> This should work, if anyone knows a better idea let me know!
>
> Cheers
>
> AJ
>
>
>
> On Mon, 2007-01-15 at 08:17 -0800, neetu kulshrestha wrote:
>
> > Thanks Aj.... but this didn't solve my problem. ACtually I don't
> > have http sampler. I have XML/SOAP sampler where I define the host
> > and port. I have all xml requests passing to the server I don't see
> > any place where I can turn on the http connection Keep alive. I
> > added http header manager and added header Connection value
> > Keep-Alive... didn't work. I see in the logs ... Connection ...
> > value "close, Keep-Alive"......
> >
> >
> > HELP!!!
> >
> >
> >
> >
> > On 1/13/07, git <gi...@cubicalland.com> wrote:
> >
> > Dood,
> >
> > On the http sampler, set use keep-alive to true. However,
> > if your sever
> > is not set to use keep-alive, this will not help. If you
> > are still not
> > getting keep alive connections when you have keep-alive set
> > to true, use
> > a tree-view listener to see the conversation. See
> > http://nerds-central.blogspot.com/2006/08/pushing-envelope-with-jmeter.html
> >
> > AJ
> >
> > On Fri, 2007-01-12 at 10:11 -0800, neetu kulshrestha wrote:
> >
> > > Hi
> > >
> > > I am trying to create a load test plan and I want to keep
> > the http
> > > connection alive throughout one thread. currently each
> > requests in the
> > > thread is opening a connection to the server and as soon
> > as requests
> > > finishes it connection also get closed. SO I can not
> > measure how many
> > > sessions are actually open at a given time. How can I
> > achieve that?
> > >
> > >
> > > Neetu
> >
> > www.cubicalland.com
> > www.nerds-central.blogspot.com
> >
> >
> >
> >
> >
> >
>
> www.cubicalland.com
> www.nerds-central.blogspot.com
>
>
>
>
www.cubicalland.com
www.nerds-central.blogspot.com
Re: [Fwd: Re: HELP::: how to set the connection keep alive for SOAP/XML RPC request]
Posted by sebb <se...@gmail.com>.
On 16/01/07, git <gi...@cubicalland.com> wrote:
> -------- Forwarded Message --------
>
> > From: git <gi...@cubicalland.com>
> > Reply-To: git@cubicalland.com
> > To: neetu kulshrestha <na...@gmail.com>
> > Subject: Re: HELP::: how to set the connection keep alive for SOAP/XML
> > RPC request
> > Date: Mon, 15 Jan 2007 16:41:21 +0000
> >
> > Dood,
> >
> > I was worried that this might be the case.
> >
> > The only solution I can think of is to send the XML of the soap
> > request from the http sampler.
> >
> > The solution is this:
> >
> > 1) Put in an HTTP sampler.
> > 2) Then add a parameter into the 'Send Parameters With Request'
> > area.
> > 3) Paste the XML of the SOAP/XMLRPC request into the 'name' part of
> > the new parameter
> > 4) Set the 'include =' and 'encode' check boxes to off
> > 5) Set the 'Keep-Alive' for the request to true
> > 6) Use the header manager to ensure that the sent content type is
> > correct
> >
> > This should work, if anyone knows a better idea let me know!
> >
As far as I know there is no other solution at present - but feel free
to create a JMeter enhancement request in Bugzilla - a Keep-Alive
checkbox could be added to the sampler.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org