How to run multiple instances of console application
Sometimes developer need to quickly simulate high load to server with concurrent connections, and one of the ways to do it create console application which will connect to server and make some calls. Below is very simple but helpful technic how to create a number of instances of console application with cmd script.
So to run multiple instances of the same application can be done with cmd file. Create runme.cmd file with the following content
REM running multiple instances of notepad application start cmd /c c:\myApp\loadTestConsoleApp.exe start cmd /c c:\myApp\loadTestConsoleApp.exe start cmd /c c:\myApp\loadTestConsoleApp.exe
Replace the name of the application to your name and control number of instances by adding or removing lines in cmd file. When you run the cmd script it will open separate console window for each instance of application.
