Ask a Question

Need help in running SOAP UI Project from Maven

rohitvarsha12
Contributor

Need help in running SOAP UI Project from Maven

Hello,

 

I am trying to run my SOAP UI Project from Maven. When I try to run it it says - "Running com.test.AppTest" 1 test case passed. It created report for it also.

and then it actually executes my SOAP UI project. I can see assertions failed and some passed also.

Here are the steps I followed:

http://acodediary.com/soapui-maven-and-jenkins/#comment-1219

 

Here is the deatil log. Can you please help me:

C:\Users\qiw543\mytest>mvn test
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\
HP\Unified Functional Testing\bin\java_shared\classes";"C:\Program Files (x86)\H
P\Unified Functional Testing\\bin\java_shared\classes\jasmine.jar"
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building mytest 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mytest ---

[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\qiw543\mytest\src\main\resou
rces
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ mytest ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ my
test ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\qiw543\mytest\src\test\resou
rces
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ mytes
t ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ mytest ---
[INFO] Surefire report directory: C:\Users\qiw543\mytest\target\surefire-reports


-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.test.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\
HP\Unified Functional Testing\bin\java_shared\classes";"C:\Program Files (x86)\H
P\Unified Functional Testing\\bin\java_shared\classes\jasmine.jar"

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- soapui-maven-plugin:5.1.2:test (soapUI) @ mytest ---
SoapUI 5.1.2 Maven2 TestCase Runner
15:41:46,492 WARN [SoapUI] Missing folder [C:\Users\qiw543\mytest\ext] for exte
rnal libraries
15:41:46,922 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\User
s\qiw543\soapui-settings.xml]
15:41:46,970 INFO [HttpClientSupport$Helper] Initializing KeyStore
15:41:50:407 >> Loading HP QuickTest Professional Java Support (version 11.0.0.0
) (SUN 1.7.0_45)
15:41:51,860 WARN [WsdlProject] Project 'HealthCheck' is from a newer version (
6.0.0) of SoapUI than this (5.1.2) and parts of it may be incompatible or incorr
ect. Saving this project with this version of SoapUI may cause it to function di
fferently.
15:41:52,200 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Existence Match]
15:41:52,215 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Match]
15:41:52,217 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Match]
15:41:52,237 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Match]
15:41:52,254 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Existence Match]
15:41:52,256 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Match]
15:41:52,260 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Match]
15:41:52,264 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Existence Match]
15:41:52,266 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Existence Match]
15:41:52,269 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Existence Match]
15:41:52,271 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath
Existence Match]
15:41:52,403 INFO [WsdlProject] Loaded project from [file:/C:/Users/qiw543/myte
st/src/test/java/com/test/HealthCheck-soapui-project.xml]
15:41:52,415 INFO [SoapUITestCaseRunner] Running SoapUI tests in project [Healt
hCheck]
15:41:52,420 INFO [SoapUITestCaseRunner] Running Project [HealthCheck], runType
= SEQUENTIAL
15:41:52,576 INFO [SoapUITestCaseRunner] Running SoapUI testcase [15YearFix]
15:41:52,590 INFO [SoapUITestCaseRunner] running step [CreateApplication]
15:41:53,262 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute req
uest
15:41:53,264 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Sending request: POST /EmpowerServicesFacade/RestPassThruServices/Ap
plicationFacadeService.svc/Application HTTP/1.1
15:41:54,492 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Receiving response: HTTP/1.1 200 OK
15:41:54,511 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept a
live indefinitely
15:41:54,935 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] ha
s status VALID
15:41:54,937 INFO [SoapUITestCaseRunner] running step [CreateApplicant]
15:41:55,438 DEBUG [HttpClientSupport$SoapUIHttpClient] Stale connection check
15:41:55,440 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute req
uest
15:41:55,442 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Sending request: POST /EmpowerServicesFacade/RestPassThruServices/Lo
anApplicantFacadeService.svc/Applicant HTTP/1.1
15:41:55,587 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Receiving response: HTTP/1.1 200 OK
15:41:55,590 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept a
live indefinitely
15:41:55,602 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] ha
s status VALID
15:41:55,613 INFO [SoapUITestCaseRunner] Finished running SoapUI testcase [15Ye
arFix], time taken: 1952ms, status: FINISHED
15:41:55,618 INFO [SoapUITestCaseRunner] Running SoapUI testcase [Applications]

15:41:55,623 INFO [SoapUITestCaseRunner] running step [CreateApplication]
15:41:55,632 DEBUG [HttpClientSupport$SoapUIHttpClient] Stale connection check
15:41:55,634 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute req
uest
15:41:55,637 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Sending request: POST /EmpowerServicesFacade/RestPassThruServices/Ap
plicationFacadeService.svc/Application HTTP/1.1
15:41:56,431 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Receiving response: HTTP/1.1 200 OK
15:41:56,436 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept a
live indefinitely
15:41:56,472 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] ha
s status VALID
15:41:56,475 INFO [SoapUITestCaseRunner] running step [GetApplicationDetails]
15:41:56,493 DEBUG [HttpClientSupport$SoapUIHttpClient] Stale connection check
15:41:56,495 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute req
uest
15:41:56,496 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Sending request: GET /EmpowerServicesFacade/RestPassThruServices/App
licationFacadeService.svc/ApplicationDetails/D1002510 HTTP/1.1
15:41:56,840 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Receiving response: HTTP/1.1 200 OK
15:41:56,845 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept a
live indefinitely
15:41:56,887 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] ha
s status VALID
15:41:56,891 INFO [SoapUITestCaseRunner] running step [GetApplicationFulfilment
Details]
15:41:56,897 DEBUG [HttpClientSupport$SoapUIHttpClient] Stale connection check
15:41:56,899 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute req
uest
15:41:56,901 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Sending request: GET /EmpowerServicesFacade/RestPassThruServices/App
licationFacadeService.svc/ApplicationFulfillmentDetails/D1002510 HTTP/1.1
15:41:57,371 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Receiving response: HTTP/1.1 200 OK
15:41:57,374 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept a
live indefinitely
15:41:57,399 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] ha
s status VALID
15:41:57,403 INFO [SoapUITestCaseRunner] running step [GetApplicationSummary]
15:41:57,409 DEBUG [HttpClientSupport$SoapUIHttpClient] Stale connection check
15:41:57,411 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute req
uest
15:41:57,413 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Sending request: GET /EmpowerServicesFacade/RestPassThruServices/App
licationFacadeService.svc/ApplicationSummary/D1002510 HTTP/1.1
15:41:57,770 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Receiving response: HTTP/1.1 200 OK
15:41:57,774 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept a
live indefinitely
15:41:57,799 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] ha
s status VALID
15:41:57,807 INFO [SoapUITestCaseRunner] Finished running SoapUI testcase [Appl
ications], time taken: 2014ms, status: FINISHED
15:41:57,811 INFO [SoapUITestCaseRunner] Project [HealthCheck] finished with st
atus [FINISHED] in 5377ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.344s
[INFO] Finished at: Fri Dec 02 15:41:57 CST 2016
[INFO] Final Memory: 16M/39M
[INFO] ------------------------------------------------------------------------
15:41:58:091 >> DEBUG >> Releasing all waiters. There are 0 waiters active.

cancel
Showing results for 
Search instead for 
Did you mean: