https://issues.apache.org/bugzilla/show_bug.cgi?id=51268
Bug #: 51268
Summary: HTTPS request through an invalid proxy causes
NullPointerException and does not show in result tree
Product: JMeter
Version: 2.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: HTTP
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27070
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27070
Test script (.jmx) and log files
When performing a HTTPS request through a non-existing proxy server (i.e. there
is a value specified, but it's not an actual valid proxy server), JMeter
internally gives a NullPointerException and *does not show the (failed) sampler
result* in the listeners. As a consequence, the user has no idea that anything
went seriously wrong, unless the missing result is noticed.
This can easily be reproduced, please see attached files:
"HTTPS_request.jmx" does a simple HTTPS request and displays the result.
(1) Start JMeter with VALID --proxyHost and --proxyPort parameters
(2) Run the test
(3) You get a green result in the table. This corresponds to attached log
"jmeter_with_good_proxy.log"
(4) Start JMeter with INVALID --proxyHost and --proxyPort parameters
(5) Run the test
(6) You get NO result in the table. This corresponds to attached log
"jmeter_with_bad_proxy.log"
I'm using version 2.4 r961953. As you can see from the log, for an invalid
proxy it gives a NullPointerException that bubbles up.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]