0 Replies Latest reply: Oct 29, 2012 4:46 AM by 971163 RSS

    How to create testcases when more than one output operation is done

    971163
      Hi,

      I'm using a test suite in a SOA Application in JDeveloper to automate my unit tests.

      It is a simple composite which I'm testing by using an initiating message and then using an input-assert on the "output" wire.

      The problem is:
      The input is a message containing multiple items and the output is written to a database using a db adapter (one line per item).
      This means that one input message will result in multiple calls to the db adapter.

      If I add multiple asserts for each output message the other asserts fail.

      How do I use the testing framework to test for multiple outputs?
      Is there a special format for the assertion to OR the messages together or some such approach?

      Thanks in Advance

      Kind Regards

      Philip Wood