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).
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!
Anil_G
(Anil Gorthi)
October 26, 2023, 3:42am
2
@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.
Anil_G
(Anil Gorthi)
October 27, 2023, 5:41am
4
@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.
Anil_G
(Anil Gorthi)
October 27, 2023, 1:01pm
6
@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
system
(system)
Closed
November 16, 2023, 3:24pm
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.