AnsweredAssumed Answered

Passing data to a test via lisa-invoke

Question asked by Jason_J on May 11, 2017
Latest reply on Jul 21, 2017 by Jason_J

Anyone have experience passing data to a test via lisa-invoke, are there any examples?



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.