Soapui groovy 加载外部property文件
proFile = "c:\\test.properties"
log.info proFile
props = new java.util.Properties()
props.load( new FileInputStream(proFile) )
Iterator iter = props.keys().iterator();
while(iter.hasNext()){
key = iter.next()
testCase.setPropertyValue( key , props[key] )
}
点亮测试人生!QQ:408129370
百度阅读电子书地址:http://yuedu.baidu.com/ebook/f6dbb2a2f01dc281e53af0f3
讨论QQ群:536192476
个人公众号:
百度阅读电子书地址:http://yuedu.baidu.com/ebook/f6dbb2a2f01dc281e53af0f3
讨论QQ群:536192476
个人公众号:
浙公网安备 33010602011771号