xml - Property transfers in soapui -
I am trying to write parallel test in sublimation and need to move properties between test steps
Currently I have 3 test steps:
- Execute a legacy request
- Execute a new request
- XML spreads one Two responses in the Groove script
I have lots of options about selecting values with xpaths Logs have been found, but nothing about passing the full response.
My question is how can I complete the source and target boxes in the property transfer editor?
- Add a "property" test phase.
- Add properties for each response.
- Define a "property transfer" after each request
- Set the source for the response to the test phase
- Set the target for the property defined in step 3
-
Access them in groovy like this:
def props = testRunner.testCase.getTestStepByName ("attribute")
def response1 = proposoft property value ("feedback 1 ")
Diff Reaction 2 = Prop. DataProperty Value ("response2")
printlen response 1 / println response2
Comments
Post a Comment