Service Virtualization

  • 1.  Is CodeSV dependent on jetty server in anyway?

    Posted May 30, 2018 02:44 AM

    Is CodeSV dependent on jetty server/jar in anyway?

     

    On running a unit test, we get the below lines in console.

     

    INFO org.eclipse.jetty.server.Server - jetty-9.4.4.v20170414
    [Time-limited test] INFO org.eclipse.jetty.server.AbstractConnector - Started AgentLocalConnector@1eb4998{HTTP/1.1,[http/1.1]}
    [Time-limited test] INFO org.eclipse.jetty.server.Server - Started @1249ms

    What if we try using Apache tomcat instead?



  • 2.  Re: Is CodeSV dependent on jetty server in anyway?

    Posted May 30, 2018 04:57 PM

    Hello Aman,

     

    I am trying to get someone to help to answer your question.

     

    Thanks

    Heloisa



  • 3.  Re: Is CodeSV dependent on jetty server in anyway?
    Best Answer

    Broadcom Employee
    Posted May 31, 2018 03:17 PM

    Yes, Jetty is a third party dependency for Code SV and is used internally. Code SV does not have any external dependencies. Hence, there is no need to explicitly configure web servers.

     

    http://codesv.io/index.php/knowledge-base/supported-environments/

     

    Thanks,

    Surya



  • 4.  Re: Is CodeSV dependent on jetty server in anyway?

    Posted Jun 01, 2018 07:40 AM

    Thank you for responding.

    However, i am curious to know why the below lines come up in console while we execute Codesv test.

     

    INFO org.eclipse.jetty.server.Server - jetty-9.4.4.v20170414
    [Time-limited test] INFO org.eclipse.jetty.server.AbstractConnector - Started AgentLocalConnector@1eb4998{HTTP/1.1,[http/1.1]}
    [Time-limited test] INFO org.eclipse.jetty.server.Server - Started @1249ms

     

    Since, if we don't add the jetty jar dependency in pom.xml of the project, it gives a warning.



  • 5.  Re: Is CodeSV dependent on jetty server in anyway?

    Broadcom Employee
    Posted Jun 01, 2018 07:52 AM

    Yes, CodeSV jar has a dependency on Jetty jar and uses it internally. The same information can be found in the link that I shared. What you don't need is any external web servers to be configured. It is all brought up implicitly as needed by CodeSV. Please let me know if you have any other questions on this. we can have a  call if needed.

     

    Thanks,

    Surya.



  • 6.  Re: Is CodeSV dependent on jetty server in anyway?

    Posted Jun 01, 2018 08:00 AM

    Thank you for clarifying my doubt. Got your point.

    Thanks once again.