Hello,
I try to modify the model behavior of a VS with the REST API.
I don't understand what's the problem with the xml:
<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>
<VirtualService xmlns=\"http://www.ca.com/lisa/invoke/v2.0\" name=\"${testname}\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.ca.com/lisa/invoke/v2.0 VirtualService.xsd\" href=\"http:/xxxxxxxxxxx:1505/api/Dcm/VSEs/${vse}/${testname}\" type=\"application/vnd.ca.lisaInvoke.virtualService+xml\">
<ExecutionMode>Transaction Tracking</ExecutionMode>
</VirtualService>
Groovy code:
Thank you for your Help.
Best regards.
Thank you, it works: