Forum Discussion

dkerins's avatar
dkerins
New Contributor
9 years ago
Solved

Request URL truncated in soapui-maven-plugin

Using 5.1.3 of SoapUI and the soapui-maven-plugin.  (Using old version to match maven plugin.  Have same issue with 5.2.1)

 

In SoapUI the request for an oauth token works.  Calling SoapUI project with maven from command line results in error because the Request URL is truncated.  

 

SoapUI screen

 

When called with maven the URL only has the hostname and then the parameter.

 

soaui-url-issue-mvn.png

 

 

Can anyone help me with this issue?  What am I doing wrong?

 

 

 

  • I discovered my own issue.  In my pom.xml file I had an endpoint tag and that was overriding the endpoint declared in the SoapUI project xml file.  It is working as expected now.  :-)

     

2 Replies

  • dkerins's avatar
    dkerins
    New Contributor

    I discovered my own issue.  In my pom.xml file I had an endpoint tag and that was overriding the endpoint declared in the SoapUI project xml file.  It is working as expected now.  :-)

     

    • kondasamy's avatar
      kondasamy
      Regular Contributor

      Happy that you found the solution for your problem!  :smileyhappy: Please mark as solution found, so that it would help others, who has same kind of issue!

       

      Thanks,

      Samy