jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmouawad <...@git.apache.org>
Subject [GitHub] jmeter pull request #413: Enhancement 62829 - Allow specifying proxy scheme ...
Date Sun, 18 Nov 2018 13:21:33 GMT
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


---

Mime
View raw message