随笔分类 -  SoapUI Training Videos

上一页 1 2

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

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

摘要: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 张缤分 阅读(193) 评论(0) 推荐(0)

摘要: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 张缤分 阅读(312) 评论(0) 推荐(0)

摘要:读取以下两种格式的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 张缤分 阅读(334) 评论(0) 推荐(0)

摘要: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 张缤分 阅读(346) 评论(0) 推荐(0)

摘要:Reading Properties file :Properties prop = new Properties()def path = "D:\\SoapUIStudy\\application.properties"FileInputStream fs = new FileInputStrea... 阅读全文

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

摘要: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 张缤分 阅读(342) 评论(0) 推荐(0)

摘要: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 张缤分 阅读(415) 评论(0) 推荐(0)

摘要: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 张缤分 阅读(386) 评论(0) 推荐(0)

摘要: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 张缤分 阅读(184) 评论(0) 推荐(0)

上一页 1 2

导航