I am using JMeter Proxy to record my integration tests being run via node.js with superagent & superagent-proxy. The tests record initially under the listener and show accurate and expected results, requests, and responses. But, my problem lies in the fact that for some reason not all of the scripts being recorded in the recording controller are capturing all of the HTTP headers correctly. Namely, I am setting an 'Authorization' header in some of my superagent tests that come across fine in the test script recorder, but once they are turned into scripts under the recording controller the 'Authorization' header doesn't show up. When I run these tests from the controller they fail with a 401, since they don't have the 'Authorization' header like the ones being run from superagent to the proxy server.
Any ideas on what could be going wrong here?
EDIT: It appears to be capturing custom headers, but not the authorization one.