Hi Anil,
For the 1st part:
--> You should define different transactions with different Match Tolerances (Exact, Signature & Operation,if needed)
--> Configure magic strings in the response to have some dynamic behavior
--> For HTTP(s) services, the endpoint url is used to establish the connectivity between System Under Test and virtual service. The endpoint url will be:
http://VSEHOSTNAME:PORTUSEDBYSERVICE/BASEPATHCONFIGUREDINVSM-->If you would like to test the service standalone, you can use above url in CA DevTest's Teststep or SOAPUI or POSTMAN etc. But ultimately, the url will be your entrypoint for the virtual service
For 2nd Part:
You have to configure the {{LIVE_INVOCATION_SERVER}} & {{LIVE_INVOCATION_PORT}} and applicable details in LIVE Invocation step within VSM and post that by changing the mode from portal will work.
------------------------------
Regards,
Vaibhav Jain
Capgemini
------------------------------
Original Message:
Sent: 02-04-2020 09:53 PM
From: Anil Kumar
Subject: Creating / Consuming virtual services
Hi all,
for one of the customer we are trying to perform virtualization of the services. However the issue is that we do not have access to the application / service and hence we are not able to record the same. could you please let me know how else we can virtualize the services
1- for one of the SOAP type / HTTP protocol , we just received, only 1 set of RR pair. Using that we have virtualized the service. But is using only 1 RR pair sufficient. And , how will this VS be consumed. Because the developer team is another vendor and we don't have access to configure. What is the best practice to consume the virtual service. Can we send the VS URL to the developer team and ask them to configure the same. If not , is there any other way to consume this VS.
2 - The other need is to use the modes . we plan to use the "Failover" mode so that the virtual service takes over if the live service failed. By selecting the 'failover" mode in portal , can this be achieved. Or are there any other config's needed to be done.
my sincere request to please provide valuable suggestions in this regard. The above service which has been virtualised, we really want it being consumed (considering we do not have access to developer's and how else to consume this) and also modes working the way designed.
thanks