function runtest(url, method, data, exheaders, tlscb) {
	var mytestnum = ++testnum;
	sys.puts(mytestnum + " : " + url);
	var startTime = new Date();
	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);
}
// reuses one http client for all requests
reuses one http client for all requests
reuses one http client for all requests
function runtest(url, method, data, exheaders, tlscb) {
	var mytestnum = ++testnum;
	sys.puts(mytestnum + " : " + url);
	var startTime = new Date();
	client.perform(url, method, function(result) {
		var tt = new Date().getTime() - startTime.getTime();
		sys.puts(mytestnum + " : " + result.response.status + " : " + tt);
	}, data, exheaders, tlscb);
}
function runtest ( url , method , data , exheaders , tlscb ) { var mytestnum = ++ testnum ; sys . puts ( mytestnum + " : " + url ) ; var startTime = new Date ( ) ; client . perform ( url , method , function ( result ) { var tt = new Date ( ) . getTime ( ) - startTime . getTime ( ) ; sys . puts ( mytestnum + " : " + result . response . status + " : " + tt ) ; } , data , exheaders , tlscb ) ; }
reuses one http client for all requests
reuses one http client for all requests
/*
		sys.puts(sys.inspect(result));
*/