I have been trying to modify the mode of execution of the virtual service through bean shell code in DevTest Workstation. Below, some codes I tested:
// To change the service to efficient
testExec.setStateValue ("lisa.vse.execution.mode", ExecutionMode.LIVE);
// To return the execution mode
return ExecutionMode.LIVE;
However, none of the above methods work. When I request the service, the code is executed, however the execution mode remains set to Most Efficient.
Is there anything that must be done for these codes to work?