[英]How to modify the csv feed file in gatling
我有一个像这样的 user.csv 文件:
user, password
userid1, password1
我想解密 csv 文件中的密码。 一种方法是.feed(csv("user.csv"))
然后
.exec(session => {
val pwd = session("password").as[String]
session.set("password", decrypt(pwd))//some function to decrypt the password
})
现在我想在提供 csv 文件之前解密密码。 有没有办法在加特林做到这一点?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.