The heart is a vital organ that provides essential circulation throughout the body. Malfunction of cardiac pumping, thus, leads to serious and most of the times, to fatal diseases. Mechanics of cardiac pumping is a complex process, and many experimental and theoretical approaches have been undertaken to understand this process. We have taken advantage of the simplicity of the embryonic heart of an invertebrate, Drosophila melanogaster, to understand the fundamental mechanics of the beating heart. We applied a live imaging technique to the beating embryonic heart combined with analytical imaging tools to study the dynamic mechanics of the pumping. Furthermore, we have identified one mutant line that exhibits aberrant pumping mechanics. The Drosophila embryonic heart consists of only 104 cardiac cells forming a simple straight tube that can be easily accessed for real-time imaging. Therefore, combined with the wealth of available genetic tools, the embryonic Drosophila heart may serve as a powerful model system for studies of human heart diseases, such as arrhythmia and congenital heart diseases. We, furthermore, believe our mechanistic data provides important information that is useful for our further understanding of the design of biological structure and function and for engineering the pumps for medical uses.