def getRow (self, line, isTotals=False): row = ReportRow(CONFIG) columns = line.split() row.setErrors(columns[self.getErrorsColumn()]) row.setMeanTestTime(columns[self.getMeanTimeColumn()]) row.setTests(columns[self.getTestsColumn()]) row.setTestTimeStandardDev(columns[self.getStdevColumn()]) row.calculatePassRate() if isTotals: row.setTxName("Totals") else: name = self._summaryData.getTxName(line) row.setTxName(name) return row
def getRow(self, line, isTotals=False): row = ReportRow(CONFIG) columns = line.split() row.setErrors(columns[self.getErrorsColumn()]) row.setMeanTestTime(columns[self.getMeanTimeColumn()]) row.setTests(columns[self.getTestsColumn()]) row.setTestTimeStandardDev(columns[self.getStdevColumn()]) row.calculatePassRate() if isTotals: row.setTxName("Totals") else: name = self._summaryData.getTxName(line) row.setTxName(name) return row
def getRow (self, line, isTotals=False): row = ReportRow(CONFIG) columns = line.split() row.setBytesPerSec(columns[self.getBytesPerSecColumn()]) row.setErrors(columns[self.getErrorsColumn()]) row.setMeanResponseLength(columns[self.getResponseLengthColumn()]) row.setMeanTestTime(columns[self.getMeanTimeColumn()]) row.setMeanTimeConnection(columns[self.getEstablishConnectionColumn()]) row.setMeanTimeFirstByte(columns[self.getFirstByteColumn()]) row.setMeanTimeResolveHost(columns[self.getResolveHostColumn()]) row.setResponseErrors(columns[self.getResponseErrorsColumn()]) row.setTests(columns[self.getTestsColumn()]) row.setTestTimeStandardDev(columns[self.getStdevColumn()]) row.calculatePassRate() if isTotals: row.setTxName("Totals") else: name = self._summaryData.getTxName(line) row.setTxName(name) return row
def getRow(self, line, isTotals=False): row = ReportRow(CONFIG) columns = line.split() row.setBytesPerSec(columns[self.getBytesPerSecColumn()]) row.setErrors(columns[self.getErrorsColumn()]) row.setMeanResponseLength(columns[self.getResponseLengthColumn()]) row.setMeanTestTime(columns[self.getMeanTimeColumn()]) row.setMeanTimeConnection(columns[self.getEstablishConnectionColumn()]) row.setMeanTimeFirstByte(columns[self.getFirstByteColumn()]) row.setMeanTimeResolveHost(columns[self.getResolveHostColumn()]) row.setResponseErrors(columns[self.getResponseErrorsColumn()]) row.setTests(columns[self.getTestsColumn()]) row.setTestTimeStandardDev(columns[self.getStdevColumn()]) row.calculatePassRate() if isTotals: row.setTxName("Totals") else: name = self._summaryData.getTxName(line) row.setTxName(name) return row