Virtualize : Forward Traffic on condition
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
-
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?0 -
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.
0 -
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.0 -
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.
0 -
Hi,
Here are some resources that can get you startedhttps://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+ConfigurationWhat 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!
0 -
Thanks William. I will explore this. This is helpful
0