I suggest reading the node-red docs page Writing Functions where it will show you how you can easily use node.warn() to insert debug messages into your function, which get displayed in the debug pane. That way you can work out which bit of your function is not working correctly.
Note that anything you send should be an object with, in your case I think, payload and topic properties, so you need to make sure that what you push into your msg.reqList array is be an object with those properties.
[Edit] Also, for the future please see this post for how to post flows or code so that the forum does not mess with it - How to share code or flow json