Need help for a POC on Community Edition of Parasoft to prove the context based switching.
We need help for a POC on which we are currently working on Parasoft Community Edition tool for below scenario to prove 'context based switching' as we want to showcase live industry scenario in the POC for demo purpose:
1) Hit HTTP url (main application on internet) which is an application which provides current time
2) Create a virtual asset on community edition of Parasoft which will give similar time response to application of Point #1.
---> also there is restriction on community edition that we can not record the live application traffic of #1 URL , hence we have hardcoded our virtual service reponse while creating the virtual service asset.
3) POC Scenario to showcase 'context based switching'
when the URL of #1 is up all the hits should be directed to #1 and once this application is down (due to various reasons like maintenance activity) the response should automatically be directed to our virtual service created in #2.
We have tried to add the primary & secondary HTTP URL proxy configuration for above scenario.
Primary URL in proxy configuration: http://time.jsontest.com/
Secondary URL in proxy configuration: the virtual asset url which i have created
however, the above scenario is not working for us. All the responses are sent by the secondary (virtual asset) eventhough the primary application #1 is up and running.
By this we wanted to showcase a scenario in which the main primary application which we wanted to test in a flow is down then automatically switch happens and the virtual service starts responding to our requests to prove the 'context switcihng scenario'.