A measuring device for detecting measuring signals during a penetration movement of an indenter into a surface of a specimen, in particular for measuring the hardness, or for determining the scratch resistance of the surface of the specimen or for detecting measuring signals during a scanning movement of the indenter on the surface of the specimen, in particular for determining the surface roughness, with a housing comprising a force-generation means which is operatively-connected with an indenter for generating a displacing movement of the indenter along a travel axis of the indenter, and which drives a penetrating movement of the indenter into the surface to be tested of the specimen or which positions the indenter on the surface of the specimen for scanning, and with at least one first measuring means for measuring the penetration depth into the surface of the specimen or for measuring a displacing movement of the indenter along its travel axis during a scanning movement of the intender on the surface of the specimen, wherein - the force generation means comprises a drive device and a magnetic transmission device, - the magnetic transmission device comprises a first magnetic pole and a second magnetic pole (67, 68), which are arranged at a distance to one another and which are oriented with the same poles to one other, characterized in - that the first magnetic pole is connected with the drive device that drives a displacing movement of the first magnetic pole along a travel axis, which is located in the axis of the penetration movement of the indenter or parallel thereto, or which is located perpendicular to the axis of the penetration movement of the indenter, and - that the second magnetic pole of the transmission device is provided on a transmission element which receives the indenter on the opposite end thereof, wherein the transmission element is displaceably guided inside the housing along a travel axis, which axis preferably is perpendicular to a base plate of the housing or is located in the axis of the penetrating movement of the indenter, - and transmits a travel movement driven by the drive device on to the indenter by means of a magnetic force of the magnetic transmission device. - the force generation means comprises a drive device and a magnetic transmission device, - the magnetic transmission device comprises a first magnetic pole and a second magnetic pole (67, 68), which are arranged at a distance to one another and which are oriented with the same poles to one other, - that the first magnetic pole is connected with the drive device that drives a displacing movement of the first magnetic pole along a travel axis, which is located in the axis of the penetration movement of the indenter or parallel thereto, or which is located perpendicular to the axis of the penetration movement of the indenter, and - that the second magnetic pole of the transmission device is provided on a transmission element which receives the indenter on the opposite end thereof, wherein the transmission element is displaceably guided inside the housing along a travel axis, which axis preferably is perpendicular to a base plate of the housing or is located in the axis of the penetrating movement of the indenter, - and transmits a travel movement driven by the drive device on to the indenter by means of a magnetic force of the magnetic transmission device.