Saving the UUID from the testing page

56 views
Skip to first unread message

Juan Ramírez

unread,
Jun 16, 2025, 4:09:57 PMJun 16
to discuss
Hello everyone,

We are currently working on generating labeled NDT data by applying constraints on the client side. This labeled dataset would be highly valuable for conducting analyses and for training and evaluating machine learning techniques. Even in the case of unsupervised models, labeled data is essential for assessing the performance of the algorithms under test.

In this context, I would like to inquire whether there is a way to retrieve the UUID from the testing web page, which would enable us to identify the corresponding data stored in BigQuery.

Thank you very much for your time and assistance.

Kind regards,

Juan Marcos

Roberto D'Auria

unread,
Jun 17, 2025, 11:02:49 AMJun 17
to Juan Ramírez, discuss
Hi Juan,

The test UUID is available to the JS client in the LastServerMeasurement.ConnectionInfo.UUID field of the data object passed to the downloadComplete/uploadComplete callbacks. If you control the client code, you can retrieve the uuid in these callbacks, which are defined when calling ndt7.test() (see https://github.com/m-lab/ndt7-js/blob/main/examples/client.html#L13 for an example).

Something like:

downloadComplete: function (data) {
    uuid = data.LastServerMeasurement.ConnectionInfo.UUID
    [...]
}

Hope this helps.

Regards,
Roberto

--
You received this message because you are subscribed to the Google Groups "discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@measurementlab.net.
To view this discussion visit https://groups.google.com/a/measurementlab.net/d/msgid/discuss/3c6bf460-5065-46d2-9067-4430fc68f59en%40measurementlab.net.


--
Roberto D'Auria
Platform Engineer
Reply all
Reply to author
Forward
0 new messages