It is possible to feed user data to pass basic autentification ?

hi guys,

i have the following code

val url: String = linkPrefix + link
val newBuilder = builder.exec(http(url)
.get(url)
.basicAuth(username,password)
.check(status.is(200)))
println("Added url " + url + " to " + simulationName)

is there a way to have users from user.csv file inject via Feeder in basicAuth()

Thanks,
Yuri

Absolutely.

.feed(myCsvFeeder)
.exec(… basicAuth("${username}", “${password}”)…)

thanks, it would work !

Yuri

Пʼятниця, 5 квітня 2013 р. 08:21:36 UTC+3 користувач Stéphane Landelle написав: