Bug 58453 - Null pointer exception when disabling Capture HTTP Headers
Summary: Null pointer exception when disabling Capture HTTP Headers
Status: CLOSED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-24 06:45 UTC by Dhiren
Modified: 2015-10-06 07:42 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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