Service Virtualization

Expand all | Collapse all

Virtualising HTTPs service

Jump to Best Answer
  • 1.  Virtualising HTTPs service

    Posted 01-13-2020 07:58 AM

    Hi all,

    Could you please answer the below questions / doubts wrt. service virtualization.


    We are trying to create virtual services and here are the points for which we want your inputs:


    • Address service: This service is a TIBCO service and SOAP protocol. We have got the RR pair / live end point URL's for the same from the tester . We have got only a set of 4 data (in the excel sheet ) from the tester. Now the approach we are trying is as follows:
      • From the workstation we have created a virtual service utilizing the RR pair we got above from the tester. This just has only one data or 1 RR pair.
      • From workstation we have created a virtual service utilizing the RR pair we have got above and this has the set of 4 data (sent in excel sheet) . We have used SOAP UI and recorded the same.


    Could you please let us know if the above approaches are correct. The virtual services created above are still not consumed. Because this is a multi-vendor environment and the developers are a different organization. We do not have access and the mgmt. is working approvals so that we can ask them to use the virtual service URL.



    • Dealer service : This service is a SOAP protocol. We have got the RR pair / live end point URL's for the same from the tester. However these are HTTP/S requests and we do not have access to these application. Therefore we are not able to create the virtual service as we require the SSL keys to record from the SOAP UI.  These SSL keys are to be provided by the developer team which are 3rd party organization and there is a lot of waiting period here and mgmt. approval also required.


    • Could you please provide us if there is any ways we can achieve the service virtualization in the above scenario.
      • In this scenario, after the virtualized service has been created , can we add the ssl certificates. Will the virtualized service still provide the correct results.





    capgemini india private limited

  • 2.  RE: Virtualising HTTPs service
    Best Answer

    Posted 01-14-2020 03:19 AM

    Regarding your Address service:
    - it is not completely clear what is your question or issue here
    - if you have one RR pair and an excel sheet with 4 additionnal sets of data then there are 2 ways to proceed IMO:
       1. Copy/paste the one RR pair and have 4 additionnal RR pairs, then edit the content of those RR pairs with the values from the excel sheet. Then create a vsi from RRpairs where younow have 5 sets.
       2. Create the vsi using one set of RR pairs, then use the Service Image Editor to create the 4 additionnal transactions. That will involve copy/pasting, adding, etc...
    Personally I would use the first approach, as it would correctly create the transaction signatures, and do the magic stringing automatically. To do this in the editor you might introduce typos, etc...

    Regarding your Dealer service:
    - yes, you can convert an http virtual service into https later by adding the certificates, etc...
    - if the virtual service is used for functional testing then switch the SUT to do an http call to your virtual service so that you can already begin testing and really do shift-left.

    HTTPS/SSL is a technology that works fine (look at virtually every system in production in the world). Using HTTPS/SSL during functional testing does not add any value, from your question I understand it is delaying you and so it is actually costing you money and quality

    HCL Enterprise Studio