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.

Virtualize : Forward Traffic on condition

Options

I have a responder where it forward the incoming request through an internal routing to another responder. But I wanted to forward traffic only when specific criteria matches.
I used Data source correlation and also tried using responder correlation but no luck.
It just ignores the condition and forwarding the incoming request to another responder.
Can some one hep me to achieve this ?

Comments

  • williammccusker
    williammccusker Posts: 645 ✭✭✭
    Options

    Hi,
    Forwarding is usually trigger by data source correlation failure. What are some of the specific criteria you want to be able to use to trigger forwarding or not?

  • bsaikrishna84
    bsaikrishna84 Posts: 66
    Options

    I have an account number which is coming in the request. I wanted to correlate the matching account number from the datasource (excel) and only forward message to another pva when the account number matches.

  • williammccusker
    williammccusker Posts: 645 ✭✭✭
    Options

    Hi,
    I see, so when it matches you want to go to another responder. Would it be possible to use a message proxy with a primary and secondary connection? The primary connection would go the desire responder and if its data source correlation fails then the proxy would send the message to the secondary connection.

  • bsaikrishna84
    bsaikrishna84 Posts: 66
    Options

    Right william, but am not sure on how to setup message proxy . Could you please guide me where I can get help or if you can reproduce the same it would be more helpful.

  • williammccusker
    williammccusker Posts: 645 ✭✭✭
    Options

    Hi,
    Here are some resources that can get you started

    https://forums.parasoft.com/discussion/2729/what-are-message-proxies-and-how-are-they-used
    https://docs.parasoft.com/display/SOAVIRT9107/Creating+Proxies
    https://docs.parasoft.com/display/SOAVIRT9107/HTTP+Configuration

    What you probably want it to have the primary connection forward to your responder, the settings are very similar to what you use in the forward tool. Then the secondary connection will go to what ever alternative endpoint you want.

    For more hands on help please contact support@parasoft.com and someone would be happy to help assist you with your setup.

    Hope this helps!

  • bsaikrishna84
    bsaikrishna84 Posts: 66
    Options

    Thanks William. I will explore this. This is helpful