auth proxy

hi
using gatling 3.3.1 try to use proxy with credentials but the response looks like the credentials not set.

using this syntax:

.proxy(
Proxy(“localhost”, 8888)
.httpsPort(8888)
.credentials(KeyProxyUser, KeyProxyUserPassword))

i get the response:

407 Proxy Authentication Required 

can someone help?

Are you sure your proxy expects Basic Auth and not a different scheme?

basic.

בתאריך יום ראשון, 8 במרץ 2020 בשעה 21:47:22 UTC+2, מאת Stéphane Landelle:

HTTP or HTTPS?

Indeed, could you please confirm Proxy Basic auth works properly over HTTPS but not clear HTTP?

HTTPS

בתאריך יום רביעי, 11 במרץ 2020 בשעה 00:53:22 UTC+2, מאת Stéphane Landelle:

No clue then.
Please provide a way to reproduce.