Program simulation testing method and system

The embodiment of the invention discloses a program simulation testing method and system. The method comprises the following steps: generating a simulation program based on visual programming software; correlating a variable mapping relation among simulation assemblies according to the simulation program; compiling each simulation assembly into a simulation process node which can be run by a host in a hybrid way; running the simulation process node to finish simulation testing of the simulation program.