首页 > Web开发 > 详细

Web service framework—SoapUI研究

时间:2014-11-18 02:01:18      阅读:267      评论:0      收藏:0      [点我收藏+]

Web service framework—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:
bubuko.com,布布扣
  Step1: Load files( here I load file from properties file)
bubuko.com,布布扣
  PlaceName=Houston
  Step2: with data populated request
  (get data from properties under Form format)
bubuko.com,布布扣
  Step3: transfer data to target
  Also can transfer the designated data from original source to target( click on here)

Web service framework—SoapUI研究

原文:http://www.blogjava.net/qileilove/archive/2014/11/17/420166.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!