Service Virtualization

 View Only
  • 1.  Accessing SV from outside DevTest tool

    Posted Mar 16, 2021 02:48 AM
    Hi,

    I am using a Client Citrix Server say Machine 'A' to access client network and have created Soap Virtualized Services over DevTest Portal installed on a different machine say Machine 'B'. I would successfully test it on the machine where devtest is installed (i.e Machine B)

    I would like to access it from SOAP UI installed on Machine 'A' or any development systems in same network. i. e I am able to hit the VS from SOAP UI in 'B' but not on 'A'.
    please guide, if I can change some settings in local.properties to achieve this or is this access issue from client side.

    regards
    Thulasi


  • 2.  RE: Accessing SV from outside DevTest tool

    Posted Mar 16, 2021 02:55 AM

    Classification: Confidential

    Hi Thulasi,

     

    This looks like a pure connectivity problem between client (your Citrix server) and server (the VSE).

     

    What is the behaviour you see from client side? If it seems like it hangs (indefinitely) it is most likely a firewall issue. I you get a "Connection refused" then you are able to reach the machine but either it is the wrong port, or it is the right port but there are SSL certificate issues (if using https).

     

    Cheers,

    Danny

     

    ::DISCLAIMER::

    The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.






  • 3.  RE: Accessing SV from outside DevTest tool

    Posted Mar 16, 2021 12:59 PM
    Hi Thulasi,

    This seems more like of a connectivity issue. Make sure the VS invoking  machine and VSE are having connectivity available (firewall rules, ports etc.)

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 4.  RE: Accessing SV from outside DevTest tool

    Posted Mar 18, 2021 05:21 AM
    Hi Vaibhav,

    Thank You. I pinged the VSE system from VS Invoking machine. It works fine.
    I could not telnet with port number, no telnet in system and could not enable one due to security permissions. So I could not validate the opening of PORT. 

    Also the Real endpoint URL is SSL enabled https://endpointserver
    I have created VS with http://VSE:PORT. 
    Can this be compatible, will a http VS replace a https real endpoint. If not, what are the additional steps to take to create a working SSL enabled VS.

    If I try to test the VS with http://VSE:PORT I get the following error:

                    java.net.ConnectException: Connection refused: connect
                    at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
                    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
                    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
                    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
                    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
                    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
                    at java.net.Socket.connect(Socket.java:589)
                    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)
                    at com.itko.lisa.test.ReuseSocketHttpProtocolSocketFactory.connectSocket(ReuseSocketHttpProtocolSocketFactory.java:30)
                    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
                    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
                    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
                    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
                    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
                    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
                    at com.itko.lisa.ws.axis.LisaHTTPSender.doInvoke(LisaHTTPSender.java:492)
                    at com.itko.lisa.ws.axis.LisaHTTPSender.invoke(LisaHTTPSender.java:267)
                    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
                    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
                    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
                    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
                    at org.apache.axis.client.Call.invokeEngine(Call.java:2837)
                    at org.apache.axis.client.Call.invoke(Call.java:2820)
                    at com.itko.lisa.ws.nx.NxWSStep.executeCall(NxWSStep.java:384)
                    at com.itko.lisa.ws.nx.NxWSStep.execute(NxWSStep.java:289)
                    at com.itko.lisa.test.TestNode.executeNode(TestNode.java:995)
                    at com.itko.lisa.test.TestCase.execute(TestCase.java:1297)
                    at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
                    at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
                    at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1124)
                    at com.itko.lisa.coordinator.Instance.run(Instance.java:208)
    </ns1:stackTrace><ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">VSEServer</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>






  • 5.  RE: Accessing SV from outside DevTest tool

    Posted Mar 18, 2021 05:51 AM
    Hi Thulasi,

    Please try once with HTTP service and if the port connectivity is available then it should get response.

    Once HTTP service works, you can configure ssl certs and try https service.

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 6.  RE: Accessing SV from outside DevTest tool

    Posted Mar 22, 2021 02:52 AM
    Hi Vaibhav,

    It was port issue, it is working now. Uploading... Upload file


  • 7.  RE: Accessing SV from outside DevTest tool

    Posted Mar 22, 2021 03:02 AM
    Cool. Thanks for the update.

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------