Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
TacoVerhagen
Visitor.
283 views

Passthrough except when a response is set

Jump to solution

We are struggeling to create the following setup, is this currently possible with service virtualization?

We start by setting the response for specific messages (says the field user = "Test1" or "Test2", send respons 123 or 234 )

1.) if the SV gets an expected message, send the recorded response

2.) if the message does not meet any expected message, call the "real" service and basically SV does nothing

Background: we are working with a SAP to SAP system using the RFC message protocol. We want to allow specific testers to test "strange" and "exotic" behaviour, while the rest of the team can use the server for development and other tests.

0 Likes
1 Solution

Accepted Solutions
Jakub Honored Contributor.
Honored Contributor.

Re: Passthrough except when a response is set

Jump to solution

This is possible via "hybrid simulation".

  1. Enable it in Data Model Editor: On top right click on Advanced Simulation/Hybrid Simulation
  2. On Default Response rule click on "All Simulated" and it will change to "All Forwarded"

When this is set, VS will call real RFC function in case response contains no data from rules above Default Response rule.

This feature is available for RFC virtual services since SV 4.20. BTW latest SV version is 5.00.

---
Service Virtualization R&D
0 Likes
2 Replies
Jakub Honored Contributor.
Honored Contributor.

Re: Passthrough except when a response is set

Jump to solution

This is possible via "hybrid simulation".

  1. Enable it in Data Model Editor: On top right click on Advanced Simulation/Hybrid Simulation
  2. On Default Response rule click on "All Simulated" and it will change to "All Forwarded"

When this is set, VS will call real RFC function in case response contains no data from rules above Default Response rule.

This feature is available for RFC virtual services since SV 4.20. BTW latest SV version is 5.00.

---
Service Virtualization R&D
0 Likes
TacoVerhagen
Visitor.

Re: Passthrough except when a response is set

Jump to solution

Ahhh, that explains why this is not possible in 3.8

Solves my problem and a good reason to upgrade.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.