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

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

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

import java.util.concurrent.atomic.AtomicLong

import io.gatling.core.feeder.Feeder

object SequentialFeeder {

  def apply(paramName: String, start: Int = 0, step: Int = 1): Feeder[Long] = {
    val value = new AtomicLong(start)
    feeder[Long](paramName)(value.getAndAdd(step))
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy