Sending multiple requests in single SSL connection

Dmitry Kurochkin dmitry.kurochkin at measurement-factory.com
Tue Dec 18 23:20:34 UTC 2012


Hi Jacky.

unjc email <unjc.email at gmail.com> writes:

> Hello there,
>
> I need some help in configuring SSL session.  The following is what I
> have configured for the robot.  I want to configure the client
> workload to send three or four requests per SSL connection.  With the
> current setting, I found each HTTPS request has its own SSL connection
> and it is closed upon receiving the requested object.  Please advise
> the correct setting to configure robots to make multiple requests in a
> single SSL connection.
>

Robot config looks good.  Did you set pconn_use_lmt for Server?

> As you see I have set two domain lists for the clients, one set is for
> HTTP requests and the other set for HTTPS requests.  They are all
> unique domains.  Would there be a problem for robots to reuse SSL
> connections for requesting different objects fromthe same site/domain?
>

No.

Regards,
  Dmitry

> Robot R = {
> 	kind = "R101";
> 	pop_model = {
> 		pop_distr = popUnif();
> 	};
> 	recurrence = 50%;
> 	req_rate = undef();
> 	origins = [M1.names, M2.names: 10%];
> 	credentials = select(totalMemberSpace, totalRobots);
> 	SslWrap wrap1 = {
> 		ssl_config_file = "/tmp/ssl.conf";
> 		protocols = ["any"];
> 		ciphers = ["ALL:HIGH": 100%];
> 		rsa_key_sizes = [1024bit];
> 		session_resumption = 40%;
> 		session_cache = 100;
> 	};
> 	ssl_wraps = [wrap1];
> 	addresses = robotAddrs(authAddrScheme, theBench);
> 	pconn_use_lmt = const(2147483647);
> 	idle_pconn_tout = idleConnectionTimeout;
> 	open_conn_lmt = maxConnPerRobot;
> 	http_versions = ["1.0"];
> };
>
> AddrMap M2 = {
> 	names = ['affiliate.de:9090','buzzfeed.com:9090','usbank.com:9090'...
>
> AddrMap M2 = {
> 	names = ['google.com:9191','facebook.com:9191','youtube.com:9191'...
>
>
>
>
>
> Thank you very much,
> Jacky
> _______________________________________________
> Users mailing list
> Users at web-polygraph.org
> http://www.web-polygraph.org/mailman/listinfo/users



More information about the Users mailing list