Web service framework—SoapUI研究

发表于:2014-11-14 10:42

字体: | 上一篇 | 下一篇 | 我要投稿

 作者:evanya08    来源:51Testing软件测试网采编

#
SoapUI
分享:
  最近接触到web service的一些事情,是基于脚本的自动化的一个测试过程,主要用到的是SoapUI(groovy script)。
  SoapUI的在线文档是一个很好的资源,基于此,有一些简单的应用分享。
  有兴趣可以研究一下,自己也是一个在学习的过程,一点学习笔记分享给大家。
  Here is a sample presented that how to run test case in soapUI project and save data into DB
  Process:
  1.       Load properties file or DataSource so that fetch corresponding data
  2.       Set a request with parameters populated(data derive from properties or DataSource)
  3.       Through transfer property to save data into external files or DB
  4.       Using DataSink to export data to external files(such as excel,txt) or DB(need to connect DB)
  Screenshot of structure of one TestSuite:
  Step1: Load files( here I load file from properties file)
  PlaceName=Houston
  Step2: with data populated request
  (get data from properties under Form format)
  Step3: transfer data to target
  Also can transfer the designated data from original source to target( click on here)
21/212>
100家互联网大公司java笔试题汇总,填问卷领取~

关注51Testing

联系我们

快捷面板 站点地图 联系我们 广告服务 关于我们 站长统计 发展历程

法律顾问:上海兰迪律师事务所 项棋律师
版权所有 上海博为峰软件技术股份有限公司 Copyright©51testing.com 2003-2024
投诉及意见反馈:webmaster@51testing.com; 业务联系:service@51testing.com 021-64471599-8017

沪ICP备05003035号

沪公网安备 31010102002173号