Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Note: All test steps are exactly the same for all test cases:

Overview

The Document Query Spec Version testing; design to hit both version of the Document Query and verify the response send by mock-response (DQ Adapter).

  • Document Query Spec Version (2.0) implement prior to July-2011 specs

  • Document Query Spec Version (3.0) implement July-2011 specs

Test Detail

The Bimodal test are design to hit service in standard and passthrough, by calling the JMX console to switch the service mode without application server restart.

The scenario are identical, the test data is being verify in the SOAP Request and Mock Response.

Scenario 1

Case 1

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (2.0)

    • Assert documentId (mock.scenario1.case1)

  5. Mock Response (mock.scenario1.case1)

Case 2

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (3.0)

    • Assert documentId (mock.scenario1.case2)

  5. Mock Response

Test Cases (Standard and Passthrough):

Scenario 1

Case 1

Case 2

Scenario 2

Case 1

Case 2

Scenario 3

Case 1

Case 2

Scenario 4

Case 1

Scenario 5

Case 1

Scenario 6

Case 1

Scenario 7

...

  1. (mock.scenario1.case2)

Scenario 2

Case 1

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (2.0)

    • Assert documentId (mock.scenario2.case1)

  5. Mock Response (mock.scenario2.case1)

Case 2

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (3.0)

    • Assert documentId (mock.scenario2.case2)

  5. Mock Response (mock.scenario2.case2)

Scenario 3

Case 1

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (2.0)

    • Assert documentId (mock.scenario3.case1)

  5. Mock Response (mock.scenario3.case1)

Case 2

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (3.0)

    • Assert documentId (mock.scenario3.case2)

  5. Mock Response (mock.scenario3.case2)

Scenario 4

Case 1

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (2.0)

    • Assert documentId (mock.scenario4.case1)

  5. Mock Response (mock.scenario4.case1)

Scenario 5

Case 1

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (2.0)

    • Assert documentId (mock.scenario5.case1)

  5. Mock Response (mock.scenario5.case1)

Scenario 6

Case 1

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (3.0)

    • Assert documentId (mock.scenario6.case1)

  5. Mock Response (mock.scenario6.case1)

Scenario 7

Case 1

  1. Update Config

  2. Clear Correlation Table & Add Correlation

  3. Clear AA Mapping Table & Add Mapping

  4. SOAP: Document Query (3.0)

    • Assert documentId (mock.scenario7.case1)

  5. Mock Response (mock.scenario7.case1)