Beispiel #1
0
    def setUp(self):
        self.frac_criteria = TotalFracTimeCriteria(None, "10ms, 50%, 3s")
        self.http_relcriteria = TotalHTTPCodesCriteria(None, "50x, 10%, 3s")
        self.http_abscriteria = TotalHTTPCodesCriteria(None, "50x, 30, 4s")
        self.negative_http_relcriteria = TotalNegativeHTTPCodesCriteria(None, "2xx, 10%, 3s")
        self.negative_http_abscriteria = TotalNegativeHTTPCodesCriteria(None, "20x, 30, 4s")
        self.net_relcriteria = TotalNetCodesCriteria(None, "110, 37%, 3s")
        self.net_abscriteria = TotalNetCodesCriteria(None, "71, 30, 2s")
        self.negative_net_relcriteria = TotalNegativeNetCodesCriteria(None, "0, 45%, 5s")
        self.negative_net_abscriteria = TotalNegativeNetCodesCriteria(None, "0, 100, 5s")

        self.http_trend = TotalHTTPTrendCriteria(None, "2xx, 10s")
Beispiel #2
0
    def setUp(self):
        autostop = AutostopPlugin(self.get_core())
        self.frac_criteria = TotalFracTimeCriteria(autostop, "10ms, 50%, 3s")
        self.http_relcriteria = TotalHTTPCodesCriteria(autostop,
                                                       "50x, 10%, 3s")
        self.http_abscriteria = TotalHTTPCodesCriteria(autostop, "50x, 30, 4s")
        self.negative_http_relcriteria = TotalNegativeHTTPCodesCriteria(
            autostop, "2xx, 10%, 3s")
        self.negative_http_abscriteria = TotalNegativeHTTPCodesCriteria(
            autostop, "20x, 30, 4s")
        self.net_relcriteria = TotalNetCodesCriteria(autostop, "110, 37%, 3s")
        self.net_abscriteria = TotalNetCodesCriteria(autostop, "71, 30, 2s")
        self.negative_net_relcriteria = TotalNegativeNetCodesCriteria(
            autostop, "0, 45%, 5s")
        self.negative_net_abscriteria = TotalNegativeNetCodesCriteria(
            autostop, "0, 100, 5s")
        self.http_trend = TotalHTTPTrendCriteria(autostop, "2xx, 10s")

        self.qsat_absrel = QuantileOfSaturationCriteria(
            autostop, "200ms, 70s, 20%")
 def setUp(self):
     self.relcriteria = TotalNetCodesCriteria(None, "110, 37%, 3s")
     self.abscriteria = TotalNetCodesCriteria(None, "71, 30, 2s")