Not able to use Rest Invoke to pull reports in DevTest getting Invalid test ID

Document ID : KB000116941
Last Modified Date : 04/10/2018
Show Technical Document Details
Using Postman, I have successfully uploaded a MAR-File using the lisa-invoke2 API /api/Dcm/CoordinatorServers/Coordinator/actions/deployMar which returns with:


But when I try to pull the report


I am seeing error 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Error xmlns="" xmlns:xsi="" xsi:schemaLocation=" Error.xsd" type="application/">
    <Message>Invalid test ID:61932EDDC71011E8A23000505698155F</Message>

Even though Test ID is correct.
All supported DevTest Environments
This is working as designed. With Invoke API, the links in response of deployMar action are only valid until that the test case/suite is present in coordinator. Once it has finished execution and is removed from the Coordinator server, those links will become stale and give the error you have seen. 

So, all the links listed below is present only until the test/suite  is still executing.   

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Test xmlns="" name="61932EDDC71011E8A23000505698155F" xmlns:xsi="" xsi:schemaLocation=" Test.xsd" href="" type="application/">
    <Name>DevTest_config_info [StagingDoc5]</Name>
    <Link href="" rel="up"/>
    <Link href="" rel="actions"/>
    <Link href="" rel="start"/>
    <Link href="" rel="stop"/>
    <Link href="" rel="report"/>
    <Link href="" rel="metrics"/>


You can test this by using a staging document that has more number if users or execution cycles and click on these response links then the test suite is still under execution. You won't get that error.