Soap UI:设置
来源:互联网 发布:买吉他知乎 编辑:程序博客网 时间:2024/06/11 12:50
今天用Soap UI测试API,出现几个问题现在分享一下
这是处理内存和编码的问题
如果SoapUI正在处于运行的状态,那么先请关闭,再进行下面的操作。
操作方法:
查找SoapUI的安装的路径,点击路径下的bin目录,对SoapUI.bat文件进行编辑,找到相应语句并修改成以下语句:
set JAVA_OPTS=-Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\" -splash:soapui-pro-splash.png -Dsun.jnu.encoding=UTF-8 -Dfile.encoding=UTF-8
注明:修改蓝色内容可解决内存溢出问题;
新增红色内容可解决中文乱码问题。
SoapUI.bat文件修改完成之后,进行保存。
修改内存之后,如果想要开启SoapUI,务必点击SoapUI.bat文件,千万别点击SoapUI应用程序,避免应用程序出错
进入SoapUI应用程序之后,点击Help-System properties,即可看到修改后的内容。
其次是Socket Timeout
Default socket timeout is set to 60000 milliseconds. You can change it:
File -> Preferences -> HTTP Settings -> Socket Timeout
下面这个方法我没有试过,不知道可不可行
You can also edit this setting directly in the soapui-settings.xml
<con:setting id="HttpSettings@socket_timeout">120000</con:setting>
You can also set the value to 0 and then it doesn't time out. Tested it with SoapUI 4.5.0设置为0永远不超时
0 0
- Soap UI:设置
- soap ui
- Groovy in SOAP UI
- Groovy in SOAP UI
- soap ui 配置
- SOAP UI 简单使用
- Soap UI 负载测试
- Soap UI工具初探
- Database connection in SOAP UI
- SOAP UI & Eclipse plugin 安装
- [工具使用] SOAP UI 测试
- Web Service SOAP Client 设置 SOAP Header
- Web Service SOAP Client 设置 SOAP Header 增加SOAP-Header
- SOAP UI 创建SOAP工程进行接口测试
- SOAP UI 创建SOAP工程进行接口测试
- SOAP UI 一款Web Service工具
- 在SOAP UI中Mock Restful Service
- (四) WebService-- SOAP UI 工具使用
- 数据集成:Flume和Sqoop
- android底层驱动学习之调试驱动DEVICE_ATTR的原理及用法
- cocopods借鉴别人的代码以及自己应用总结
- SQL COUNT() 函数
- ffmpeg支持的codec
- Soap UI:设置
- 百度天气预报接口介绍
- 【Linux】管理在线用户
- Java String.split()用法小结
- SQL MAX() 函数
- C++如何将vector<string> str里的内容全部写入TXT
- UIView的常见属性
- Qt发送HTTP请求
- iOS从零基础到精通就业-C语言入门