Service Virtualization

 View Only
  • 1.  Devtest supports python's gitlab library

    Posted Feb 28, 2023 08:58 AM
    Hello, I would like to know if Devtest supports python's gitlab library, if so from which version of DevTest. Because I'm implementing a script in python that I need to import this lib. thanks


  • 2.  RE: Devtest supports python's gitlab library

    Broadcom Employee
    Posted Feb 28, 2023 09:52 AM
      |   view attached
    Not sure about the "python's gitlab library" I found the Jython/Python https://github.com/scijava/scripting-jython which has the standalone jar that can be used for JSR-223 scripts. You can also get the Python Jar is from https://jar-download.com/artifacts/org.python/jython-standalone/2.7.3. I used the workstation to add it to hotDeploy (it shows up as python in the JSR-223 steps so if you specify in match script you should try    %python%
    Python doesn't return evaluated expressions. So you have set property values within the script. I have attached a test rename to pythonScript01.tst
    The test worked with Python syntax to create a string and then I set that string to Property.


    ------------------------------
    Karl M.
    DevOps Capability Specialist
    Broadcom
    ------------------------------

    Attachment(s)

    xml
    pythonScript01.tst.xml   2 KB 1 version