Package com.atlantbh.jmeter.plugins.hbasecomponents.samplers

Examples of com.atlantbh.jmeter.plugins.hbasecomponents.samplers.HBaseRowkeySampler


        return this.getClass().getSimpleName();
    }

    @Override
    public TestElement createTestElement() {
        HBaseRowkeySampler sampler = new HBaseRowkeySampler();
        configureTestElement(sampler); // FIXME: why here? modifyTestElement does it explicitly!
        modifyTestElement(sampler);
        sampler.setComment(JMeterPluginsUtils.getWikiLinkText(WIKIPAGE));
        return sampler;
    }
View Full Code Here


        return sampler;
    }

    @Override
    public void modifyTestElement(TestElement te) {
        HBaseRowkeySampler sampler = (HBaseRowkeySampler) te;

        sampler.setConnectionName(connTF.getText());
        sampler.sethBaseTable(tableTF.getText());
        sampler.setRowKey(rowKeyTF.getText());
        sampler.setOmitVars(emitVarsCB.isSelected());
        sampler.setLatestTimestampRows(latestTimestampRows.isSelected());

        super.configureTestElement(sampler);
    }
View Full Code Here

    //TODO typeCB
    @Override
    public void configure(TestElement el) {
        super.configure(el);
        HBaseRowkeySampler sampler = (HBaseRowkeySampler) el;

        connTF.setText(sampler.getConnectionName());
        tableTF.setText(sampler.gethBaseTable());
        rowKeyTF.setText(sampler.getRowKey());
        emitVarsCB.setSelected(sampler.getOmitVars());
        latestTimestampRows.setSelected(sampler.getLatestTimestampRows());
    }
View Full Code Here

    return "hbase_rowkey_sampler";
  }
 
  @Override
  public TestElement createTestElement() {
        HBaseRowkeySampler sampler = new HBaseRowkeySampler();
        configureTestElement(sampler);
        modifyTestElement(sampler);
        return sampler; 
    }
View Full Code Here

        return sampler; 
    }

  @Override
  public void modifyTestElement(TestElement te) {
    HBaseRowkeySampler sampler = (HBaseRowkeySampler)te;

    sampler.setConnectionName(connTF.getText());
    sampler.sethBaseTable(tableTF.getText());
    sampler.setRowKey(rowKeyTF.getText());
    sampler.setOmitVars(emitVarsCB.isSelected());
    sampler.setLatestTimestampRows(latestTimestampRows.isSelected());
   
    super.configureTestElement(sampler);   
  }
View Full Code Here

  }
 
    //TODO typeCB
  public void configure(TestElement el) {
        super.configure(el);
        HBaseRowkeySampler sampler = (HBaseRowkeySampler) el;

        connTF.setText(sampler.getConnectionName());
        tableTF.setText(sampler.gethBaseTable());
        rowKeyTF.setText(sampler.getRowKey());
        emitVarsCB.setSelected(sampler.getOmitVars());
        latestTimestampRows.setSelected(sampler.getLatestTimestampRows());
    }     
View Full Code Here

     * Test of modifyTestElement method, of class HBaseRowKeySamplerGui.
     */
    @Test
    public void testModifyTestElement() {
        System.out.println("modifyTestElement");
        TestElement te = new HBaseRowkeySampler();
        HBaseRowKeySamplerGui instance = new HBaseRowKeySamplerGui();
        instance.modifyTestElement(te);
        // TODO review the generated test code and remove the default call to fail.
       
    }
View Full Code Here

     * Test of configure method, of class HBaseRowKeySamplerGui.
     */
    @Test
    public void testConfigure() {
        System.out.println("configure");
        TestElement el = new HBaseRowkeySampler();
        HBaseRowKeySamplerGui instance = new HBaseRowKeySamplerGui();
        instance.configure(el);
        // TODO review the generated test code and remove the default call to fail.
       
    }
View Full Code Here

TOP

Related Classes of com.atlantbh.jmeter.plugins.hbasecomponents.samplers.HBaseRowkeySampler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.