How do we know the results of measure.auto.rsc script?

Dear expert
I got this script from customer. But I 'm not sure what is the results of measure.auto.rsc.
I can run it on winbox properly. But I didn’t see any results.
Question
1.I think : there are many results coming out such as Ping response time, bandwidth test…?
2.Again , How do we know the results of this script?
3.If I wish to writing API code instead of this script. It’s possible to write the code for all the results?

Note: attach file is below.
Thank you
Banatus
measure.auto.rsc (23.9 KB)

1.I think : there are many results coming out such as Ping response time, bandwidth test…?

Looking at the source - yes, that’s right.

2.Again , How do we know the results of this script?

It appears the script expects you to have an FTP server running on a separate device. You fill in the hostname and credentials at the global variables (“ftpuser”, “ftppassword”, “ftpaddress”) created by the script. Every time the script is ran, it will write a file into the FTP server, from where you could then use additional tools to analyze the gathered data.

3.If I wish to writing API code instead of this script. It’s possible to write the code for all the results?

Most probably so, yeah. I’m not quite sure what’s the idea of this script though, and why it would need to keep executing itself every 5 seconds… plus, you need to take care of the data storage yourself, i.e. write the data either into a database or a file, in whatever format YOU would deem appropriate, so at first glance, it’s hard to give a specific code.

Thank you so much boen_robot
I will setup FTP server for checking the results.