Re-usable JavaScript code, but not using eval()

Hi,

I have a good amount of re-usable JS code that I have been placing in Global variables and accessed in Test Scripts via “eval()”. Unfortunatley, the “eval()” call does NOT work within Monitors or the CLI Runner.

Please tell me there is some functionality coming that allows us to re-use JS code throughout a Collection? Or, even better, where we can re-use JS code over many Collections?

Thanks,
Todd

2 Likes