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

uk.co.developmentanddinosaurs.gatling.lambda.protocol.LambdaProtocol.scala Maven / Gradle / Ivy

The newest version!
package uk.co.developmentanddinosaurs.gatling.lambda.protocol

import io.gatling.core.config.GatlingConfiguration
import io.gatling.core.protocol.{Protocol, ProtocolKey}
import software.amazon.awssdk.services.lambda.LambdaClient

object LambdaProtocol {

  val lambdaProtocolKey: ProtocolKey[LambdaProtocol, LambdaComponents] =
    LambdaProtocolKey()

  def apply(configuration: GatlingConfiguration): LambdaProtocol =
    new LambdaProtocol(lambdaClient = LambdaClient.create())
}

final case class LambdaProtocol(lambdaClient: LambdaClient) extends Protocol {
  type Components = LambdaComponents
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy