We have to validate whether the authentication and encryption aspect of HTTP 
outbound calls are working properly. On searching most of the testing pointers 
are to mock the component and verify the values being sent to HTTP endpoint. 
But based on the link [1] there is a comment at the end which talks about using 
Jetty consumer to verify whether http calls are successful making it more of an 
integration test rather than unit test.

Is such kind of integration test standard practice with camel HTTP (or SOAP) 
outbound calls?

Also, we regularly update our camel version to pick the latest version. 
Sometimes jars could be missed and such test helps in through unresolved 
runtime-dependencies. So thinking of having such integration tests.

Regards,
Arpit.


[1] - 
http://stackoverflow.com/questions/37290910/camel-junit-test-http-component-with-bean-component

Reply via email to