You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

When getting information via GraphQL, we always have a limit of 100 issues to be shown per time.

Problem:

And if we have a Test Execution with more that 100 Tets, can we see them all? 

Answer:

Yes, you can! The results only appear paginated. So in order to see them all, we have to make different queries to show the results.

Let's see a practical example using Insomnia:


  • Test Execution with 108 Test Cases:

  • Using the function GetTestExecution from GraphQL, we will be able to see the first 100 Tets:


  • To see from 100, it's necessary to use the Start parameter as shown below. This will show you the tests from the 100º one.




You can use any number in the start parameter. Imagine, if you have 300 Tests, then you'll have to make 3 queries: start: 0; start:100, start:200 and so on. 


GraphQL API

https://xray.cloud.xpand-it.com/doc/graphql/

https://xray.cloud.xpand-it.com/doc/graphql/gettestexecution.doc.html



  • No labels