Search in sources :

Example 26 with NullProperty

use of org.apache.jmeter.testelement.property.NullProperty in project jmeter-plugins by undera.

the class DbMonGui method configure.

@Override
public void configure(TestElement te) {
    super.configure(te);
    DbMonCollector dmte = (DbMonCollector) te;
    JMeterProperty dbmonValues = dmte.getSamplerSettings();
    if (!(dbmonValues instanceof NullProperty)) {
        JMeterPluginsUtils.collectionPropertyToTableModelRows((CollectionProperty) dbmonValues, tableModel, columnClasses);
    } else {
        log.warn("Received null property instead of collection");
    }
}
Also used : DbMonCollector(kg.apc.jmeter.dbmon.DbMonCollector) JMeterProperty(org.apache.jmeter.testelement.property.JMeterProperty) NullProperty(org.apache.jmeter.testelement.property.NullProperty)

Aggregations

NullProperty (org.apache.jmeter.testelement.property.NullProperty)26 JMeterProperty (org.apache.jmeter.testelement.property.JMeterProperty)24 CollectionProperty (org.apache.jmeter.testelement.property.CollectionProperty)13 ArrayList (java.util.ArrayList)4 PropertyIterator (org.apache.jmeter.testelement.property.PropertyIterator)3 TestElementProperty (org.apache.jmeter.testelement.property.TestElementProperty)3 List (java.util.List)2 TestElement (org.apache.jmeter.testelement.TestElement)2 StringProperty (org.apache.jmeter.testelement.property.StringProperty)2 Test (org.junit.Test)2 FirefoxDriverConfig (com.googlecode.jmeter.plugins.webdriver.config.FirefoxDriverConfig)1 File (java.io.File)1 IOException (java.io.IOException)1 InetAddress (java.net.InetAddress)1 UnknownHostException (java.net.UnknownHostException)1 DbMonCollector (kg.apc.jmeter.dbmon.DbMonCollector)1 JMXMonCollector (kg.apc.jmeter.jmxmon.JMXMonCollector)1 PerfMonCollector (kg.apc.jmeter.perfmon.PerfMonCollector)1 CorrectedResultCollector (kg.apc.jmeter.vizualizers.CorrectedResultCollector)1 MonitoringResultsCollector (kg.apc.jmeter.vizualizers.MonitoringResultsCollector)1