com.github.jeanadrien.gatling.mqtt.actions.MqttAction.scala Maven / Gradle / Ivy
The newest version!
package com.github.jeanadrien.gatling.mqtt.actions
import com.github.jeanadrien.gatling.mqtt.protocol.MqttComponents
import io.gatling.commons.util.ClockSingleton._
import io.gatling.core.CoreComponents
import io.gatling.core.action.ExitableAction
import io.gatling.core.stats.message.ResponseTimings
import io.gatling.core.util.NameGen
/**
*
*/
abstract class MqttAction(
mqttComponents : MqttComponents,
coreComponents : CoreComponents
) extends ExitableAction with NameGen {
val statsEngine = coreComponents.statsEngine
def timings(requestStartDate : Long) =
ResponseTimings(startTimestamp = requestStartDate, endTimestamp = nowMillis)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy