Forum Discussion
PaulDonny
13 years agoRegular Contributor
Hi Raviteja,
I am not quite understanding your question. From the way it sounds your wanting to take a property (Node), which is dynamic, and store it to another value (I will call it nodeStore) for later use.
If that is accurate, your best method for this would likely be a groovy script to store it into a property value or a database to store it in if your needing it for a longer term. Both are rather simple to accomplish.
To store it to another property:
curTC = testRunner.testCase;
curTC.setPropertyValue("nodeStore",curTC.getPropertyValue("Node"));
For the DB option, it would be a bit more difficult but still not that hard to do. I would suggest coding a DBread and DBwrite function in Java and then just copying the code over to SoapUI and include the imports. Sometimes you have to make minor edits but typically nothing too huge. Access or SQLite3 works wonderfully as local databases.
I am not quite understanding your question. From the way it sounds your wanting to take a property (Node), which is dynamic, and store it to another value (I will call it nodeStore) for later use.
If that is accurate, your best method for this would likely be a groovy script to store it into a property value or a database to store it in if your needing it for a longer term. Both are rather simple to accomplish.
To store it to another property:
curTC = testRunner.testCase;
curTC.setPropertyValue("nodeStore",curTC.getPropertyValue("Node"));
For the DB option, it would be a bit more difficult but still not that hard to do. I would suggest coding a DBread and DBwrite function in Java and then just copying the code over to SoapUI and include the imports. Sometimes you have to make minor edits but typically nothing too huge. Access or SQLite3 works wonderfully as local databases.