Skip to content

Commit

Permalink
Merge pull request #2213 from kalaiyarasiganeshalingam/master
Browse files Browse the repository at this point in the history
Resolve the unit test mediation failure caused by protocol type verification
  • Loading branch information
kalaiyarasiganeshalingam authored Sep 13, 2024
2 parents 0ff6ec5 + 449d066 commit 44a46be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ static Map.Entry<String, HttpResponse> proxyServiceExecutor(TestCase currentTest
String url;

//check transport port whether http or https
if (proxyTransportMethod.equals(HTTP_KEY)) {
if (proxyTransportMethod.equalsIgnoreCase(HTTP_KEY)) {
url = HTTP_LOCALHOST_URL + httpPassThruOperatingPort + PROXY_INVOKE_PREFIX_URL + key;
} else if (proxyTransportMethod.equals(HTTPS_KEY)) {
} else if (proxyTransportMethod.equalsIgnoreCase(HTTPS_KEY)) {
url = HTTPS_LOCALHOST_URL + httpsPassThruOperatingPort + PROXY_INVOKE_PREFIX_URL + key;
} else {
return new AbstractMap.SimpleEntry<>("'" + proxyTransportMethod + "' transport is not supported", null);
Expand Down

0 comments on commit 44a46be

Please sign in to comment.