Citrus Framework

Posted on September 7th, 2009 by Christoph

Citrus Logo




Citrus is a test framework written in Java that enables automated integration testing of message-based EAI applications. The tool can easily simulate surrounding systems across various transports and protocols (e.g. JMS, SOAP WebServices, Http, TCP/IP, …) in order to perform end-to-end use case testing.

Citrus provides strong validation mechanisms for XML message contents and allows to build complex testing logic. Citrus supports you with features such as:

  • Sending and receiving messages
  • Database validation
  • Automatic retries
  • Variable definitions
  • Message timeout simulation
  • Dynamic message contents
  • Error simulation
  • Iterations
  • and many more

Check out the Citrus Homepage for more information.

We are always glad to receive comments and feedback on Citrus. So feel free to contact us!

2 Responses to “Citrus Framework”

  1. Morten Hindsholm Says:
    June 3rd, 2010 at 12:20

    Hi, I have played around with Citrus 1.1 SNAPSHOT for the purpose of using it to test some ESB development, and I must say, it looks pretty good! However, I have a question regarding SOAP headers, that I cannot find an answer for. In our web services, we use SOAP headers extensively to provide metadata when a service is called. It could be something like: MOHI But I don’t see, how I can send headers like these using the Citrus send action where a header is just a name and a value rather than an xml fragment? I hope my description is clear, otherwise I will be happy to explain further in an email. Kind regards, Morten Hindsholm, Nykredit.

    [Reply]

    Christoph Reply:

    Hi Morten,

    it is great to hear that Citrus is helpful for you! The feature description regarding SOAP header XML fragments was missing in documentation, thank you for pointing to that. I have added the description to the reference documentation of latest 1.1-SNAPSHOT.

    Regards, Christoph

    [Reply]

Leave a Reply