Forum Discussion

EMartin's avatar
12 years ago

Integrating Jenkins (on Linux) with my Windows soapUI tests?

Keeping in mind that I know nothing about Java programming/testing and very little about the build process, how would I go about integrating my GUI-based soapUI tests that I have on my windows box with Jenkins? Essentially, we need them to be executed with every Jenkins build and e-mail the results to a list of people so that I don't have to be sitting here and manually kick them off everytime it builds. It would be nice to have everything self contained on the Jenkins server, but at the same time, the tests are constantly being revised/added to, so having to always keep them synchronized with server could be a huge pain. Thoughts/recommendations?
  • jevon's avatar
    jevon
    New Contributor
    can anybody provide some details description that how to integrat?

    for example, my jenkins tomcat is in linux(/usr/locat/tomcat_jenkins) and my soapui xml file is (F:\connectToJenkinsTest-soapui-project.xml)
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    jevon could you give us more information please?
    your jenkins instance must be able to access to your soapui project [1] file and have a way to run it [2]

    for [2], see my previous comment
    for [1], you could put the soapui file in a shared drive and make it accessible to your linux box or store the file in a scm tool (git, svn, ...) and make it checkout by your jenkins job
  • jevon's avatar
    jevon
    New Contributor
    @redfish4ktc2,yes of course

    We have a test project A deployed in linux system, the root is /usr/local/tomcat_A, and config jenkins which in linux to built it, jenkins root is /usr/local/tomcat_jenkins, I want to run a soapui script which in windows after build the test project, because my soapui installs in windows system, so, my soapui script is in windows F:\connectToJenkinsTest-soapui-project.xml

    you mean I can use svn or git to load the xml file into jenkins' workspace and use maven to run it? this mean I have to install maven in linux system? how could the maven know the script on which windows system and run it?

    sorry I'm a newer of maven and soapui, maybe my question is too easy but I really dont know, please help me ,thank you very much!
  • Couple of options :

    1. Use command executor "testRunner" to invoke the xml which you can trigger as a shell command.
    2. Use Jenkins slave on windows mechine. Create a batch file as regualar batch command . Trigger this from Jenkins master.