apiaryio / dredd

Language-agnostic HTTP API Testing Tool
https://dredd.org
MIT License
4.19k stars 279 forks source link

--names produces Range Error: Maximum call stack size exceeded #565

Closed TheElk205 closed 7 years ago

TheElk205 commented 8 years ago

When using --names on a quite large apiary blueprint file, it takes quite a long time and aborts with the error:

RangeError: Maximum call stack size exceeded
  at TransactionRunner.executeTransaction (/usr/local/lib/node_modules/dredd/lib/transaction-runner.js:471:10).....

see: dreddOutput.txt

The call I tried is: dredd 'http://docs.bitmovin.apiary.io/api-description-document' 'hostUrl' --names --color false

netmilk commented 8 years ago

Hey @TheElk205! Thank you so much for reporting this. I think it's a duplicate of #225. Would you mind sharing with us the Swagger or API Blueprint document you're using?

TheElk205 commented 8 years ago

The blueprint can be found under http://docs.bitmovin.apiary.io/api-description-document, like in the dredd command

honzajavorek commented 8 years ago

@netmilk Good catch, I didn't know about https://github.com/apiaryio/dredd/issues/225!

honzajavorek commented 7 years ago

This is still an issue, but I decided to close duplicates. Please continue any discussions or tips on workarounds at #225.