From b6fd132bfdcd28c8b6a18a0ee81b055f81432aa7 Mon Sep 17 00:00:00 2001 From: Ford Hurley Date: Thu, 22 May 2014 13:09:11 -0400 Subject: [PATCH] Include method name in percentile distribution reports --- locust/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locust/stats.py b/locust/stats.py index c1af8acdf0..985bca0b7a 100644 --- a/locust/stats.py +++ b/locust/stats.py @@ -342,7 +342,7 @@ def percentile(self, tpl=" %-" + str(STATS_NAME_WIDTH) + "s %8d %6d %6d %6d %6d raise ValueError("Can't calculate percentile on url with no successful requests") return tpl % ( - self.name, + str(self.method) + " " + self.name, self.num_requests, self.get_response_time_percentile(0.5), self.get_response_time_percentile(0.66),