Penetration test of an API for collecting measurement data