Bug 58453

Summary: Null pointer exception when disabling Capture HTTP Headers
Product: JMeter Reporter: Dhiren <dhiren.patel>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: CLOSED FIXED    
Severity: normal CC: p.mouawad
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Dhiren 2015-09-24 06:45:59 UTC
I am trying to record script with "http(s) test script recorder". It's working properly and record the request until i keep "Capture HTTP Headers" checked.  Since I want to keep header common with some variable throughout requests and wanted to put dynamic parameter I don't want it to be recorded. 

To do so, I remove that checkbox "Capture HTTP Headers", now none of my requests are getting recorded. And application is throwing exception 

I am using https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf to record the requests.


ERROR - jmeter.JMeter: Uncaught exception:  
java.lang.NullPointerException at org.apache.jmeter.protocol.http.proxy.ProxyControl.replaceValues(ProxyControl.java:1275)
at org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:567)
at 
org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:291)
Comment 1 Philippe Mouawad 2015-09-24 06:55:37 UTC
Author: pmouawad
Date: Thu Sep 24 06:54:55 2015
New Revision: 1705003

URL: http://svn.apache.org/viewvc?rev=1705003&view=rev
Log:
Bug 58453 - Null pointer exception when disabling Capture HTTP Headers
Bugzilla Id: 58453

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
    jmeter/trunk/xdocs/changes.xml