Forum Discussion
Well, I haven't solved the problem - I still don't know how to reference tags in SoapUI 1.6.0 because I'm not sure what I need to update in the pom.xml file.
Cheers,
Mike
- markgholland8 years agoOccasional Contributor
Hello,
I'm going to dig this one backup since it's related to my issue and doesn't appear to be "Solved."
I'm also trying to get the tags to work with maven and I've encountered an issue I'm wondering if it's a bug. I have two Jenkins projects that I've setup. The build section of my pom.xml is configured as follows:
<build> <plugins> <plugin> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> <version>11.2.0.3</version> </dependency> </dependencies> <groupId>com.smartbear</groupId> <artifactId>ready-api-maven-plugin</artifactId> <version>1.7.0</version> <executions> <execution> <phase>test</phase> <goals> <goal>test</goal> </goals> <!--<id>p1</id>--> <configuration> <projectFile>${basedir}/soapui-project.xml</projectFile> <environment>${environment}</environment> <testSuite>${testSuite}</testSuite> <testCase>${testCase}</testCase> <!--<tags><param>TestCase ${tags}</param></tags>--> <junitReport>true</junitReport> <outputFolder>${basedir}/target/Reports</outputFolder> <readyApiProperties> <readyApiProperties> <property> <name>soapui.home</name> <value>%env.SOAPUI_HOME%</value> </property> </readyApiProperties> </readyApiProperties> </configuration> </execution> </executions> </plugin> </plugins> </build>
One of my builds uses tags, and the other doesn't.
When I uncomment the tags section, the project that I'm not using the tags begins to fail with the following error:
[ERROR] java.lang.Exception: The tag "${tags}" was not found.
It appears that it's not being ignored when it's not set like the other configurations (testCase, testSuite, environment); I suspect it has to do with there are additional parameters and text, "TestCase," associated with using tags.
Any input would be appreciated!
Thanks,
Mark