TestProject Forum
Powered by leading experts in the test automation community

Extract list of Jobs and Tests of a Project

Hello everyone,

Is it possible or is there an option in TestProject to extract all the tests and jobs in a list with the dependencies for a specific project?

Thanks a lot for your help.

KG

Hello @k.gillet
Like we talked about in the chat.
This endpoint will return all tests of a project: https://api.testproject.io/docs/v2/#/Tests/Tests_GetTestsForProject
And this endpoint will return all Project jobs: https://api.testproject.io/docs/v2/#/Jobs/Jobs_GetJobsForProject

So together they get what you need.

And for the 2nd requirement, this endpoint returns all the tests in a Job: https://api.testproject.io/docs/v2/#/Jobs/Jobs_GetJobTests