Web service framework—SoapUI研究
SoapUI的在線文檔是一個很好的資源,基于此,有一些簡單的應(yīng)用分享。
有興趣可以研究一下,自己也是一個在學(xué)習(xí)的過程,一點學(xué)習(xí)筆記分享給大家。
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)
posted on 2014-11-17 10:23 順其自然EVO 閱讀(212) 評論(0) 編輯 收藏 所屬分類: 測試學(xué)習(xí)專欄