If you want to run the server in all cores of the processor uncomment line 9 to 16 and comment line number 26 , Vice versa for running the server in only one core of processor . For both the cases you can perform following step
run the local host -- node app.js
install loadtest npm globally
open cmd terminal run the following command -- loadtest -n 1000 -c 100 http://localhost:3000