Forum Discussion
aaronpliu
5 years agoFrequent Contributor
Hi ShailjaPan ,
SoapUI's property does not allow duplicate key. If you try to put same key in properties, consider save a list there.
For example: key1=[value1, value2, value3]. And please be aware that properties just allow save as "string", so you may need to convert your list or map with groovy.json.JsonOutput.toJson(YourList).
If you set value with same key, then previous will be replaced with new one. For instance, username=foo, and you run script testRunner.testCase.setPropertyValue("username", "bar"), then previous property will be covered with new value.
Thanks,
/Aaron
Related Content
Recent Discussions
- 9 hours agoruchisingh