Answered question

Deletion of results without using user interface

I need to delete results from neoloadWeb based on retention policy which is different depending on the project. I would like to do it automatically doing request to the API. I saw that for DELETE request we need the testResultId, how can I get it??
Is there any way to delete results, such as, pass a retentionPolicy parameter...?

Nerea T.
Nerea T.

Nerea T.

Level
0
14 / 100
points
christophe M.
christophe M.

christophe M.

Level
4
5000 / 5000
points
Team

There's no feature to handle a retention policy from the interface.

Nevertheless you can use the API:
List the results with "GET /test-results", then you'll get the ID and the start dates of all results.
You can filter on client side on the results that are 'too old' and then delete them with DELETE /test-results/{resultId}

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful

Other answers

Nerea T.
Nerea T.

Nerea T.

Level
0
14 / 100
points

And do you have anything related to retention policy in yur backlog??
Thanks a lot

christophe M.
christophe M.

christophe M.

Level
4
5000 / 5000
points
Team

For sure this makes a lot of sense and want to provide help on this but it's not in our highest priorities for the medium term