Virtual instruments have many advantages such as low cost, comprehensive functionality, easy scalability, and easy replication. At the same time, they can also meet the special requirements of time and space for remote experiments. Based on Web technology and virtual instrument technology, a virtual experiment system is constructed, which combines data sharing, remote control, and real-time operation. More conducive to utilizing experimental and scientific research resources. At the same time, virtual instruments have high flexibility and are no longer limited by traditional experimental teaching modes, which can save a lot of repeated investment costs. They can also keep the teaching equipment in the laboratory up-to-date and closely follow the development trend of science and technology. As a compulsory course for mechanical engineering majors, although the existing experimental system has achieved certain results, there are still limitations to 'Mechanical Engineering Testing Technology'. This article aims to address the problems of insufficient instrument sets and outdated equipment in the experimental teaching of "Mechanical Engineering Testing Technology", as well as students' poor ability to apply theory to practice and insufficient innovation ability. By integrating the 5E teaching mode, a virtual experimental teaching platform based on VI (Virtual Instrument) technology is established. Students can break through traditional experimental methods and conduct various experiments through the network, obtaining experimental experiences that are very similar to real experiments. At the same time, it can deepen their understanding and recognition of experiments, and better grasp theoretical knowledge.