Specific models are not shown in response from api call

Hi there,

I am using following call in UiPath studio.
/odata/TestCaseExecutions?%24filter=TestSetExecutionId%20eq%20{Id}

I am getting following response for all of the testcases inside the specific testset (Id).
response1

according to the swagger documentation I should receive more than shown there. I would need the TestCaseAssertions model. Why isn’t it showing in the response?

Workflow looks like this.

Thanks for your help!

@gani.nurceski

What do you mean you need to see more…what is missing…can you please explain

Cheers

I got this from the swagger UI, how can I get the model for TestCaseAssertions? In my response in UiPath I dont receive multiple parts of the model.

@gani.nurceski

Please try using expand like this

odata/TestCaseExecutions?%24expand=TestCaseAssertions&%24filter=TestSetExecutionId%20eq%20{id}

Cheers

Hi @Anil_G , heres the response. Is stll empty. When not using the testsetexecution filter (only expand), I am getting an unvalid odata request.

@gani.nurceski

Loooks like filter is not working

Cheers

Filter is working fine, but the expand doesn’t. When I am using filter alone I get all expected testcases from the testset (concrete example).

For some reason now it works with the odata call:

“odata/TestCaseExecutions?%24expand=TestCaseAssertions&%24filter=TestSetExecutionId%20eq%20”+TestSetExecutionId

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.