Service Virtualization

  • 1.  how to capture more than 100 filter values

    Posted Jun 02, 2017 07:41 AM

    Hi All,

     

    Is there any way to capture number of filter values more than 100.

     

    when i try to add and execute the step I am getting the below error.

     

    ============================================================================
    | Exception:
    ============================================================================
    | Step: Customer Enquiry
    ----------------------------------------------------------------------------
    | Message: The number of filters on the step Customer Enquiry (116) has exceeded 100
    ----------------------------------------------------------------------------
    | Trapped Exception: null
    | Trapped Message: java.lang.RuntimeException
    ----------------------------------------------------------------------------
    STACK TRACE
    java.lang.RuntimeException
    at com.itko.lisa.test.TestNode.checkForRunawayFilters(TestNode.java:1494)
    at com.itko.lisa.test.TestNode.doFilters(TestNode.java:1480)
    at com.itko.lisa.test.TestNode.doPreFilters(TestNode.java:1417)
    at com.itko.lisa.test.TestNode.executeNode(TestNode.java:964)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1283)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
    at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
    at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1050)
    at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:70)
    at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:963)
    at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
    at java.lang.Thread.run(Unknown Source)
    ============================================================================


    at com.itko.lisa.test.TestNode.checkForRunawayFilters(TestNode.java:1494)
    at com.itko.lisa.test.TestNode.doFilters(TestNode.java:1480)
    at com.itko.lisa.test.TestNode.doPreFilters(TestNode.java:1417)
    at com.itko.lisa.test.TestNode.executeNode(TestNode.java:964)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1283)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
    at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
    at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1050)
    at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:70)
    at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:963)
    at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
    at java.lang.Thread.run(Unknown Source)

     

    Kindly help on this.

     

    Thanks

    Ram



  • 2.  Re: how to capture more than 100 filter values
    Best Answer

    Broadcom Employee
    Posted Jun 02, 2017 02:04 PM

    The number of filters/assertions have a limitation per step.
    The default value of the limitation is 100.

     

    You can change this value by adding the below property to the local.properties file for Workstation:

    lisa.numFilters.warning=116 

     

     

    You will have to restart your Workstation to pick up the new value.

     

    Hope this helps.



  • 3.  Re: how to capture more than 100 filter values

    Posted Jun 05, 2017 03:31 AM

    Thanks Marcy Nunns....

     

    I have tried as per your advise but still its not working getting the same error message.

    #lisa.numFilters.warning=116 

     

    Can you please help.

     

    Thanks

    Ram



  • 4.  Re: how to capture more than 100 filter values

    Broadcom Employee
    Posted Jun 05, 2017 09:42 AM

    The property needs to be lisa.numFilters.warning=116. Your message shows #lisa.numFilters.warning=116.

     

    Please make sure that after having the correct property name/value - you restart the workstation & check the properties tab that has been picked up.



  • 5.  Re: how to capture more than 100 filter values

    Posted Jun 05, 2017 12:53 PM

    remove # from #lisa.numFilters.warning=116 and restart



  • 6.  Re: how to capture more than 100 filter values

    Posted Jun 05, 2017 09:28 AM

    You can do adding output log message step and applying filter as below

    you can store the response in one property(let us say Test_Response)  then use next step as output log message with property(Test_Response) and and again on same response of out log message you can apply 100 filters.



  • 7.  Re: how to capture more than 100 filter values

    Posted Jun 06, 2017 01:13 AM

    Thanks All..

     

    Its working fine , file name is lisa.properties 

     

    Thanks

    Ram