Check actual URL used for request in Mule HTTP Connector -
i'm working on flow includes <http:request>
element, keep getting unexpected 404 responses. there way me check actual url being requested?
i can't see way within mule. tried using fiddler proxy can't sessions show in fiddler requests starting mule.
you can use proxy charlesproxy: http://www.charlesproxy.com/ or can use log4j. if try adding log4j2 configuration:
<asynclogger name="org.glassfish.grizzly" level="debug" /> <asynclogger name="org.asynchttpclient" level="debug" /> <asynclogger name="com.ning.http" level="debug" />
for http request using http:request http://google.com, logs following:
debug 2015-07-14 13:18:17,416 [[test].test.worker.01] com.ning.http.client.providers.grizzly.grizzlyconnectionspool: [poll] no existing queue uri [http://google.com:80]. debug 2015-07-14 13:18:17,449 [[test].http.requester.httprequest(1) selectorrunner] com.ning.http.client.providers.grizzly.grizzlyasynchttpprovider: request: httprequestpacket ( method=get url=/ query=null protocol=http/1.1 content-length=-1 headers=[ host=google.com:80 connection=keep-alive accept=/ user-agent=ning/1.0] )
Comments
Post a Comment