Service Virtualization

  • 1.  TCP/IP Live routing issue

    Posted Aug 01, 2017 03:43 AM

    Hi,

    We are trying to virtualize TCP/IP over Binary messages.

    We are able to record and replay the messages. However, live routing doesn't work fine.

    Lisa throws exception while processing the response received by the Live system.

    Since the messages are incomplete, the front end system is breaking.

     

    As suggested by one of the posts I tried adding the below in local.properies file. But no luck.

    lisa.vse.tcp.live.invocation.max.idle.socket=0s

     

    Below is the exception message got it from log files.

    2017-08-01 06:42:11,535Z (16:42) [ProcDlgThreadCallbk@681da9d4] WARN com.itko.lisa.test.LisaException - LisaException detail java.lang.InterruptedException exception is java.lang.InterruptedException
    2017-08-01 06:42:11,536Z (16:42) [ProcDlgThreadCallbk@681da9d4] ERROR com.itko.lisa.test.TestNode - TestNode caught an exception: java.lang.InterruptedException


    ============================================================================
    | Exception:
    ============================================================================
    | Message: java.lang.InterruptedException
    ----------------------------------------------------------------------------
    | Trapped Exception: null
    | Trapped Message: java.lang.InterruptedException
    ----------------------------------------------------------------------------
    STACK TRACE
    java.lang.InterruptedException
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(Unknown Source)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
    at java.util.concurrent.LinkedBlockingQueue.poll(Unknown Source)
    at com.itko.lisa.vse.stateful.protocol.tcp.playback.TCPServerImpl.getNextRequestTransactionPair(TCPServerImpl.java:146)
    at com.itko.lisa.vse.stateful.protocol.tcp.listen.TCPListenStep.execute(TCPListenStep.java:142)
    at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
    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.vse.stateful.protocol.tcp.listen.TCPListenStep.execute(TCPListenStep.java:169)
    at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
    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)
    2017-08-01 06:42:27,378Z (16:42) [AWT-EventQueue-0] INFO System.out - QuickSearch$QuickSearchPainter.hideSearch
    2017-08-01 06:43:00,210Z (16:43) [AWT-EventQueue-0] INFO System.out - QuickSearch$QuickSearchPainter.hideSearch
    2017-08-01 06:43:02,412Z (16:43) [AWT-EventQueue-0] INFO System.out - QuickSearch$QuickSearchPainter.hideSearch
    2017-08-01 06:43:05,090Z (16:43) [AWT-EventQueue-0] INFO System.out - QuickSearch$QuickSearchPainter.hideSearch
    2017-08-01 06:43:08,259Z (16:43) [AWT-EventQueue-0] INFO com.itko.lisa.web.jfxbrowser.JFxBrowser - Charset of 'null' not supported. Using platform default charset of 'UTF-8' instead
    2017-08-01 06:43:08,279Z (16:43) [AWT-EventQueue-0] INFO com.itko.lisa.test.Environment - SSL: uninstalled CustomClientSSLScheme
    2017-08-01 06:43:08,289Z (16:43) [AWT-EventQueue-0] INFO System.out - QuickSearch$QuickSearchPainter.hideSearch
    2017-08-01 06:43:10,013Z (16:43) [JavaFX Application Thread] INFO com.itko.lisa.test.Environment - SSL: installCustomClientSSLScheme



  • 2.  Re: TCP/IP Live routing issue

    Posted Aug 01, 2017 07:22 AM

    Hello Prajwala, 

     

    Could you please suggest what is the content type of the response set to?

     

    You can find this from VSI >> Transaction >> Response >> Meta Data. 

     

    Thank you 

    Neelima



  • 3.  Re: TCP/IP Live routing issue

    Posted Aug 01, 2017 08:17 PM

    Hi Neelima,

     

    When we live recorded the transactions following are the ones recorded. Content-Type is not recorded.

     

     

    The request and responses are binary messages.

     

     

    Regards,



  • 4.  Re: TCP/IP Live routing issue

    Posted Aug 02, 2017 08:41 PM

    Hi,

     

    Did you get a chance to look into this?

     

    Regards,



  • 5.  Re: TCP/IP Live routing issue
    Best Answer

    Posted Nov 08, 2017 08:44 AM

    Hi Prajwala, 

     

    Would you be able to share a request/response pair used for recording VS along with the VSI and VSM of your virtual service? 

     

    We will give it a quick check to verify what could be the issue here. 

     

    Should you suspect a product defect on the other hand, feel free to open a support case with us at support.ca.com. 

     

    Thank you 

    Neelima Kadimi