How to execute generateSampleWorkload.js

Could someone explain to me how to run this generateSampleWorkload.js file on vagrant virtual machine?

I think you simply use the mongo command such as:

mongo generateSampleWorkload.js

This will run it for default host and port. You may use any other arguments to run it for another host and port. See for more details.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.