zoukankan      html  css  js  c++  java
  • SOAP UI

    We use SoapUI-Pro-5.1.2

    1. Basic introduction - Windows

    2. Use project environment tab to manage the different environment and configure the properties for each env, this will make the testsuite run in different env in jenkins (using pom.xml configuration)

    https://www.soapui.org/soapui-projects/environment-handling.html

    3. Mongodb JDBC connection string

    4. Groovy scripts

    // get current step name, this is usually used to generate some meaning data for this step

    context.getCurrentStep().getLabel() 

    // get current project dir

    import com.eviware.soapui.support.GroovyUtils
    def groovyUtils = new GroovyUtils( context )
    def projectDir = groovyUtils.projectPath
    String filename = projectDir+"//RTF _sample1.html"
    //print(filename)
    def File Rtffile = new File(filename)
    def text1= Rtffile. getText()
    def text =""
    text1.eachLine {
    text= text +it;}

    5. Upload a file

    6. Unrecognizable Code

  • 相关阅读:
    python_控制台输出带颜色的文字方法
    模拟数据库作业
    js笔记
    CSS 笔记
    html 笔记
    必备技能-Git 使用规范流程
    python 闭包
    30个python编程技巧!
    python 面向对象
    python 线程
  • 原文地址:https://www.cnblogs.com/limei/p/5302976.html
Copyright © 2011-2022 走看看