Forum Discussion

bzzup's avatar
Occasional Contributor
9 years ago

Exception when trying to use ReadyAPI maven plugin

Hi. We are trying to migrate our api tests from soapui to readyapi and there is a problem with ready api maven plugin...

all pom files were updated to use ready-api-maven-plugin : 


But job fails with exception


[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoSuchFieldError: READY_API_TITLE
	at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.<clinit>(
	at com.eviware.soapui.maven2.TestMojo.execute(
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
	at hudson.maven.agent.PluginManagerInterceptor.executeMojo(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
	at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(
	at org.apache.maven.DefaultMaven.doExecute(
	at org.apache.maven.DefaultMaven.execute(
	at org.apache.maven.cli.MavenCli.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.codehaus.classworlds.Launcher.launchEnhanced(
	at org.codehaus.classworlds.Launcher.launch(
	at hudson.maven.agent.Main.launch(
	at hudson.remoting.UserRequest.perform(
	at hudson.remoting.UserRequest.perform(
	at hudson.remoting.Request$
	at hudson.remoting.InterceptingExecutorService$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 minutes 53 seconds
[INFO] Finished at: Fri Oct 16 15:19:08 CEST 2015
[INFO] Final Memory: 45M/962M

Is it a problem with plugin or we have incorrectly configured POM?

  • bzzup's avatar
    9 years ago

    Seems to be resolved by SmartBear team. 

    1. Repository should be <id>SmartBearPluginRepository</id> in the POM file.

    2. ReadyAPI plugin dependencies - just 




4 Replies

    • bzzup's avatar
      Occasional Contributor

      Not really... i'll explain our story from the beginning.


      The problem is - we already have hundreds of tests configured to work with SoapUI. We use hudson/jenkins to run them. Several weeks ago we decided to move to ReadyAPI, we've implemented new tests and then realized that we can't run them with SoapUI maven plugin as some features are supported by ReadyAPI only (i think). So we tried to update existing POM's and point them to ReadyAPI plugin instead. As a result - "No valid SoapUIPro license exists". OK, explainable. The next step was to install license on Jenkins slave - we did this and now we faced this new "READY_API_TITLE" problem.

      So, I believe we already have valid POMs with correct configuration and settings to run tests. The link you provided has totally different pom's and looks like this is not what we are looking for. 

      We have already raised support ticket around this, but it would be nice to know what causes our problem as many of community members would face the same problem sooner or later.


      Thanks, Andrei

      • TanyaYatskovska's avatar
        SmartBear Alumni (Retired)

        Hi Bzzup,


        I see that you’ve submitted the case to our Ready! API Support Team. I think our R&D team will need to investigate the behavior. Please share the solution with us.