Passing lab resource descriptions through command line adapter
![](http://jazz.net/_images/myphoto/ec6556944b799c8ba054070cc5f9a486.jpg)
Hi,
We've set up several lab resource descriptions (with a business value) which we would like to pass to a test run through command line adapter:
![](https://jazz.net/forum/upfiles/labResourceDescriptions.png)
In the screenshot above I would like to access the "Type Of Action" variable in my test.
I've looked for the lab resource descriptions in the qm_ExecutionVariablesFile file, but only execution variables and built-in variables (for instance RQM_CONFIGURATION_NAME) seem to be present.
Is there a way to pass these custom lab resource descriptions through the command line adapter as an execution variable? Or is using the RQM API to get the test environment details the only option?
Thanks
2 answers
![](http://jazz.net/_images/myphoto/ec6556944b799c8ba054070cc5f9a486.jpg)
Thanks for your feedback.
We try to avoid creating an execution variable and manually setting the value or creating multiple testcases with different parameters since this parameter is already available in the Test environment.
I've started consuming the RQM api which seems to do the trick. From the execution record id passed as an excecution variable I'm querying RQM to get the environment and its configuration parts.