mpExperienceHTTPS/Siri: with netstat
This commit is contained in:
parent
447669c24d
commit
a7638f84b7
@ -70,9 +70,13 @@ class MpExperienceHTTPS(MpExperience):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
cmd = self.getHTTPSServerCmd()
|
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.server, cmd)
|
||||||
|
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
||||||
cmd = self.getHTTPSClientCmd()
|
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.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")
|
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
||||||
|
@ -72,9 +72,13 @@ class MpExperienceSiri(MpExperience):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
cmd = self.getSiriServerCmd()
|
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.server, cmd)
|
||||||
|
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
||||||
cmd = self.getSiriClientCmd()
|
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.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")
|
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
||||||
|
Loading…
Reference in New Issue
Block a user