You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to POC your mocking solution for ur business and I can't record a WebService from ur provider without a crash.
Expected behaviour
Recording without crash a Web Service
Actual behaviour
Montebank Crash all the time with this error :
info: [http:9999 TEST] Open for business...
debug: [http:9999 TEST] 10.70.xx3.xxx:52898 ESTABLISHED
info: [http:9999 TEST] 10.70.xx.xx:52898 => POST /
/usr/lib/node_modules/mountebank/src/models/http/httpRequest.js:38
for (var i = 0; i < rawHeaders.length; i += 2) {
^
TypeError: Cannot read property 'length' of undefined
at headersFor (/usr/lib/node_modules/mountebank/src/models/http/httpRequest.js:38:35)
at transform (/usr/lib/node_modules/mountebank/src/models/http/httpRequest.js:53:18)
at IncomingMessage. (/usr/lib/node_modules/mountebank/src/models/http/httpRequest.js:69:54)
at IncomingMessage.emit (events.js:92:17)
at _stream_readable.js:944:16
at process._tickDomainCallback (node.js:502:13)
Software versions used
1.8 under Linux x86
The text was updated successfully, but these errors were encountered:
Thanks for the report. Can you tell me how you installed mountebank? This looks like the behavior on node v0.x, so if you have an old version of node and used npm to install it that would account for it.
I'm trying to POC your mocking solution for ur business and I can't record a WebService from ur provider without a crash.
Expected behaviour
Recording without crash a Web Service
Actual behaviour
Montebank Crash all the time with this error :
info: [http:9999 TEST] Open for business...
debug: [http:9999 TEST] 10.70.xx3.xxx:52898 ESTABLISHED
info: [http:9999 TEST] 10.70.xx.xx:52898 => POST /
/usr/lib/node_modules/mountebank/src/models/http/httpRequest.js:38
for (var i = 0; i < rawHeaders.length; i += 2) {
^
TypeError: Cannot read property 'length' of undefined
at headersFor (/usr/lib/node_modules/mountebank/src/models/http/httpRequest.js:38:35)
at transform (/usr/lib/node_modules/mountebank/src/models/http/httpRequest.js:53:18)
at IncomingMessage. (/usr/lib/node_modules/mountebank/src/models/http/httpRequest.js:69:54)
at IncomingMessage.emit (events.js:92:17)
at _stream_readable.js:944:16
at process._tickDomainCallback (node.js:502:13)
Software versions used
1.8 under Linux x86
The text was updated successfully, but these errors were encountered: