All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.tinkoff.gatling.feeders.RegexFeeder.scala Maven / Gradle / Ivy

The newest version!
package ru.tinkoff.gatling.feeders

import io.gatling.core.feeder.Feeder
import com.mifmif.common.regex.Generex

object RegexFeeder {

  def apply(paramName: String, regex: String): Feeder[String] = {
    val generex = new Generex(regex).iterator()
    feeder[String](paramName)(generex.next())
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy