Hi Team,
I am trying to integrate soap-ui test cases with maven. I am using apigee's maven deploy plugin.
I created the folder structure, pom.xml, parent-pom.xml etc as suggested in the article. But the problem is whenever I am running a jenkins job or the command
mvn apigee-enterprise:deploy -P test -Dusername=$ae_username -Dpassword=$ae_password -X
it is first running the test cases and then deploying the proxy to apigee edge.
I am attaching my project here. Please have look and let me know if I have configured sth wrong.
Solved! Go to Solution.
Got It.
Changed the phase of execution in test cases, instead of test mentioned install.
<executions> <execution> <id>SampleTestCase</id> <goals> <goal>test</goal> </goals> <phase>install</phase> </execution> </executions>
and then used
mvn install -P test -Dusername=$ae_username -Dpassword=$ae_password -X
Here is my updated project for reference.
Got It.
Changed the phase of execution in test cases, instead of test mentioned install.
<executions> <execution> <id>SampleTestCase</id> <goals> <goal>test</goal> </goals> <phase>install</phase> </execution> </executions>
and then used
mvn install -P test -Dusername=$ae_username -Dpassword=$ae_password -X
Here is my updated project for reference.
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |