摘要:http://www.soapui-tutorial.com/
阅读全文
摘要:try, catch and finally in db connectionForming groovy connection string and obtaining Connection ObjectFiring Select Query and obtaining resultsForeac...
阅读全文
摘要:Building test suites, Test cases and Test steps in SOAP UI Levels : test step level test case level test suite level project levelGroovy script ...
阅读全文
摘要:What is a web service?http://webservicex.net/ws/default.aspxWebService是一种跨编程语言和跨操作系统平台的远程调用技术。跨编程语言 : 服务端程序采用java编写,客户端程序则可以采用其他编程语言编写,反之亦然!跨操作系统平台 : ...
阅读全文
摘要:def x = new String[3]x[0] = "A"x[1] = "B"x[2] = "C"log.info"XXXXXX 1"try{ x[3] = "D"// def z=9/0}catch(Exception e){ log.info "Some error "+e.getMessa...
阅读全文
摘要:def x=2def y=3if(x == y){ log.info "equal"}else{ log.info "not equal" // print out not equal}TestService s1 = new TestService()TestService s2 = ne...
阅读全文
摘要:TestService s = new TestService(log,context,testRunner)s.xyz()class TestService{ def log def context def testRunner public TestService(log,context,te...
阅读全文
摘要:Bank.log = logBank b1 = new Bank()b1.name = "BOA"b1.minbalance = 100b1.city="London"Bank b2 = new Bank()b2.name = "HSBC"b2.minbalance = 100b2.city="LA...
阅读全文
摘要:Employee.log=logEmployee e1 = new Employee()log.info e1.add(1,2,3,4)// optional parameters in groovylog.info e1.add(2,3)log.info e1.add(2,3,10)class E...
阅读全文
摘要:Employee.log=logEmployee e1 = new Employee()Employee e2 = new Employee()e1.name = "A"e1.salary = 100e2.name = "B"e2.salary = 200e1.printName()e2.print...
阅读全文
摘要:log.info "starting"// we use class to create objects of a classPlanet p1 = new Planet()Planet p2 = new Planet()//Planet.name = "Pluto" illegalPlanet...
阅读全文
摘要:log.info "starting"// we use class to create objects of a classPlanet p1 = new Planet()Planet p2 = new Planet()Planet p3 = new Planet()//Planet.name ...
阅读全文
摘要:log.info "starting"// we use class to create objects of a classPlanet p1 = new Planet()Planet p2 = new Planet()Planet p3 = new Planet()p1.name = "ear...
阅读全文
摘要:http://www.groovy-lang.org/
阅读全文
摘要:1.通过JsonUtil验证Json的有效性2.两种方式通过JPath读取Json的内容
阅读全文
摘要:Script assertion in login:
阅读全文
摘要:Various databases which are supportedDrivers for database connectiongroovy.sql.Sql packageSoapUI怎样支持对数据库的操作Various databases which are supportedGroovy...
阅读全文