A method for testing a device under test, DUT, that comprises a multiprocessor array, MPA, executing application software, the method comprising: storing application software that is desired to be tested, wherein the application software is deployable to execute on first hardware resources of the MPA, wherein hardware resources of the MPA include a plurality of processing elements, a plurality of memories, and an interconnection network, IN, communicatively coupling the plurality of processing elements and the plurality of memories; analyzing the application software to locate a first send statement in the application software; modifying the application software that is desired to be tested to include testing code, thereby creating modified application software, wherein the testing code in the modified application software includes at least one auxiliary send statement, and wherein the at least one auxiliary send statement is automatically inserted in the application software proximate to the first send statement; deploying the modified application software on hardware resources of the MPA, wherein said deploying comprises deploying the modified application software to use the first hardware resources of the MPA and deploying the testing code to execute on at least one of the first hardware resources and wherein the testing code is further configured to use one or more second hardware resources of the MPA, wherein the second hardware resources are different from the first hardware resources and are not used by the application software, receiving, by the modified application software, input data to stimulate the DUT; generating, by the modified application software, first data in the DUT based on the input data; executing, by the modified application software, the first send statement which provides the first data for use in the modified application software, wherein the first send statement executes on one of the first hardware resources of the MPA; executing, by the modified application software, the at least one auxiliary send statement on one of the first hardware resources to program a first direct memory access, DMA, engine of the MPA to provide at least a subset of the first data to a pin at an edge of the MPA using at least one of the one or more second hardware resources of the MPA, where the first DMA engine is one of the one or more second hardware resources of the MPA that is not used by the application software; and receiving the at least a subset of the first data provided by the auxiliary send statement, wherein the first data are useable for analyzing operation of the DUT. storing application software that is desired to be tested, wherein the application software is deployable to execute on first hardware resources of the MPA, wherein hardware resources of the MPA include a plurality of processing elements, a plurality of memories, and an interconnection network, IN, communicatively coupling the plurality of processing elements and the plurality of memories; wherein the application software is deployable to execute on first hardware resources of the MPA, wherein hardware resources of the MPA include a plurality of processing elements, a plurality of memories, and an interconnection network, IN, communicatively coupling the plurality of processing elements and the plurality of memories; analyzing the application software to locate a first send statement in the application software; modifying the application software that is desired to be tested to include testing code, thereby creating modified application software, wherein the testing code in the modified application software includes at least one auxiliary send statement, and wherein the at least one auxiliary send statement is automatically inserted in the application software proximate to the first send statement; deploying the modified application software on hardware resources of the MPA, wherein said deploying comprises deploying the modified application software to use the first hardware resources of the MPA and deploying the testing code to execute on at least one of the first hardware resources and deploying the modified application software to use the first hardware resources of the MPA and deploying the testing code to execute on at least one of the first hardware resources and wherein the testing code is further configured to use one or more second hardware resources of the MPA, wherein the second hardware resources are different from the first hardware resources and are not used by the application software, receiving, by the modified application software, input data to stimulate the DUT; generating, by the modified application software, first data in the DUT based on the input data; executing, by the modified application software, the first send statement which provides the first data for use in the modified application software, wherein the first send statement executes on one of the first hardware resources of the MPA; executing, by the modified application software, the at least one auxiliary send statement on one of the first hardware resources to program a first direct memory access, DMA, engine of the MPA to provide at least a subset of the first data to a pin at an edge of the MPA using at least one of the one or more second hardware resources of the MPA, where the first DMA engine is one of the one or more second hardware resources of the MPA that is not used by the application software; and receiving the at least a subset of the first data provided by the auxiliary send statement, wherein the first data are useable for analyzing operation of the DUT.