https://bz.apache.org/bugzilla/show_bug.cgi?id=60435
Bug ID: 60435
Summary: Cant specify proxy when running 'ant test'
Product: JMeter
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: trivial
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 34492
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34492&action=edit
Attached is a patch to build.xml to use the http(s) proxy settings if specified
when running the tests.
I was looking to build JMeter locally from source behind a corporate proxy.
After I set a proxy I could run 'ant download_jars'
set ANT_OPTS=-Dhttps.proxyHost=<interal-proxy> -Dhttps.proxyPort=3128
-Dhttp.proxyHost=<interal-proxy> -Dhttp.proxyPort=3128
But 'ant test' would not run properly due to the following types of error:
C:\jmeter\build.xml:2626: CSV Files are not identical.
C:\jmeter\bin\testfiles\Bug52310.csv
ComputeIPAddr,200,OK,TG2 1-1,text,true
HTTP-Request-HC31,200,OK,TG2 1-1,text,true
HTTP-Request-HC4,200,OK,TG2 1-1,text,true
C:\jmeter\bin\Bug52310.csv
ComputeIPAddr,200,OK,TG2 1-1,text,true
HTTP-Request-HC31,Non HTTP response code: java.net.ConnectException,Non HTTP
response message: Connection timed out:
connect,TG2 1-1,text,false
HTTP-Request-HC4,Non HTTP response code: java.net.ConnectException,Non HTTP
response message: Connection timed out:
connect,TG2 1-1,text,false
--
You are receiving this mail because:
You are the assignee for the bug.