After successfully extracting username and password from a csv as shown in the documentation, I noticed that my username was in the following format: "\ntomer@mail.com". How can I erase the "\n" char in artillery?
P.S.
The way to check your HTTP request is (I was unable to find documentation for this):
In cmd do the following command:
set DEBUG=http,http:capture,http:response
Afterwards, every regular artillery request will give you a http debug mode as following:
http request: {
"url": "https://host.com/api/user/login",
"method": "POST",
"headers": {
"user-agent": "Artillery (https://artillery.io)"
},
"json": {
"email": "\ntomer@mail.com",
"password":"9526e7bb980ba35a1788d46d4a2aaaaa3d941d2efc8a4fcb1402d1"
}
}
}