Service Virtualization

 View Only
  • 1.  Executing from a Test Runner through command prompt

    Posted Nov 19, 2015 05:40 AM

    Hi All,

     

    I have created one test case which needs to be executed through the Test Runner via command prompt, but it contains the data set with 2 rows that needs to be executed one after the other in cyclic order. Now my problem is that I'm not able to read 2nd row from that  data set and its only executing the 1st row of that dataset. Does someone know how the 2nd row can be executed?

     

    Thanks,

    Abhishek



  • 2.  Re: Executing from a Test Runner through command prompt

    Posted Nov 20, 2015 03:08 AM

    Hi,

     

    Any Sugesstions?

     

    Thanks,

    Abhishek



  • 3.  Re: Executing from a Test Runner through command prompt

    Broadcom Employee
    Posted Nov 20, 2015 10:23 AM

    Can you give us your test case?



  • 4.  Re: Executing from a Test Runner through command prompt

    Broadcom Employee
    Posted Nov 24, 2015 02:20 PM

    Hi Abhishek -

     

    It sounds like you may have an 'End Test' set on the last test step, instead of going back through the dataset and allowing the dataset to end the test.  On the last test step, you should have it return to the first step which would go through the dataset again.  Then on the dataset set it to End Test at the end of data.



  • 5.  Re: Executing from a Test Runner through command prompt

    Broadcom Employee
    Posted Nov 24, 2015 03:07 PM

    I think better results metrics will be gathered if a staging document is used (-r stagingDocumentName in the TestRunner command line), as data iterations will be honoured and reported, rather than iterating through the data in the test itself.