随笔分类 -  SoapUI Training Videos

上一页 1 2

[Cookie] Read Cookie and Pass in headers
摘要:在同一个Suite里import com.eviware.soapui.support.types.StringToStringMapdef headers = testRunner.testCase.testSuite.getTestCaseByName("LoginTest").getTestS... 阅读全文

posted @ 2015-06-17 18:11 张缤分 阅读(335) 评论(0) 推荐(0) 编辑

[Training Video - 6] [File Reading] Using log object in the Groovy class
摘要:Car c= new Car(log);c.print()class Car{ def log public Car(log){ this.log=log } public void print(){ log.info "hello world" }} 阅读全文

posted @ 2015-06-17 11:11 张缤分 阅读(183) 评论(0) 推荐(0) 编辑

[Training Video - 6] [File Reading] [Java] Create and Write Excel File Using Apache POI API
摘要:package com.file.properties;import java.io.File;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import... 阅读全文

posted @ 2015-06-17 10:36 张缤分 阅读(302) 评论(0) 推荐(0) 编辑

[Training Video - 6] [File Reading] [Java] Read Excel File Using Apache POI API
摘要:读取以下两种格式的Excel : *.xls and *.xlsx用Apache POI API来实现,需要用到 HSSF 和 XSSF 的类库HSSF is the POI Project's pure Java implementation of the Excel '97(-2007) (.x... 阅读全文

posted @ 2015-06-16 17:16 张缤分 阅读(324) 评论(0) 推荐(0) 编辑

[Training Video - 6] [File Reading] [Java] Read Properties file
摘要:package com.file.properties;import java.io.FileInputStream;import java.util.Properties;public class ReadProperties { Properties prop; public ReadPro... 阅读全文

posted @ 2015-06-16 15:52 张缤分 阅读(336) 评论(0) 推荐(0) 编辑

[Training Video - 6] [File Reading] [Groovy] Reading Properties file
摘要:Reading Properties file :Properties prop = new Properties()def path = "D:\\SoapUIStudy\\application.properties"FileInputStream fs = new FileInputStrea... 阅读全文

posted @ 2015-06-16 15:15 张缤分 阅读(182) 评论(0) 推荐(0) 编辑

[Training Video - 5] [Groovy Script Test Step - Collections, Exceptions] HashSet and Hashtable
摘要:Hashset:HashSet set = new HashSet()set.add("India")set.add("USA")set.add("China")log.info "Set size is : " + set.size()set.add("China")log.info "Set s... 阅读全文

posted @ 2015-06-16 15:08 张缤分 阅读(336) 评论(0) 推荐(0) 编辑

[Training Video - 5] [Groovy Script Test Step - Collections, Exceptions] Array and ArrayList
摘要:Array:def x = new String[5]x[0] = "India"x[1] = "USA"x[2] = "Korea"x[3] = "Japan"x[4] = "China"log.info "Size of list is " + x.size()log.info "The fir... 阅读全文

posted @ 2015-06-16 14:54 张缤分 阅读(403) 评论(0) 推荐(0) 编辑

[Training Video - 4] [Groovy] String Functions
摘要:def x="I like to read books before bed"def temp = x.split(" ")log.info "Size of array is : "+temp.lengthlog.info temp[0]log.info temp[1]log.info x.sub... 阅读全文

posted @ 2015-06-16 14:42 张缤分 阅读(378) 评论(0) 推荐(0) 编辑

[Training Video - 6] [File Reading] Making a Jar file with eclispe, Importing custom jars in SoapUI
摘要:Code example :package com.file.properties;import java.io.FileInputStream;import java.util.Properties;public class ReadProperties { Properties prop; ... 阅读全文

posted @ 2015-06-16 14:16 张缤分 阅读(174) 评论(0) 推荐(0) 编辑

上一页 1 2

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示