Ways to disable Proxy in Javelin REST call
search cancel

Ways to disable Proxy in Javelin REST call

book

Article ID: 252123

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

Implemented a REST POST from Javelin, using the class GridTools.Javelin.RESTActivities.RESTPutActivity.

Need to disable the Proxy, because the workflow runs with error “response.StatusCode: BadGateway - StatusDescription: notresolvable”.

Tested the API with Postman and the same error never occurred again when the proxy is disabled in the settings.

What is the way to do this with Javelin?

Environment

Release : 4.10

Cause

Javelin doesn't have a UI feature to work with Proxy and uses the system level proxy defined for the machine.

Resolution

Add below section in Javelin.exe.config and JavelinExecutor.exe.config of Javelin installation, restart Javelin and test.

<system.net><defaultProxy><proxy usesystemdefault="False" /></defaultProxy></system.net>