function runtest2(url, method, data, exheaders, tlscb) {
	var mytestnum = ++testnum;
	sys.puts(mytestnum + " : " + url);
	var startTime = new Date();
	var client = new httpcli.httpclient();	
	client.perform(url, method, function(result) {
		var tt = new Date().getTime() - startTime.getTime();
		sys.puts(mytestnum + " : " + result.response.status + " : " + tt);
/*
		sys.puts(sys.inspect(result));
*/
	}, data, exheaders, tlscb);
}
// creates a new client for each request
creates a new client for each request
creates a new client for each request
function runtest2(url, method, data, exheaders, tlscb) {
	var mytestnum = ++testnum;
	sys.puts(mytestnum + " : " + url);
	var startTime = new Date();
	var client = new httpcli.httpclient();	
	client.perform(url, method, function(result) {
		var tt = new Date().getTime() - startTime.getTime();
		sys.puts(mytestnum + " : " + result.response.status + " : " + tt);
	}, data, exheaders, tlscb);
}
function runtest2 ( url , method , data , exheaders , tlscb ) { var mytestnum = ++ testnum ; sys . puts ( mytestnum + " : " + url ) ; var startTime = new Date ( ) ; var client = new httpcli . httpclient ( ) ; client . perform ( url , method , function ( result ) { var tt = new Date ( ) . getTime ( ) - startTime . getTime ( ) ; sys . puts ( mytestnum + " : " + result . response . status + " : " + tt ) ; } , data , exheaders , tlscb ) ; }
creates a new client for each request
creates a new client for each request
/*
		sys.puts(sys.inspect(result));
*/