I am trying to use Learning mode for model healing of virtual service. I changing the execution mode to Learning and invoking some transactions which are not available in existing VS.
I observed that
-> New operation is getting recorded/updated in VS for first transaction only.
-> New data for existing operation is not getting recorded in the VS.
For ex : Service S1 has operation O1, O2 and I have created a VS including both the operation and a set of data D1.
Now operation O3 has been added in Live Service S1 , I changed the VS execution mode to Learning for auto healing the model.
And invoked the test with
O3 - D1
O3 - D2
O1 - D2
VSI is getting updated with only O3 - D1.
O3 - D2 and O1 - D2 is not getting recorded/updated in existing VS.
Is this expected behavior, if yes how can we heal VS with new set of data for existing operation?
As per my knowledge that has been expected behavior of learning mode, you need to set "return false" in the match script above default response tab for the particular operation and give a try.
What version of DevTest are you using?
Contact support and explain what is happening. Reference case # DE140494 as I suspect it is related. You can tell them that I sent you and said it was probably related and I'll be able to follow up with support to get you a patch to try.
Thank you Daniel. I have open a case #00324726
Daniel/Ekta - just updated the support ticket and mentioned that it might be related to what Daniel referred to DE140494 and if so to contact Daniel for a patch.
Can anyone confirm if DE140494 has been resolved, and if so, in which version of the product?
Yes, DE140494 has been resolved. The 3 versions that received a patch for this was 8.0.1, 9.0.0, and 9.1.0. This patch was incorporated into the product beginning with 9.5.0.