Home > Continuous Integration, Software Engineering, Testing > How to integrate soapUI with jenkins / hudson?

How to integrate soapUI with jenkins / hudson?

With the included testrunner.bat/.sh script one can run soapUI functional tests from the command-line. One can find the available arguments here.

One can create a batch file like this (my_soapUI.bat) to perform a regression test:

@ECHO OFF
SET currentDir=%~dp0
SET soapUIDir=C:\Program Files\eviware\soapUI-4.5.0\bin
SET soapUIProject=C:\soapUI_workspace\my_soapui-project.xml

cd /d "%soapUIDir%"
cmd.exe /C CALL testrunner.bat "%soapUIProject%" -smy_test_suite -cmy_testcase

This command can also be executed via Jenkins.

2013-08-13 15_43_19-test_ip_banking 2013.3.0 Config [Jenkins]

Advertisements
  1. January 31, 2014 at 12:07

    And how do you integrate the test results in jenkins?

    • André Aubin
      July 16, 2014 at 15:27

      You have to add the parameter -j to the command line in order to have a .xml with results in JUnit format.
      Then, you can use this xml to integrate the results in jenkins

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: