Hi all,
how can we invoke a sub-process and let it run in background?
In detail, i need my test case just trigger a sub-process and then go ahead without to wait the sub-process completion (a sort of async invocation).
Grazie,
D.
Hi all,
how can we invoke a sub-process and let it run in background?
In detail, i need my test case just trigger a sub-process and then go ahead without to wait the sub-process completion (a sort of async invocation).
Grazie,
D.
Because the test case used as sub-process is shared among different test-cases. It is just to avoid to replicate several times the same steps.
D.
Since you want to execute the sub-process as a background activity, would it be possible to do this by using the Invoke 2.0 REST API call?
See if these links help generate ideas:
REST Invoke API - DevTest Solutions - 9.5 - CA Technologies Documentation
or on your DevTest installation, navigate to: http://<yourDevTestServer>:1505/api/swagger/#!/CoordinatorServers/startTestActions_post_9
Are you passing any values from the process to the sub-process? If so, I do not believe there is a way to pass those values on the REST API call. In that case, you will need to place the values somewhere (perhaps on the Persistent Model Map or in a DB table) so your "subprocess" test case can access and use them. Your subprocess would be responsible for cleaning up after itself with regard to these passed values.
I didn't find any solution using Lisa-Invoke; the http method returns after the test completation and this is not what i need. I just need to trigger the test execution.
I solved using "Execute External Command" step with "wait for completion" un-checked to run my test via TestExecutor.exe.
Domenico