Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Need help for a POC on Community Edition of Parasoft to prove the context based switching.

antika
antika Posts: 6

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

URL: http://time.jsontest.com/

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'.

Comments

  • Ireneusz Szmigiel
    Ireneusz Szmigiel Posts: 227 ✭✭✭

    @antika
    Could you please share on forum screenshots of your configuration, created PVA, and screenshot of proxy configuration.

    --
    Ireneusz Szmigiel
    http://www.catb.org/esr/faqs/smart-questions.html

  • Ireneusz Szmigiel
    Ireneusz Szmigiel Posts: 227 ✭✭✭
    edited May 2019

    @antika
    I have just tested similar case on my side, and it works as expected.
    See attached screenshot.

    I have also checked recording in Parasoft Virtualize Community Edition and I have it working. Not sure where do you have problem with this.

    If you need help during POC please contact with your Parasoft Sales Representative.
    Or publish on forum your example with screenshots of configuration for proxy and PVA. We take a look and see if we can find out cause of described by you, behavior.

    --
    Ireneusz Szmigiel
    http://www.catb.org/esr/faqs/smart-questions.html

  • antika
    antika Posts: 6

    Thank you for taking time to test it. Please also review once the attach configuration document. Please provide your feedback and if possible share the configuration screenshot which you have used.