Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

How to see list/names of test runs for a project


#1

Hi all,

I have project and its ID is P2. If i go thorugh browser it shows be couple of test runs under that project. Could you please tell me how to get the list and name of all the runs?

I have tried
JArray runinfo = (JArray)client.SendGet(“get_runs/2”);

but above is mot showing list or names of test runs. I need to get names of test runs under that project.

thanks
–girija


#2

Hi Girija,

Thanks for your post! The get_runs method would also include the name field of the test runs, and would provide the full list of test runs for the project:

http://docs.gurock.com/testrail-api2/reference-runs#get_runs

Are you receiving any specific error when attempting this method, or is the response not complete? Could you provide an example of the response you receive when making the API request?

Regards,
Marco