var stats = {
	type: "GROUP",
contents: {
		
				"server_init": {
		type: "REQUEST",
		name: "server init",
path: "server init",
pathFormatted: "server_init",
stats: {
	numberOfRequests : {
		total: "1",
		ok: "1",
		ko: "0"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	maxResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	meanResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	standardDeviation : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	percentiles1 : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	percentiles2 : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 1,
		percentage: 100
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 0,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 0,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "0",
		ok: "0",
		ko: "-"
	}
}


	}
		,		
				"drop_db": {
		type: "REQUEST",
		name: "drop db",
path: "drop db",
pathFormatted: "drop_db",
stats: {
	numberOfRequests : {
		total: "1",
		ok: "1",
		ko: "0"
	},
	minResponseTime : {
		total: "490",
		ok: "490",
		ko: "-"
	},
	maxResponseTime : {
		total: "490",
		ok: "490",
		ko: "-"
	},
	meanResponseTime : {
		total: "490",
		ok: "490",
		ko: "-"
	},
	standardDeviation : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	percentiles1 : {
		total: "490",
		ok: "490",
		ko: "-"
	},
	percentiles2 : {
		total: "490",
		ok: "490",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 1,
		percentage: 100
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 0,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 0,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "0",
		ok: "0",
		ko: "-"
	}
}


	}
		,		
				"init_db": {
		type: "REQUEST",
		name: "init db",
path: "init db",
pathFormatted: "init_db",
stats: {
	numberOfRequests : {
		total: "1",
		ok: "1",
		ko: "0"
	},
	minResponseTime : {
		total: "250",
		ok: "250",
		ko: "-"
	},
	maxResponseTime : {
		total: "250",
		ok: "250",
		ko: "-"
	},
	meanResponseTime : {
		total: "250",
		ok: "250",
		ko: "-"
	},
	standardDeviation : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	percentiles1 : {
		total: "250",
		ok: "250",
		ko: "-"
	},
	percentiles2 : {
		total: "250",
		ok: "250",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 1,
		percentage: 100
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 0,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 0,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "0",
		ok: "0",
		ko: "-"
	}
}


	}
		,		
				"ensure_indexes": {
		type: "REQUEST",
		name: "ensure indexes",
path: "ensure indexes",
pathFormatted: "ensure_indexes",
stats: {
	numberOfRequests : {
		total: "1",
		ok: "1",
		ko: "0"
	},
	minResponseTime : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	maxResponseTime : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	meanResponseTime : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	standardDeviation : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	percentiles1 : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	percentiles2 : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 1,
		percentage: 100
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 0,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 0,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "0",
		ok: "0",
		ko: "-"
	}
}


	}
		,		
				"create_user": {
		type: "REQUEST",
		name: "create user",
path: "create user",
pathFormatted: "create_user",
stats: {
	numberOfRequests : {
		total: "500",
		ok: "500",
		ko: "0"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	maxResponseTime : {
		total: "30",
		ok: "30",
		ko: "-"
	},
	meanResponseTime : {
		total: "3",
		ok: "3",
		ko: "-"
	},
	standardDeviation : {
		total: "4",
		ok: "4",
		ko: "-"
	},
	percentiles1 : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	percentiles2 : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 500,
		percentage: 100
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 0,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 0,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "0",
		ok: "0",
		ko: "-"
	}
}


	}
		,		
				"create_spaces": {
		type: "REQUEST",
		name: "create spaces",
path: "create spaces",
pathFormatted: "create_spaces",
stats: {
	numberOfRequests : {
		total: "500",
		ok: "500",
		ko: "0"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	maxResponseTime : {
		total: "230",
		ok: "230",
		ko: "-"
	},
	meanResponseTime : {
		total: "4",
		ok: "4",
		ko: "-"
	},
	standardDeviation : {
		total: "11",
		ok: "11",
		ko: "-"
	},
	percentiles1 : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	percentiles2 : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 500,
		percentage: 100
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 0,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 0,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "0",
		ok: "0",
		ko: "-"
	}
}


	}
		,		
				"get_room": {
		type: "REQUEST",
		name: "get room",
path: "get room",
pathFormatted: "get_room",
stats: {
	numberOfRequests : {
		total: "10000",
		ok: "10000",
		ko: "0"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	maxResponseTime : {
		total: "14340",
		ok: "14340",
		ko: "-"
	},
	meanResponseTime : {
		total: "374",
		ok: "374",
		ko: "-"
	},
	standardDeviation : {
		total: "566",
		ok: "566",
		ko: "-"
	},
	percentiles1 : {
		total: "830",
		ok: "830",
		ko: "-"
	},
	percentiles2 : {
		total: "1110",
		ok: "1110",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 9402,
		percentage: 94
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 534,
		percentage: 5
	},
	group3 : {
		name: "t > 1200 ms",
		count: 64,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "1",
		ok: "1",
		ko: "-"
	}
}


	}
		,		
				"get_token": {
		type: "REQUEST",
		name: "get token",
path: "get token",
pathFormatted: "get_token",
stats: {
	numberOfRequests : {
		total: "500",
		ok: "500",
		ko: "0"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	maxResponseTime : {
		total: "1570",
		ok: "1570",
		ko: "-"
	},
	meanResponseTime : {
		total: "11",
		ok: "11",
		ko: "-"
	},
	standardDeviation : {
		total: "75",
		ok: "75",
		ko: "-"
	},
	percentiles1 : {
		total: "10",
		ok: "10",
		ko: "-"
	},
	percentiles2 : {
		total: "180",
		ok: "180",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 499,
		percentage: 99
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 0,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 1,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "0",
		ok: "0",
		ko: "-"
	}
}


	}
		,		
				"read_message": {
		type: "REQUEST",
		name: "read message",
path: "read message",
pathFormatted: "read_message",
stats: {
	numberOfRequests : {
		total: "3790074",
		ok: "3790063",
		ko: "11"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "0"
	},
	maxResponseTime : {
		total: "20360",
		ok: "20360",
		ko: "330"
	},
	meanResponseTime : {
		total: "126",
		ok: "126",
		ko: "115"
	},
	standardDeviation : {
		total: "703",
		ok: "703",
		ko: "116"
	},
	percentiles1 : {
		total: "320",
		ok: "320",
		ko: "280"
	},
	percentiles2 : {
		total: "1390",
		ok: "1390",
		ko: "330"
	},
	group1 : {
		name: "t < 800 ms",
		count: 3750604,
		percentage: 98
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 1079,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 38380,
		percentage: 1
	},
	group4 : {
		name: "failed",
		count: 11,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "308",
		ok: "308",
		ko: "0"
	}
}


	}
		,		
				"who_is_online": {
		type: "REQUEST",
		name: "who is online",
path: "who is online",
pathFormatted: "who_is_online",
stats: {
	numberOfRequests : {
		total: "2275017",
		ok: "2275013",
		ko: "4"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "0"
	},
	maxResponseTime : {
		total: "20510",
		ok: "20510",
		ko: "330"
	},
	meanResponseTime : {
		total: "197",
		ok: "197",
		ko: "118"
	},
	standardDeviation : {
		total: "659",
		ok: "659",
		ko: "126"
	},
	percentiles1 : {
		total: "470",
		ok: "470",
		ko: "330"
	},
	percentiles2 : {
		total: "660",
		ok: "660",
		ko: "330"
	},
	group1 : {
		name: "t < 800 ms",
		count: 2253955,
		percentage: 99
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 763,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 20295,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 4,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "185",
		ok: "185",
		ko: "0"
	}
}


	}
		,		
				"send_message": {
		type: "REQUEST",
		name: "send message",
path: "send message",
pathFormatted: "send_message",
stats: {
	numberOfRequests : {
		total: "1895537",
		ok: "1895533",
		ko: "4"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "0"
	},
	maxResponseTime : {
		total: "21270",
		ok: "21270",
		ko: "740"
	},
	meanResponseTime : {
		total: "527",
		ok: "527",
		ko: "200"
	},
	standardDeviation : {
		total: "839",
		ok: "839",
		ko: "312"
	},
	percentiles1 : {
		total: "1910",
		ok: "1910",
		ko: "740"
	},
	percentiles2 : {
		total: "3130",
		ok: "3130",
		ko: "740"
	},
	group1 : {
		name: "t < 800 ms",
		count: 1611032,
		percentage: 84
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 73799,
		percentage: 3
	},
	group3 : {
		name: "t > 1200 ms",
		count: 210702,
		percentage: 11
	},
	group4 : {
		name: "failed",
		count: 4,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "154",
		ok: "154",
		ko: "0"
	}
}


	}
		,		
				"update_unread": {
		type: "REQUEST",
		name: "update unread",
path: "update unread",
pathFormatted: "update_unread",
stats: {
	numberOfRequests : {
		total: "473559",
		ok: "473557",
		ko: "2"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "70"
	},
	maxResponseTime : {
		total: "19770",
		ok: "19770",
		ko: "80"
	},
	meanResponseTime : {
		total: "161",
		ok: "161",
		ko: "75"
	},
	standardDeviation : {
		total: "560",
		ok: "560",
		ko: "5"
	},
	percentiles1 : {
		total: "430",
		ok: "430",
		ko: "80"
	},
	percentiles2 : {
		total: "600",
		ok: "600",
		ko: "80"
	},
	group1 : {
		name: "t < 800 ms",
		count: 470438,
		percentage: 99
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 144,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 2975,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 2,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "39",
		ok: "39",
		ko: "0"
	}
}


	}
		,		
				"update_unread_target": {
		type: "REQUEST",
		name: "update unread target",
path: "update unread target",
pathFormatted: "update_unread_target",
stats: {
	numberOfRequests : {
		total: "474623",
		ok: "474622",
		ko: "1"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "0"
	},
	maxResponseTime : {
		total: "18390",
		ok: "18390",
		ko: "0"
	},
	meanResponseTime : {
		total: "148",
		ok: "148",
		ko: "0"
	},
	standardDeviation : {
		total: "564",
		ok: "564",
		ko: "0"
	},
	percentiles1 : {
		total: "410",
		ok: "410",
		ko: "0"
	},
	percentiles2 : {
		total: "600",
		ok: "600",
		ko: "0"
	},
	group1 : {
		name: "t < 800 ms",
		count: 471319,
		percentage: 99
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 154,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 3149,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 1,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "39",
		ok: "39",
		ko: "0"
	}
}


	}
		,		
				"toggle_favorite": {
		type: "REQUEST",
		name: "toggle favorite",
path: "toggle favorite",
pathFormatted: "toggle_favorite",
stats: {
	numberOfRequests : {
		total: "94484",
		ok: "94483",
		ko: "1"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "70"
	},
	maxResponseTime : {
		total: "17210",
		ok: "17210",
		ko: "70"
	},
	meanResponseTime : {
		total: "189",
		ok: "189",
		ko: "70"
	},
	standardDeviation : {
		total: "529",
		ok: "529",
		ko: "0"
	},
	percentiles1 : {
		total: "490",
		ok: "490",
		ko: "70"
	},
	percentiles2 : {
		total: "640",
		ok: "640",
		ko: "70"
	},
	group1 : {
		name: "t < 800 ms",
		count: 93876,
		percentage: 99
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 47,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 560,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 1,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "8",
		ok: "8",
		ko: "0"
	}
}


	}
		,		
				"clear_notifications": {
		type: "REQUEST",
		name: "clear notifications",
path: "clear notifications",
pathFormatted: "clear_notifications",
stats: {
	numberOfRequests : {
		total: "94442",
		ok: "94442",
		ko: "0"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	maxResponseTime : {
		total: "19240",
		ok: "19240",
		ko: "-"
	},
	meanResponseTime : {
		total: "182",
		ok: "182",
		ko: "-"
	},
	standardDeviation : {
		total: "532",
		ok: "532",
		ko: "-"
	},
	percentiles1 : {
		total: "470",
		ok: "470",
		ko: "-"
	},
	percentiles2 : {
		total: "680",
		ok: "680",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 93774,
		percentage: 99
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 110,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 558,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "8",
		ok: "8",
		ko: "-"
	}
}


	}
		,		
				"get_status": {
		type: "REQUEST",
		name: "get status",
path: "get status",
pathFormatted: "get_status",
stats: {
	numberOfRequests : {
		total: "284842",
		ok: "284842",
		ko: "0"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	maxResponseTime : {
		total: "20090",
		ok: "20090",
		ko: "-"
	},
	meanResponseTime : {
		total: "192",
		ok: "192",
		ko: "-"
	},
	standardDeviation : {
		total: "530",
		ok: "530",
		ko: "-"
	},
	percentiles1 : {
		total: "500",
		ok: "500",
		ko: "-"
	},
	percentiles2 : {
		total: "660",
		ok: "660",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 282992,
		percentage: 99
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 161,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 1689,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "23",
		ok: "23",
		ko: "-"
	}
}


	}
		,		
				"set_status": {
		type: "REQUEST",
		name: "set status",
path: "set status",
pathFormatted: "set_status",
stats: {
	numberOfRequests : {
		total: "94679",
		ok: "94679",
		ko: "0"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "-"
	},
	maxResponseTime : {
		total: "19800",
		ok: "19800",
		ko: "-"
	},
	meanResponseTime : {
		total: "191",
		ok: "191",
		ko: "-"
	},
	standardDeviation : {
		total: "550",
		ok: "550",
		ko: "-"
	},
	percentiles1 : {
		total: "490",
		ok: "490",
		ko: "-"
	},
	percentiles2 : {
		total: "640",
		ok: "640",
		ko: "-"
	},
	group1 : {
		name: "t < 800 ms",
		count: 94077,
		percentage: 99
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 39,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 563,
		percentage: 0
	},
	group4 : {
		name: "failed",
		count: 0,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "8",
		ok: "8",
		ko: "-"
	}
}


	}
		},
name: "Global Information",
path: "",
pathFormatted: "",
stats: {
	numberOfRequests : {
		total: "9488761",
		ok: "9488738",
		ko: "23"
	},
	minResponseTime : {
		total: "0",
		ok: "0",
		ko: "0"
	},
	maxResponseTime : {
		total: "21270",
		ok: "21270",
		ko: "740"
	},
	meanResponseTime : {
		total: "230",
		ok: "230",
		ko: "120"
	},
	standardDeviation : {
		total: "717",
		ok: "717",
		ko: "168"
	},
	percentiles1 : {
		total: "640",
		ok: "640",
		ko: "330"
	},
	percentiles2 : {
		total: "2640",
		ok: "2640",
		ko: "740"
	},
	group1 : {
		name: "t < 800 ms",
		count: 9132972,
		percentage: 96
	},
	group2 : {
		name: "800 ms < t < 1200 ms",
		count: 76830,
		percentage: 0
	},
	group3 : {
		name: "t > 1200 ms",
		count: 278936,
		percentage: 2
	},
	group4 : {
		name: "failed",
		count: 23,
		percentage: 0
	},
	meanNumberOfRequestsPerSecond: {
		total: "772",
		ok: "772",
		ko: "0"
	}
}



}

function fillStats(stat){
    $("#numberOfRequests").append(stat.numberOfRequests.total);
    $("#numberOfRequestsOK").append(stat.numberOfRequests.ok);
    $("#numberOfRequestsKO").append(stat.numberOfRequests.ko);

    $("#minResponseTime").append(stat.minResponseTime.total);
    $("#minResponseTimeOK").append(stat.minResponseTime.ok);
    $("#minResponseTimeKO").append(stat.minResponseTime.ko);

    $("#maxResponseTime").append(stat.maxResponseTime.total);
    $("#maxResponseTimeOK").append(stat.maxResponseTime.ok);
    $("#maxResponseTimeKO").append(stat.maxResponseTime.ko);

    $("#meanResponseTime").append(stat.meanResponseTime.total);
    $("#meanResponseTimeOK").append(stat.meanResponseTime.ok);
    $("#meanResponseTimeKO").append(stat.meanResponseTime.ko);

    $("#standardDeviation").append(stat.standardDeviation.total);
    $("#standardDeviationOK").append(stat.standardDeviation.ok);
    $("#standardDeviationKO").append(stat.standardDeviation.ko);

    $("#percentiles1").append(stat.percentiles1.total);
    $("#percentiles1OK").append(stat.percentiles1.ok);
    $("#percentiles1KO").append(stat.percentiles1.ko);

    $("#percentiles2").append(stat.percentiles2.total);
    $("#percentiles2OK").append(stat.percentiles2.ok);
    $("#percentiles2KO").append(stat.percentiles2.ko);

    $("#meanNumberOfRequestsPerSecond").append(stat.meanNumberOfRequestsPerSecond.total);
    $("#meanNumberOfRequestsPerSecondOK").append(stat.meanNumberOfRequestsPerSecond.ok);
    $("#meanNumberOfRequestsPerSecondKO").append(stat.meanNumberOfRequestsPerSecond.ko);
}
