使用SoapUI测试调试web service接口详细教程
2016-03-18 15:10
691 查看
一、安装
1.1 下载
http://www.soapui.org/
网上也有很多可以免安装的。
1.2 安装
By downloading and installing soapUI using the windows installer from SourceForge soapUI Web Site, which includes the required 1.6 JRE (Java Runtime Environment). Use the installer if you are unsure about your systems Java installation or if you want startup
menu icons and an uninstaller.
记得安装1.6 JRE 环境,双击安装就可以使用了。
二、测试
3.1 启动程序
3.2 新建工程
File->New soapUI Project
输入需要测试的测试地址,格式如下:
http://{url}?wsdl
3.3 查看web service 服务
3.4 测试调用
双击Request1,显示Request界面(有些需要先填入参数),点击绿色的提交按钮,就会递交请求,同时会在右侧返回结果,请求与结果都为XML格式。
三、小结
这样就可以开始对web service进行测试了。但是SoapUI的功能远不止这些,其可以对web service进行功能上和性能上的测试。
1.1 下载
http://www.soapui.org/
网上也有很多可以免安装的。
1.2 安装
By downloading and installing soapUI using the windows installer from SourceForge soapUI Web Site, which includes the required 1.6 JRE (Java Runtime Environment). Use the installer if you are unsure about your systems Java installation or if you want startup
menu icons and an uninstaller.
记得安装1.6 JRE 环境,双击安装就可以使用了。
二、测试
3.1 启动程序
3.2 新建工程
File->New soapUI Project
输入需要测试的测试地址,格式如下:
http://{url}?wsdl
3.3 查看web service 服务
3.4 测试调用
双击Request1,显示Request界面(有些需要先填入参数),点击绿色的提交按钮,就会递交请求,同时会在右侧返回结果,请求与结果都为XML格式。
三、小结
这样就可以开始对web service进行测试了。但是SoapUI的功能远不止这些,其可以对web service进行功能上和性能上的测试。
相关文章推荐
- androidUI(ScrollView与GridView,ListView的冲突)
- request对象
- Woosim BluetoothPrint 蓝牙打印机Android实现
- Launcher UI结构与事件传递处理分析
- UI控件--AutoCompleteTextView
- TableView性能优化
- 2、ExtJs中日期组件value和getValue()取值的区别(转)
- 安装SVN提示please wait while the installer finishes determining your disk space requirements
- easyui datagrid 数据汇总
- Druid创始人Eric Tschetter详解开源实时大数据分析系统Druid
- Android 5.0 InCallUI
- singleLine=”true” 和 maxLines=”1″的区别
- 获取UUID
- UITextField 限制用户输入小数点后位数的方法
- UITextView 基础篇
- 扣丁学堂笔记第02天UI布局
- java 打印对象的属性和值ToStringBuilder.reflectionToString
- IOS动画中的枚举UIViewAnimationOptions
- java 遍历request中的所有表单数据
- 用while(true)和continue、break来实现在一个大循环里switch