Service Virtualization

 View Only
  • 1.  PortServer Error

    Posted Jan 27, 2020 04:58 AM
    Hi All,

    We're getting the PortServer error for one of your VS. 

    Please find the VS details, below error observed in VSE log and clarify me on how to resolve this issue. 

    • This VS contains Customized JavaScript and JDBC steps connected to the local DB.
    • 8322 is port number of VS
    DevTest Version: 10.3
    Server: Windows Server 2012 R2

    2020-01-27 06:53:11,423Z (07:53) [PortServer:0.0.0.0/0.0.0.0:8322] ERROR com.itko.lisa.vse.sio.PortServer - An error occurred reading from the client.2020-01-27 06:53:11,423Z (07:53) [PortServer:0.0.0.0/0.0.0.0:8322] ERROR com.itko.lisa.vse.sio.PortServer - An error occurred reading from the client.java.io.IOException: An established connection was aborted by the software in your host machine at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at com.itko.lisa.vse.sio.NIOSession.readFromSocketChannel(NIOSession.java:189) at com.itko.lisa.vse.sio.SSLSession.processInboundNetworkData(SSLSession.java:349) at com.itko.lisa.vse.sio.SSLSession.readEncryptedData(SSLSession.java:271) at com.itko.lisa.vse.sio.SSLSession.readApplicationData(SSLSession.java:191) at com.itko.lisa.vse.sio.NIOSession.handleRead(NIOSession.java:138) at com.itko.lisa.vse.sio.SelectorThread.handleOperations(SelectorThread.java:316) at com.itko.lisa.vse.sio.SelectorThread.run(SelectorThread.java:265) at java.lang.Thread.run(Thread.java:745)


  • 2.  RE: PortServer Error

    Broadcom Employee
    Posted Jan 29, 2020 06:39 AM
    Hi Surya
              For the problematic VS, can you tell me the typical response time ? Are there any intentional delays introduced in the various VSM steps ? What about the think time. It appears like the client application is closing the connection which is something that happens when the server exceeds the expected response time and the client connection times out.

    Please check the http timeout setting on the client application and also look for potential delays and think time in the problematic VS.

    regards
    Sankar

    ------------------------------
    Sankar Natarajan
    Service Virtualization Product Engineering Team
    Broadcom
    ------------------------------



  • 3.  RE: PortServer Error

    Posted Jan 30, 2020 04:11 AM
    Hi Sankar,

    Please find the below details. 

    • We expect the response time should be less than 1 second but for some of the requests, it is taking almost a minute.
    • No intentional delays are present in the VSM steps.
    • Think Time is 0s for Sync responses and 15/30s for Async responses.
    • HTTP timeout setting in the client application is 20s. 



  • 4.  RE: PortServer Error

    Broadcom Employee
    Posted Jan 30, 2020 05:06 AM
    Hi Surya
                 Thanks for the quick response. I have some follow up questions.

    • We expect the response time should be less than 1 second but for some of the requests, it is taking almost a minute. - What is the throughput for this VS in terms of transactions per second ? Is the VSE running in performance mode ? On those occasions when the response is slower, did you notice a message similar to this one in vse.log file ? "Transaction processing speed is being gated due to licensing restrictions" 
    • No intentional delays are present in the VSM steps. - ok
    • Think Time is 0s for Sync responses and 15/30s for Async responses. - ok
    • HTTP timeout setting in the client application is 20s.  - Is the timeout same for both Sync and Async ?

    --
    regards
    Sankar Natarajan





  • 5.  RE: PortServer Error

    Posted Feb 03, 2020 05:00 AM
    Hi Sankar,

    Please find the below responses to your questions. 

    • Yes, VSE is running in performance mode and we don't see the transactions processing speed issues. 
    • The Timeout is only for Sync messages. 

    My doubt is, Is there any software installed in the VSE server is causing this issue ?. Please clarify me..


  • 6.  RE: PortServer Error

    Broadcom Employee
    Posted Feb 04, 2020 07:06 AM
    Hi Surya
                How do you distinguish between sync and async messages in your mode/image ? IS it possible for you to share your VS MAR file ?

    -Sankar

    ------------------------------
    Sankar Natarajan
    Service Virtualization Product Engineering Team
    Broadcom
    ------------------------------



  • 7.  RE: PortServer Error

    Posted Feb 04, 2020 08:24 AM

    Hi Sankar,

    We distinguish the sync and async messages in VSI. We cannot share the mar file, but please find the below screenshots for reference. 

    Sync Message


    Async Message



  • 8.  RE: PortServer Error
    Best Answer

    Broadcom Employee
    Posted Feb 04, 2020 08:48 AM
    Thanks Surya. Can I suggest that you add a miniscule think time of say 10 (meaning 10 milliseconds) for the sync response. (response 1) and see how it works.

    --
    regards
    Sankar Natarajan





  • 9.  RE: PortServer Error

    Posted Feb 04, 2020 08:59 AM
    Thanks for your suggestion Sankar.

    Will update the VSI accordingly and if issue still persists, will let you know with the results. Thanks for the support.