o

org.galaxio.gatling.feeders

SeparatedValuesFeeder

object SeparatedValuesFeeder

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SeparatedValuesFeeder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(paramPrefix: Option[String], source: Seq[Map[String, Any]], separator: Char)(implicit configuration: GatlingConfiguration): IndexedSeq[Record[String]]

    Creates a feeder with separated values from the source Seq[Map[String, String] ]

    Creates a feeder with separated values from the source Seq[Map[String, String] ]

    paramPrefix

    feeder name

    source

    data source

    separator

    ',', ';', '\t' or other delimiter which separates values. You also can use following methods for the most common separators: .csv(...), .ssv(...), .tsv(...)

    returns

    a new feeder

    Example:
    1. val vaultFeeder: FeederBuilderBase[String] = Vector(
        Map(
          "HOSTS" -> "host11,host12",
          "USERS" -> "user11",
        ),
        Map(
          "HOSTS" -> "host21,host22",
          "USERS" -> "user21,user22,user23",
        ),
      )
      val mapFee: FeederBuilderBase[String] = SeparatedValuesFeeder(None, vaultFeeder.readRecords, ',')
      val separatedValuesFeeder: FeederBuilderBase[String] =
        SeparatedValuesFeeder("prefix", sourceSeq, ',') // this will return Vector(Map(HOSTS -> host11), Map(HOSTS -> host12), Map(USERS -> user11), Map(HOSTS -> host21), Map(HOSTS -> host22), Map(USERS -> user21), Map(USERS -> user22), Map(USERS -> user23))
  5. def apply(paramName: String, source: Seq[String], separator: Char)(implicit configuration: GatlingConfiguration): IndexedSeq[Record[String]]

    Creates a feeder with separated values from the source Sequence

    Creates a feeder with separated values from the source Sequence

    paramName

    feeder name

    source

    data source

    separator

    ',', ';', '\t' or other delimiter which separates values. You also can use following methods for the most common separators: .csv(...), .ssv(...), .tsv(...)

    returns

    a new feeder

    Example:
    1. val sourceSeq = Seq("1,two", "3,4")
      val separatedValuesFeeder: FeederBuilderBase[String] =
        SeparatedValuesFeeder.csv("someValues", sourceSeq) // this will return Vector(Map(someValues -> 1), Map(someValues -> two), Map(someValues -> 3), Map(someValues -> 4))
  6. def apply(paramName: String, source: String, separator: Char): IndexedSeq[Record[String]]

    Creates a feeder with separated values from the source String

    Creates a feeder with separated values from the source String

    paramName

    feeder name

    source

    data source

    separator

    ',', ';', '\t' or other delimiter which separates values. You also can use following methods for the most common separators: .csv(...), .ssv(...), .tsv(...)

    returns

    a new feeder

    Example:
    1. val sourceString = "v21;v22;v23"
      val separatedValuesFeeder: FeederBuilderBase[String] =
        SeparatedValuesFeeder("someValues", sourceString, ';') // this will return Vector(Map(someValues -> v21), Map(someValues -> v22), Map(someValues -> v23))
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. def csv(paramPrefix: Option[String] = None, source: Seq[Map[String, Any]]): FeederBuilderBase[String]
  10. def csv(paramName: String, source: Seq[String]): FeederBuilderBase[String]
  11. def csv(paramName: String, source: String): FeederBuilderBase[String]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. def ssv(paramPrefix: Option[String] = None, source: Seq[Map[String, Any]]): FeederBuilderBase[String]
  21. def ssv(paramName: String, source: Seq[String]): FeederBuilderBase[String]
  22. def ssv(paramName: String, source: String): FeederBuilderBase[String]
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def tsv(paramPrefix: Option[String] = None, source: Seq[Map[String, Any]]): FeederBuilderBase[String]
  26. def tsv(paramName: String, source: Seq[String]): FeederBuilderBase[String]
  27. def tsv(paramName: String, source: String): FeederBuilderBase[String]
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped