Anyone have experience passing data to a test via lisa-invoke, are there any examples?
Background:
My test has three parts, a little .tst that reads a data .csv and then it passes that data to a sub-process, like this:
Read(Data.csv)-PassToSubProcess.tst ----> Sub-Process .tst performs web calls/validations
Data.csv (small bit of data, e.g. 8 key/value pairs)
I've been running makemar.exe on these, posting to CA DevTest server and then calling lisa-invoke: https://myserver:8443/lisa-invoke/runMar?marOrMariPath=/apps/Lisa8.2.0/MyTest.mar&async=true
I want to pass some data in the lisa-invoke call and avoid the little .tst and data .csv altogether. I saw this: Run Test Cases with LISA Invoke - DevTest Solutions - 9.0 - CA Technologies Documentation - which lists -D<CustomTag> , but I'm not sure if this is going to be what I need or exactly how to leverage this option.
Thanks,
-Jason
Well. you cannot use it to select a testcase, since that will already be decided - but I assume that is not what you are trying to do. If you set such a property it will be available within the test, and may be used there.
It does not need any pre-configuration - it will be added at run-time. The value will also be available in the reports for the test run too.