SOAP request dynamic field


#1

Hi,

I have an SOAP request in Object Repository with the following Request Message

<soapenv:Envelope xmlns:env=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:v1=“http://hu.tsystems.innogy.workflowmanager/WorkflowSyncData/v1”>
soapenv:Header/
soapenv:Body
v1:WorkflowSyncDataRequest
v1:reason
v1:reasoncodePUSHALL</v1:reasoncode>
v1:indexINDEX</v1:index>
</v1:reason>
v1:workflowdata
v1:workflowid0</v1:workflowid>
v1:wfobject

How can I set INDEX dynamically during test? For example
id=1000 and run WS.sendRequest(findTestObject(‘Workflow/Load’, [(‘index’):id]))
id=1001 and run WS.sendRequest(findTestObject(‘Workflow/Load’, [(‘index’):id]))
etc

THX
KiT