Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SoapUI Maven plugin- executing multiple projects

I am working on converting an Ant execution of the SoapUI TestRunner to use the maven plugin and I cannot get a good answer on how to execute multiple projects using this plugin.

I found a forum post from 2010 on the Smartbear forum and there are a few approaches listed but none seem very workable (writing some script to invoke maven with different parameters or adding an execution for every project).

Are there any best practices for working around this? Or has anyone seen an inventive solution to this problem?

I would guess that this is a large scale problem...

Here is the post I am refering to.

like image 399
Steve Miskiewicz Avatar asked Feb 07 '12 22:02

Steve Miskiewicz


1 Answers

Well I haven't gotten much of an answer anywhere. So if you find this question here are your options.

  • Multiple executions of the plugin
  • Write a script to envoke maven multiple times
  • Build your own maven plugin
  • Use Ant to execute the testrunner.bat

The choice is yours. I've decided to keep on using my Ant execution of soapui. Here is a blog with an example of the ant execution. Maybe one of these days i'll get around to writing my own plugin. To be honest, the ant execution works really well. I've used ant to do a number of things after the tests (execute multiple projects, check for failures, etc). Ant does seem to offer a nice solution to this, Maven's strict structure isn't really that great for something that isn't really a build anyway.

like image 109
Steve Miskiewicz Avatar answered Sep 25 '22 04:09

Steve Miskiewicz