diff --git a/src/mpExperienceHTTPS.py b/src/mpExperienceHTTPS.py index 2706275..af13544 100644 --- a/src/mpExperienceHTTPS.py +++ b/src/mpExperienceHTTPS.py @@ -70,9 +70,13 @@ class MpExperienceHTTPS(MpExperience): def run(self): cmd = self.getHTTPSServerCmd() + self.mpTopo.commandTo(self.mpConfig.server, "netstat -sn > netstat_server_before") self.mpTopo.commandTo(self.mpConfig.server, cmd) self.mpTopo.commandTo(self.mpConfig.client, "sleep 2") cmd = self.getHTTPSClientCmd() + self.mpTopo.commandTo(self.mpConfig.client, "netstat -sn > netstat_client_before") self.mpTopo.commandTo(self.mpConfig.client, cmd) + self.mpTopo.commandTo(self.mpConfig.server, "netstat -sn > netstat_server_after") + self.mpTopo.commandTo(self.mpConfig.client, "netstat -sn > netstat_client_after") self.mpTopo.commandTo(self.mpConfig.client, "sleep 2") diff --git a/src/mpExperienceSiri.py b/src/mpExperienceSiri.py index 5d49b9d..a2dbb4e 100644 --- a/src/mpExperienceSiri.py +++ b/src/mpExperienceSiri.py @@ -72,9 +72,13 @@ class MpExperienceSiri(MpExperience): def run(self): cmd = self.getSiriServerCmd() + self.mpTopo.commandTo(self.mpConfig.server, "netstat -sn > netstat_server_before") self.mpTopo.commandTo(self.mpConfig.server, cmd) self.mpTopo.commandTo(self.mpConfig.client, "sleep 2") cmd = self.getSiriClientCmd() + self.mpTopo.commandTo(self.mpConfig.client, "netstat -sn > netstat_client_before") self.mpTopo.commandTo(self.mpConfig.client, cmd) + self.mpTopo.commandTo(self.mpConfig.server, "netstat -sn > netstat_server_after") + self.mpTopo.commandTo(self.mpConfig.client, "netstat -sn > netstat_client_after") self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")