HTTP gatling script request showing 400 response while the same seems to be working out fine on REST client.


I was trying to add a product in cart through http request. Following is my script-

gatlingLogs.txt (9.22 KB)


There’s something suspicious here: you post data like a form, yet you set an “application/json” payload.
Are you sure you’re not supposed to post a json payload?