We have a code block inside the ".vsm" file inside the devtest called "getExecutionMode" and according to the request match it returns the expected response.
If the answer is correct and the execution mode chosen is EFFICIENT it returns the virtual service only.
If the answer is LIVE it returns only the real service, this works well.
We put a new condition for STAND_IN and it should return the real service when the correspondence leads to a default (xml or json) answer. Even if you are looking for the information correctly, devtest is unable to direct you to the real service with this configuration.
------------------------------
Michel Silva
Capgemini
------------------------------
Original Message:
Sent: 06-19-2020 06:42 AM
From: Vaibhav Jain
Subject: [DevTest 10.2.4.153] how to set the STAND_IN address in the option LIVE
Hi Michel,
I believe, you meant the live invocation server and port are getting populated as per your expectation.
Please check following points:
What is the script you used to set the execution mode STAND_IN ?
Is your virtual service sending a no-response for your test scenario - as only in this case STAND_IN mode will be executed.
Thanks
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 06-19-2020 06:28 AM
From: michel silva
Subject: [DevTest 10.2.4.153] how to set the STAND_IN address in the option LIVE
Hi Vaibhav Jain.
I created a code on devtest to take LIVE_INVOCATION_SERVER and LIVE_INVOCATION_PORT and direct it according to the information I put. The configuration of the execution mode in the Portal is always in DYNAMIC, which allows changing the execution mode through devtest using script. The problem is that I put the information, but the devtest disregards the information entered and does not direct to the LIVE service. Changes can only be made with a script according to my project
Thank you!
Original Message:
Sent: 06-19-2020 02:04 AM
From: Vaibhav Jain
Subject: [DevTest 10.2.4.153] how to set the STAND_IN address in the option LIVE
Hi Michel,
You can change the mode from Portal.
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 06-18-2020 12:41 PM
From: michel silva
Subject: [DevTest 10.2.4.153] how to set the STAND_IN address in the option LIVE
Hello everyone.
I would like to know how to set the STAND_IN mode to which address or test will be indicated. Even placing the values configured in the variable LIVE_INVOCATION_SERVER and configuring a port in LIVE_INVOCATION_PORT, the answer does not correspond with the expected. What is the way the DevTest arrow this information to answer is who was informed? Could anyone help?
Thank you all.
------------------------------
Michel Silva
Capgemini
------------------------------