If a SystemLink test record is created with incorrect metadata, is there a way to change it? Specifically, if a device serial number is mistyped when the tests are run, and the results are valid, but get stored in Systemlink with the wrong serial number, is there a way to edit the existing test record to correct the SN without throwing away the test results?
Solved! Go to Solution.
If you click on the ? on the top right of the page and open the HTTP API you can use the POST nitestmonitor/v2/update-results to update the test result record. In the example below, I opened Chrome's Developer Tools (Network tab) from the test result detailed view that I wanted to update. I then copied the response from the query-results call and pasted it into the swagger documentation. I then changed the serial number and submitted the response. This ensures that all of the other attributes of the test result stay the same and only the serial number is updated.
thanks for the great reply! this worked to allow me to correct some serial numbers that were entered incorrectly.
for anyone else reading this who might be unfamiliar with chrome dev tools (like i was), i've attached an annotated screen capture showing what i had to do to get the XML text to modify and paste into the API interface.
the 3 important selections are marked with red boxes. to get here, view the test result you want to edit in Syslink test monitor. then open the developer tools (ctrl+shift+i) to get the screen shown.