Hi,
I’m trying to setup botium for an API endpoint via corporate proxy but I’m getting 407 error.
botium.json file (login details are replaced with generic names):
{
“botium”: {
“Capabilities”: {
“PROJECTNAME”: “chatbot testing”,
“CONTAINERMODE”: “simplerest”,
“SIMPLEREST_METHOD”: “POST”,
“SIMPLEREST_PROXY_URL”: “http://username:password@proxy:port”,
“SIMPLEREST_URL”: “https://username:password@url-endpoint”,
“SIMPLEREST_BODY_TEMPLATE”: {
“session_id”: “12485721”
},
“SIMPLEREST_RESPONSE_JSONPATH”: “$.text.*”
}
}
}
Output:
c:\Users\username\botium>botium-cli hello
rest request failed: tunneling socket could not be established, statusCode=407
Connectivity check FAILED
Please note that I was able to connect to the endpoint using curl via the proxy.
Output below from the curl response:
HTTP/1.0 200 Connection established
HTTP/1.1 200 OK
Does anyone have any idea?
Thanks,
Regards,
Adam