Eugene Roytfeld (EugeneR7)
Deutsche Bank
Vice President
Deutsche Bank
EugeneR7 Member since 2013 30 posts
Deutsche Bank
Posted: March 6, 2017
Last activity: March 14, 2017
Posted: 6 Mar 2017 10:27 EST
Last activity: 14 Mar 2017 11:12 EDT

Testing Connect-REST with POST method

We have an external REST service which has GET method disabled and only POST is supported. This is verified with SoapUI as well (with a distinct error message on GET method).

When clicking Test Connection button in the Connect-REST service, it will always default to GET method (as seen in pyTestConnectivity activity) with no option to test other methods (explicitly referencing httpRequest = new com.pega.apache.http.client.methods.HttpGet(endpointURL.toString() ). Is it possible somehow to test connectivity with other methods? The nature of REST API is that it has distinct and well defined methods, so it would be quite limiting to force test connectivity to only 1 out of 4 methods (GET/POST/PUT/DELETE).

***Updated by moderator: Lochan to add Categories***

DevOps Testing Applications Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.