Class MongoScriptSampler

All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, org.apache.jmeter.testelement.TestElement

public class MongoScriptSampler extends AbstractSampler implements TestBean
See Also:
  • Field Details

  • Constructor Details

    • MongoScriptSampler

      public MongoScriptSampler()
  • Method Details

    • sample

      public SampleResult sample(Entry e)
      Description copied from interface: Sampler
      Obtains statistics about the given Entry, and packages the information into a SampleResult.
      Specified by:
      sample in interface Sampler
      Parameters:
      e - the Entry (TODO seems to be unused)
      Returns:
      information about the sample
    • getTitle

      public String getTitle()
    • getScript

      public String getScript()
    • setScript

      public void setScript(String script)
    • getDatabase

      public String getDatabase()
    • setDatabase

      public void setDatabase(String database)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getSource

      public String getSource()
    • setSource

      public void setSource(String source)