Service Virtualization

  • 1.  IWS stubbing

    Posted Jun 26, 2018 04:36 AM

    I recorded an IWS transaction and while trying to deploy I am getting error like "address already in use". I tried with multiple port number but still the same error and the stub moves to ended state. Could you please advise on the fix

     

    error :

    ============================================================================
    | Exception while shutting down
    ============================================================================
    | Step:        abort
    ----------------------------------------------------------------------------
    | Message:     Address already in use
    ----------------------------------------------------------------------------
    | Trapped Exception: Address already in use
    | Trapped Message:   java.net.BindException: Address already in use
    ----------------------------------------------------------------------------



  • 2.  Re: IWS stubbing

    Broadcom Employee
    Posted Jun 26, 2018 10:52 AM

    What version of DevTest are you on?  In what log is this error message appearing?



  • 3.  Re: IWS stubbing

    Broadcom Employee
    Posted Jun 26, 2018 01:18 PM

    Also, try doing a netstat on those ports , see if the port is listening. 

     

    >netstat -ano | grep "<port> " or 

     

    >netstat -ano | find  "<port>" 



  • 4.  Re: IWS stubbing

    Posted Jun 27, 2018 10:59 AM

    Hello Shanmuga,

     

    If the ports you are trying to use in the VSM are not already in use by a different process, could you please send a screenshot of your virtual service model?

     

    Heloisa