WPG - Active connections + persistent idle connections

Sanjeevi Rangan <[email protected]> Fri, 18 Mar 2016 00:15:14 +0530
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <CANZ82UFLuPFDrMNF6bZwh9oW_y7on+TTT-z9bZjSgfE6mO3-ww@mail.gmail.com>
--===============3572867950051370285==
Content-Type: multipart/alternative; boundary=001a113fe1bef4be33052e43078d

--001a113fe1bef4be33052e43078d
Content-Type: text/plain; charset=UTF-8

Hi,

I am trying to simulate persistent idle connections (that won't contribute
to the actual traffic) along with the workload that contributes to the
traffic. For an instance, if the actual test has 100 concurrent connections
that has content size of 64KB, I would like to have few sockets (say 50) in
established state without sending any requests. The requests would go via
proxy. Is it possible to keep the socket connections
(client->proxy->server) alive with out sending any requests (or just keep
alives that doesn't send much of data) in WPG?

The best that I could achieve was sending 'HEAD' request with rate of
1/1min for a specified number of connections. But this would close the
existing socket connections and open new sockets. I would like to keep the
same sockets alive for simulating the idle connections.

I can even run two instances of WPG server (listening to two different
ports) and clients (one for the active connections and another one for idle
connections). Any suggestions on how to achieve this using WPG would be
great. Thanks in advance!

-- 
*Regards,*
*Sanjeevi Rangan*

--001a113fe1bef4be33052e43078d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,<br><br></div>I am trying to simulate persistent i=
dle connections (that won&#39;t contribute to the actual traffic) along wit=
h the workload that contributes to the traffic. For an instance, if the act=
ual test has 100 concurrent connections that has content size of 64KB, I wo=
uld like to have few sockets (say 50) in established state without sending =
any requests. The requests would go via proxy. Is it possible to keep the s=
ocket connections (client-&gt;proxy-&gt;server) alive with out sending any =
requests (or just keep alives that doesn&#39;t send much of data) in WPG? <=
br><br>The best that I could achieve was sending &#39;HEAD&#39; request wit=
h rate of 1/1min for a specified number of connections. But this would clos=
e the existing socket connections and open new sockets. I would like to kee=
p the same sockets alive for simulating the idle connections.<br><br>I can =
even run two instances of WPG server (listening to two different ports) and=
 clients (one for the active connections and another one for idle connectio=
ns). Any suggestions on how to achieve this using WPG would be great. Thank=
s in advance!<br clear=3D"all"><div><div><br>-- <br><div class=3D"gmail_sig=
nature"><div dir=3D"ltr"><i><b>Regards,</b></i><div><i><b>Sanjeevi Ranga</b=
><b>n</b></i><i><b><br></b></i></div><br><div><br></div></div></div>
</div></div></div>

--001a113fe1bef4be33052e43078d--

--===============3572867950051370285==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Users mailing list
[email protected]
http://lists.web-polygraph.org/mailman/listinfo/users
--===============3572867950051370285==--