soapui-pro-更改JDBC连接字符串动态

时间:2012-06-11 22:55:36

标签: soapui

如何在soapui -pro命令行中动态更改JDBC连接字符串,用户名和密码?

由于

1 个答案:

答案 0 :(得分:2)

您可以使用属性。看这里:     Working with SoapUI Properties

请注意页面上关于命令行的最后一点:

Now when you run the request, the property will automatically be replaced with its current    
value. To use a different value just change the endpoint in the UI, or from the command-
line you can use the -P option;

-PServiceEndoint=dev.eviware.com:8884

which would use the dev.eviware.com:8884 endpoint instead (entirely fictional).