Service Virtualization

Expand all | Collapse all

What are the different modes of accessing a deployed virtual service

  • 1.  What are the different modes of accessing a deployed virtual service

    Posted 16 days ago
    Hi,

    Can we access the deployed virtual service through Portal link. i.e developers wants to hit the service through a link but not access the tool. How can this be achieved. Please guide.


    regards
    Thulasi




  • 2.  RE: What are the different modes of accessing a deployed virtual service

    Posted 16 days ago
    Hi,

    Qn2. Can we test the VS created in one tool from other tool. If the SV is created in Devtest and can it be accessed in Postman/Soapui

    regards
    Thulasi


  • 3.  RE: What are the different modes of accessing a deployed virtual service

    Posted 16 days ago
    Yes, Once the service is deployed from CA DevTest, it becomes accessible through the endpoint url.

    This endpoint url could be invoked from any API invoking mechanism/tool like curl, postman, soapui, code in any language and should/must work (assuming you have necessary connectivity & infra setup).

    Thanks

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



  • 4.  RE: What are the different modes of accessing a deployed virtual service

    Broadcom Employee
    Posted 16 days ago
    HI Thulasi
             Yes you can test the VS from all tools like postman, SOAPUI, your own applications under development, CURL commands and even form DevTest Testcase etc. 

    You can get the URL of the running Virtual Service from Portal VSE-> Monitor as shown below:
    image.png

    --
    regards
    Sankar Natarajan

    This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.





  • 5.  RE: What are the different modes of accessing a deployed virtual service

    Posted 12 days ago
    Thank You Vaibhav and Sankar,

    If a developer wants to run the unit tests from their system and hit VS, without DevTest being installed is it possible to access this link. What is the criteria for that.

    Is it possible to use this as an alternative for Service Target URL in their development code such as Java etc. or is it only useful for only testing with certain conditions.

    Should the tests running be on the same network/server as where this VS is installed?
    How to deploy the VS created on a different server than where it is created. what is the criteria for this along with MAR file.
    What are the minimum requirements to run VS on a different system than created. Does it need all the components of DevTest to be installed? Please provide some inputs around it.

    thank you

    regards
    Thulasi





  • 6.  RE: What are the different modes of accessing a deployed virtual service

    Posted 12 days ago
    Hi Thulasi,

    Please find below my comments:
    if a developer wants to run the unit tests from their system and hit VS, without DevTest being installed is it possible to access this link.
    Vaibhav: Yes, virtual services could be invoked from any machine having connectivity with VSE and need not any devtest component to be installed for testing or invoking a virtual service.

    Is it possible to use this as an alternative for Service Target URL in their development code such as Java etc. or is it only useful for only testing with certain conditions.
    Vaibhav: Yes, virtual services are used to eliminate the dependencies on real services. Hence, virtual service url could be integrated in unit testing framework. The conditions are configured in virtual services based on the test requirements, so you have to align the virtual service accordingly.

    Should the tests running be on the same network/server as where this VS is installed?
    Vaibhav: It depends on the infra setup you have. In many cases the virtual services are configured in same network but there are instances where virtual services are configured in separate networks as well example AWS, azure etc. In a nutshell, if you have connectivity established between two machines over a port then virtual service communication could be established smoothly

    How to deploy the VS created on a different server than where it is created. what is the criteria for this along with MAR file.
    What are the minimum requirements to run VS on a different system than created. Does it need all the components of DevTest to be installed? Please provide some inputs around it.
    Vaibhav: Yes, MAR files are used to deploy virtual services to different VSEs. You can use workstation also to deploy vs to different VSEs(after connecting to relevant registry via workstation). A VSE environment could be configured in a standalone server also but it will need connectivity to components like Registry etc.

    Hope this will help you.

    Thanks

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



  • 7.  RE: What are the different modes of accessing a deployed virtual service

    Posted 12 days ago
    Hi Sankar,

    where to find the URL you showed in DevTest portal, in DevTest workstation?

    regards

    Thank You
    Thulasi


  • 8.  RE: What are the different modes of accessing a deployed virtual service

    Broadcom Employee
    Posted 12 days ago
    Hi Thulasi
             That screenshot was from Portal.

    --
    regards
    Sankar Natarajan

    This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.





  • 9.  RE: What are the different modes of accessing a deployed virtual service

    Posted 12 days ago
    Hi Thulasi,

    In devtest portal, Once you login -->  Select Monitor, Virtual Service Environments in the left navigation menu.

    Select the virtual service, click on actions options to get the copy URL option.

    Thanks


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



  • 10.  RE: What are the different modes of accessing a deployed virtual service

    Posted 12 days ago
    Hi,

    I will reframe the question, can I know where to find the URL in Workstation.

    regards
    Thulasi


  • 11.  RE: What are the different modes of accessing a deployed virtual service

    Posted 12 days ago
    Hi Thulasi,

    You will not find the entire url in the workstation (VSM). However, using the details in Listen step, you can create a url as below

    http(s)://VSEHOSTNAME:ServicePORT/BASEPATH

    ServicePORT & BASEPATH are available in Listen step in VSM.

    Thanks

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



  • 12.  RE: What are the different modes of accessing a deployed virtual service

    Posted 12 days ago
    Hi Vaibhav/Sankar,

    Thank you for your quick response. I got the clarity on URL.
    Can you please respond to my other queries,
    one of them where clarification needed is
    Communication with the virtual service environment simulation is performed either
    directly in the respective network zone and/or across network zones via the IBM Service Bus. Is this a possible scenario. If yes, is there any documentation around this.Can we achieve the use of VS across the networks.

    Thank you for your support.

    regards
    Thulasi


  • 13.  RE: What are the different modes of accessing a deployed virtual service

    Posted 12 days ago
    Hi Thulasi,

    Responded to your queries in one of my above posts. Please refer the same for more details.

    Thanks

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



  • 14.  RE: What are the different modes of accessing a deployed virtual service

    Posted 12 days ago
    Thank You Vaibhav.

    regards
    Thulasi


  • 15.  RE: What are the different modes of accessing a deployed virtual service

    Posted 11 days ago
    No Worries :)

    Happy to help.

    Thanks

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



  • 16.  RE: What are the different modes of accessing a deployed virtual service

    Posted 16 days ago
    Hi Thulasi,

    The deployed virtual service can be accessed through its Endpoint url not through Portal URL.

    The endpoint url of the service will be something as below:
    http(s)://VSEHOSTNAME:ServicePORT/BASEPATH

    Thanks

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