Omalley
12 years agoNew Contributor
Problem creating a PropertyTransfer teststep with soapUI api
Hello everyone,
I am building an java application using the soapUI API allowing the user to create a full soapUI project (testsuites, testcases, teststeps...)
and I am encountering a problem creating the propertyTransfer teststep.
In fact, I am only able to create a transfer between two testStep using the methods: PropertyTransfer.setSourceStepName(testStepSourceName); and
PropertyTransfer.setTargetStepName(testStepTargetName);
What's strange is that it's possible to select a testcase or a testsuite in the soapUI GUI to perform a property transfer. So I presume the fonctionnality has also been implemented in the API.
When I try to give to theses methods a test case or a test suite name, It says :" [PropertyTransfer] Failed to get sourceStep " and I haven't found any similar methods could do the same action for testcase and testsuite.
I hope you will have a solution for that, thank you in advanced !
I am building an java application using the soapUI API allowing the user to create a full soapUI project (testsuites, testcases, teststeps...)
and I am encountering a problem creating the propertyTransfer teststep.
In fact, I am only able to create a transfer between two testStep using the methods: PropertyTransfer.setSourceStepName(testStepSourceName); and
PropertyTransfer.setTargetStepName(testStepTargetName);
What's strange is that it's possible to select a testcase or a testsuite in the soapUI GUI to perform a property transfer. So I presume the fonctionnality has also been implemented in the API.
When I try to give to theses methods a test case or a test suite name, It says :" [PropertyTransfer] Failed to get sourceStep " and I haven't found any similar methods could do the same action for testcase and testsuite.
I hope you will have a solution for that, thank you in advanced !