| At line 5 changed 1 line. |
| Running a test in persistence mode involves crashing the test by invoking a {{System.exit(0)}} at specified intervals. The engine, running in its own thread, must then be restarted\\ and the bpel's execution is expected to resume. |
| Running a test in persistence mode involves crashing the test by invoking a {{System.exit(0)}} at specified intervals. The engine, running in its own thread, must then be restarted and the bpel's execution is expected to resume. |
| At line 10 changed 3 lines. |
| # Persistence output -- analogous to driver test output comparison, but content is a line item record of all persistence events, which is compared against the expected\\ output file (i.e. expected persistence events).\\ |
| Here is a sample persistence output file: ['''.out''' file|test.out]\\ |
| It is important to note that the comparison against DB data occurs throughout the test whereas the output file comparison occurs (like the driver tests) at the conclusion of the test. |
| # Persistence output -- analogous to driver test output comparison, but the [file|test.out] (.out extension) contains a record of the transactions that occured during the test. Each transaction typically has a number individual SQL operations each of which is performed on a specific table. Each line in the .out file represents an individual SQL operation. Each transaction corresponds to a persistence point in the BPEL SE. Since the engine can crash during any of these transactions, they are called CRASHPOINTS. The developer can specify which CRASHPOINTS to test using the test configuration file as shown ahead. It is important to note that the comparison against DB data occurs throughout the test whereas the output file comparison occurs (like the driver tests) at the conclusion of the test. |
| At line 15 changed 1 line. |
| The <persist-test-home> directory is located at: {{<alaska-bpelse>/bpeljbiadapter/test/com/sun/jbi/engine/bpel/jbiadaptor/test/persistence.}}\\ |
| The <persist-test-home> directory is located at: {{open-jbi-components/ojc-core/bpelse/system-test/test/com/sun/jbi/engine/bpel/jbiadaptor/test/persistence}}\\ |
| At line 45 changed 2 lines. |
| SERVICE={USER_SPECIFIED_namespace}USER_SPECIFIED_servicename |
| ENDPOINT=USER_SPECIFIED_namespace_endpointname |
| SERVICE={http://enterprise.netbeans.org/bpel/ScopeVars}PartnerLink1 |
| ENDPOINT=ScopePLinkTypeRole_myRole |
| At line 49 changed 2 lines. |
| OPERATION=USER_SPECIFIED_<test-operation> |
| IP_MESG_TYPE={USER_SPECIFIED_message_namespace}USER_SPECIFIED_input_message |
| OPERATION=ScopeOperation |
| IP_MESG_TYPE={http://enterprise.netbeans.org/wsdl/ScopeVars}ScopeMessage |
| At line 55 changed 1 line. |
| INPUT=bpels/<test-name-folder>/input/Input.xml |
| INPUT=bpels/ScopeTest/scopeVars/input/Input.xml |
| At line 57 changed 1 line. |
| OUTPUT=bpels/<test-name-folder>/output/Output.xml |
| OUTPUT=bpels/ScopeTest/scopeVars/output/Output.xml |
| DBSTEPS=ScopeVars.out |
| At line 77 changed 5 lines. |
| # A single or comma-delimited list of crash points |
| CRASHPOINTS=3 |
| # The minimum number of persistence points which must occur before bpel |
| # can be successfully recovered. |
| MIN_CRASHPOINT=3 |
| # Specify a single, comma-delimited or a range (e.g 1-4). If unspecified, then by |
| # default, recovery will be tested for all possible CRASHPOINTS (see the .out files) |
| #CRASHPOINTS= |
| At line 84 removed 4 lines. |
| # custom properties - specific to certain tests |
| #WAIT_TIME_IN_BPEL=60 |
| #INVOKE_2WAY_RESPONSE=ns1:Invoke2WayResponse |
| At line 84 added 6 lines. |
| #If the flag is "true", During debug mode, we will be able to attach to the |
| # debugger only after the test crashed and is recovering the BP instances |
| SUSPEND_CRASH_ONLY=false |
| #A value of "yes" will skip persistence and just try to run the recover test runs |
| NO_PERSISTENCE_RUN=no |
| At line 101 changed 1 line. |
| __TODO__: Add capability to send 2nd receive message.\\ |
| At line 103 removed 1 line. |
| __TODO__: Differentiate between persistence test run and recovery test run.\\ |
| At line 107 changed 1 line. |
| __TODO__: Remove association between operation property and .out file.\\ |