From 758933b342c5710e14772501c61c0962a28bb0c9 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Mon, 18 Apr 2016 09:41:14 +0200 Subject: [PATCH] mpExperienceHTTP(S): added time command at client side Know how much time wget was launched, quicker to analyze --- src/mpExperienceHTTP.py | 2 +- src/mpExperienceHTTPS.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpExperienceHTTP.py b/src/mpExperienceHTTP.py index 2f00012..9ba50f7 100644 --- a/src/mpExperienceHTTP.py +++ b/src/mpExperienceHTTP.py @@ -55,7 +55,7 @@ class MpExperienceHTTP(MpExperience): return s def getHTTPClientCmd(self): - s = MpExperienceHTTP.WGET_BIN + " http://" + self.mpConfig.getServerIP() + \ + s = "time " + MpExperienceHTTP.WGET_BIN + " http://" + self.mpConfig.getServerIP() + \ "/" + self.file + " --no-check-certificate &>" + MpExperienceHTTP.CLIENT_LOG print(s) return s diff --git a/src/mpExperienceHTTPS.py b/src/mpExperienceHTTPS.py index 7b578a5..e67b617 100644 --- a/src/mpExperienceHTTPS.py +++ b/src/mpExperienceHTTPS.py @@ -55,7 +55,7 @@ class MpExperienceHTTPS(MpExperience): return s def getHTTPSClientCmd(self): - s = MpExperienceHTTPS.WGET_BIN + " https://" + self.mpConfig.getServerIP() + \ + s = "time " +MpExperienceHTTPS.WGET_BIN + " https://" + self.mpConfig.getServerIP() + \ "/" + self.file + " --no-check-certificate &>" + MpExperienceHTTPS.CLIENT_LOG print(s) return s