I am new to Citrus so I tried to execute
flightBooking sample but I face some problems . First of all I think that something
is wrong with the readme file (readme.md on http://ift.tt/2fcjv5d) . "Got to the folder and start the BookStore WebService application in a Web Container. Easiest way for you to do this is to execute" it seems to be part of another sample readme file .
When I execute mvn jetty:run , jetty server starts but I got these messages :
- retrying using FixedBackOff{interval=5000, currentAttempts=4, maxAttempts=unlimited}. Cause: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect 11:18:22,197 ERROR ageListenerContainer| Could not refresh JMS Connection for destination 'Travel.Agency.Request.Queue'
Also, when I try mvn integration-test (while jetty server runs) , tests fails and got these messages :
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.575 s <<< FAILURE! - in com.consol.citrus.samples.flightbooking.FlightBookingIT [ERROR] FlightBookingIT(com.consol.citrus.samples.flightbooking.FlightBookingIT) Time elapsed: 1.514 s <<< FAILURE! com.consol.citrus.exceptions.TestCaseFailedException: Test case failed Caused by: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect Caused by: javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect Caused by: java.net.ConnectException: Connection refused: connect
It seems like something is missing ( JMS broker , I suppose ? ) on localhost:61616 .
Could you please guide me how to execute successfully the sample ?
(I am running Windows 10 )
Thank you.
Aucun commentaire:
Enregistrer un commentaire