appmetrics icon indicating copy to clipboard operation
appmetrics copied to clipboard

http-outbound for Soap call is not emitting "statusCode"

Open hyginous29 opened this issue 8 years ago • 1 comments

http-outbound for SOAP Webservice outbound call is not emitting "statusCode".

Please could you check on this

hyginous29 avatar Dec 14 '17 19:12 hyginous29

'http-outbound'/'https-outbound' events return undefined response statusCode if client uses request, request-promise or any other http libraries that do not use callback when making http.request. They mention this in the code comment (https://github.com/RuntimeTools/appmetrics/blob/master/probes/http-outbound-probe.js#L91), but there is no explanation on work-around for popular http libraries such as 'request', 'request-promise', 'node-fetch'... (node, 'axios' works)

exp-dev-dj avatar Aug 13 '19 22:08 exp-dev-dj