RESOLVED : Gatling Redis : Redis NOAUTH Authentication required

Above is for JAVA.
Below you have code for Scala where Redis Secret is 1234qwer.
I’m not master in Scala but is working xD

import com.redis._
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.redis.Predef._

class RedisFeederSimulationScala extends Simulation {

  val httpProtocol = http


  val redisPool = new RedisClientPool(host = "127.0.0.1", port = 6379, secret = Option("1234qwer"))

  val feeder = redisFeeder(redisPool, "mylist")

  val scn = scenario("BasicSimulationScala")
    .feed(feeder)
    .exec { session =>
      println(session)
      println("GeMi_RedisValue: " + session("mylist").as[String])
      session
    }

  setUp(
    scn.inject(atOnceUsers(1))
  ).protocols(httpProtocol)
}

@slandelle @sbrevet any better ScalaTip for that ? :slight_smile:
I wondering why syntax is not the same as for Java and Kotlin for this with with....