You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by pmouawad <gi...@git.apache.org> on 2018/11/18 13:21:33 UTC

[GitHub] jmeter pull request #413: Enhancement 62829 - Allow specifying proxy scheme ...

Github user pmouawad commented on a diff in the pull request:

    https://github.com/apache/jmeter/pull/413#discussion_r234444500
  
    --- Diff: src/core/org/apache/jmeter/JMeter.java ---
    @@ -746,13 +751,15 @@ private void setProxy(CLArgsParser parser) throws IllegalUserActionException {
                 }
             }
             if (parser.getArgumentById(PROXY_HOST) != null && parser.getArgumentById(PROXY_PORT) != null) {
    +            String scheme = parser.getArgumentById(PROXY_SCHEME).getArgument();
                 String h = parser.getArgumentById(PROXY_HOST).getArgument();
                 String p = parser.getArgumentById(PROXY_PORT).getArgument();
    +            System.setProperty("http.proxyScheme",  scheme );// $NON-NLS-1$
    --- End diff --
    
    Should be set only if not blank/null


---