TS 61 BPELRegressionTestScenarios

Regression Test Scenarios

Author: Victoria Zhukovskaya
Version: 1.0
Last update: 09 October 2007
Introduction: This specification provides a usecases for testing Regressions in the Orchestration module.
Comments:


Contents


Test suite: Regression Scenarios

Purpose:
Setup: Start IDE, star GlassFish.

  1. Selecting OnEvent activity throws NPE
    1. 77796 - Create a new BPEL module.
    2. Open bpel file in designer.
    3. Select the process, select Add Event Handlers in the context menu.
    4. Select OnEvent activity in the EventHandlers.
    • EXPECTED RESULT: No NPE will be thrown
  1. Validation from diagram is working not correctly
    1. 77922 - Create Synchronous sample project.
    2. Open bpel diagram and press 'Validate' button.
    • EXPECTED RESULT: Following validation results should has no errors and warnings.
  1. Reverse engineering breaks diagram and model at all
    1. 77926 Create Synchronous sample project.
    2. Open bpel source editor.
    3. Add line '<empty name="MyEmpty"/>' (or some another element) inside sequence, for example between Receive and Assign activities.
    4. Switch to diagram view.
    • EXPECTED RESULT: That diagram should show correct sequence of activities.
  1. Exception when clicking on Catch element on diagram
    1. 78088 Exception when clicking on Catch element on diagram.
    2. Open bpel in designer.
    3. Add Fault handlers to Process.
    4. Add Catch to Process
    5. Click on Catch element
    • EXPECTED RESULT: No exceptions.
  1. Exception when performing double click on the Invoke and Reply elements
    1. 78152 Exception when performing double click on the Invoke and Reply elements.
    2. Open BPEL in designer.
    3. Add an Invoke activity (or Reply activity) from palette.
    4. Double click on the Invoke element
    • EXPECTED RESULT: Exception should not be thrown.
  1. Lots of context menu items are lost for Process, Scope and Invoke on diagram
    1. 78254Open any bpel diagram.
    2. Invoke context menu on process element on diagram.
    • EXPECTED RESULT: There should be menu items: Add, Add From Palette, Go To Source, Properties.
  1. JBI module in Server becomes broken after closing IDE while debugging
    1. 79114Create a new Synchronous sample application.
    2. Start Server.
    3. Deploy the application.
    4. Start debug session.
    5. Set a breakpoint in the BPEL source.
    6. Run test scenario and wait until the breakpoint is achieved
    7. Close IDE, then start it.
    • EXPECTED RESULT: Exception should not be thrown.
  1. NPE after Deleting Reply activity
    1. 79640Create a new BPEL module project.
    2. Open it in designer
    3. Open properties window
    4. Add a Reply activity onto the diagram
    5. delete the Reply activity
    • EXPECTED RESULT: Exception should not be thrown.
  1. BPEL Mapper does not display Variable for Scope
    1. 79701 Create a new BPEL module project.
    2. Add scope activity diagramm - Scope1. Add Assign activity in Scope1.
    3. Right-clock on scope and select 'Add Variable'. Enter name and select type. Press Ok.
    4. There is the Variable on 'Navigator - Scope1' View.
    5. Create assign activity. Open BPEL Mapper for the assign.
    • EXPECTED RESULT: BPEL Mapper should have the Variable.
  1. Remote Exception while shutdowning any sample application
    1. 79708 Create a SynchronousSample project.
    2. Add JBI module to the application.
    3. Deploy the application.
    4. Debug the application
    5. Close debug session
    6. Switch to Runtime tab and stop the application
    7. Try to shutdown the application
    • EXPECTED RESULT: Application should be Shutdowned.
  1. NPE on setting Fault Variable for Throw activity
    1. 79717 Create BPEL module.
    2. Create BPEL module.
    3. Open diagram.
    4. Add Throw activity to diagram.
    5. Open Properties tab.
    6. Click on 'Fault Variable' property editor.
    • EXPECTED RESULT: NPE should not be thrown.
  1. Invoke property editor of onEvent activity throws NPE
    1. 79892 Create BPEL module.
    2. Create event handlers with onEvent activity for the process.
    3. Open properties window.
    4. Select onEvent activity on diagram and invoke property editor for it from properties window.
    • EXPECTED RESULT: NPE should not be thrown.
  1. Deleting not empty Scope activity from diagram throws NPE
    1. 80195 Create Synchronous sample project.
    2. Add Scope activity to process.
    3. Add Empty activity to Scope.
    4. Select Scope on diagram and delete it.
    • EXPECTED RESULT: NPE should not be thrown.
  1. Validator marks a wrong activity on diagram
    1. 80402 Create Synchronous sample project.
    2. Open bpel and add new Assign activity to process before Reply activity.
    • EXPECTED RESULT: Validator should mark new Assign activity as broken.
  1. Deletion of Partnerlink type from the BPEL editor is throwing A java.lang.AssertionError exception
    1. 80458 Create Synchronous sample project.
    2. Drag and drop the partner link type in the BPEL editor.
    3. Fill all the necessary fields in the partner link type and click on close button.
    4. Delete the Partnerlink type by clicking on the close (x) button.
    • EXPECTED RESULT: java.lang.AssertionError exception should not be thrown.
  1. Undo does not work when deleting element in sources
    1. 80584 Create Synchronous sample project.
    2. open BPEL in designer
    3. switch to sources
    4. delete the receive activity
    5. switch back to diagram
    6. press Ctrl+Z
    • EXPECTED RESULT: Element should be restored in sources and in the diagram
  1. Exception when setting wrong names for any BPEL activity
    1. 80621 Create Synchronous sample project.
    2. Renema Assign Activity to "2".
    • EXPECTED RESULT: Exception should not be thrown. There is "Invalid name" window.
  1. Schema_File is missing from the Create New Variable dialog box
    1. 81212 Create a new SynchronousSample project.
    2. Double-click SynchronousSample.bpel to open the bpel process
    3. In the navigator, rught-click Variables -> Add Varible...
    • EXPECTED RESULT: The create New Variable box opens containing: Built-in Types and SynchronousSample.wsdl, The SynchronousSample.xsd
  1. Foreach activity is always marked as invalid. Imposible to fix in designer
    1. 81459 Create BPEL module.
    2. Add a Foreach element to the designer
    3. Set properties for the activity.
    4. Add Empty activity inside Foreach.
    5. Validate bpel.
    • EXPECTED RESULT: There is no validation errors.
  1. NPE while opening broken bpel file
    1. 81507 Create Synchronous sample project.
    2. Open SynchronousSample.bpel in the editor outside IDE and remove closing process tag
    3. Switch to IDE and double-click on this file in projects tree
    • EXPECTED RESULT: NPE should not be thrown.
  1. Undo for changing order of 'ElseIf' sections throws exception and breaks diagram modeling
    1. 81507 Create Synchronous sample project.
    2. Add 'If' activity to process.
    3. Add 2 'ElseIf' sections to 'If' activity with Empty elements.
    4. Change the order of these 'ElseIf' sections by drag-n-drop on diagram.
    5. Invoke Undo action (shortcut Ctrl + Z).
    • EXPECTED RESULT: AssertionError should not be thrown.
  1. Attach to debugger throws NPE if invalid breakpoint set
    1. 84606 Create new BPEL Module project.
    2. Add new BPEL process and set breakpoint in it.
    3. Close process file and delete it from project.
    4. Invoke Attach Debugger dialog.
    5. Select BPEL Debugger as target.
    6. Click OK.
    • EXPECTED RESULT: NPE should not be thrown.
  1. NPE on invoking Throw fault variable name property editor
    1. 85213 Create new SynchronousSample project.
    2. Create BPEL process and add throw activity on it.
    3. Invoke properties window and click on Fault Variable property.
    • EXPECTED RESULT: NPE should not be thrown.
  1. There is UndeclaredThrowableException for creation Service Oriented Architecture Samples with incorrect name
    1. 84913 Create new BPEL Module project.
    2. Enter as ProjectName: ":" and press "Finish"
    • EXPECTED RESULT: UndeclaredThrowableException should not be thrown. There is 'Invalid name' window.
  1. BPEL project can't be compiled after dragging a web service WSDL to it
    1. 85354 Create new SynchronouseSample project.
    2. Create a new Web service, add an operation there
    3. Deploy web service
    4. Drag web service node to the BPEL project
    5. Try to compile it.
    • EXPECTED RESULT: Project should be compiled without errors.
  1. Create variable of Built-in type throws NPE
    1. 85557 Create new BPEL Module project.
    2. Add new Diagram
    3. Invoke Add Variable command.
    4. Type variable name and select any Built-In type.
    5. Click OK.
    • EXPECTED RESULT: NPE should not be thrown.
  1. Moving element inside If activity makes a diagram invalid
    1. 85569 Create new BPEL Module project.
    2. add If activity to the diagram
    3. Put Empty activity into the If
    4. Move Empty to the "else" branch then move it back
    • EXPECTED RESULT: Diagram should have well view.
  1. Get NPE from 'Property Chooser' when edit Correlation Set
    1. 92164 Create new TRS Sample project.
    2. Open TravelReservationService.bpel in BPEL Editor Design view.
    3. In the BPEL diagram, Edit ReserveAirline Invoke element.
    4. In the Properties Editor window, select Correlations tab.
    5. Select ItineraryCorrelator item, click Edit button.
    6. In Edit Correlation Set window, click Add button.
    7. Expand /TravelReservationService.wsdl node. Select ItineraryRefId node.
    8. Click Ok button.
    9. Information window pops up. Click Ok to close it.
    10. Click Cancel button to close the Property Chooser window.
    • EXPECTED RESULT: NPE should not be thrown.
  1. Some design features are disabled after swtiching to Source view then switch back
    1. 92168 Create new BPEL Module project.
    2. Add a bpel process into BpelModule1.
    3. Open the bpel process in to Editor window Design view.
    4. Drag-n-drop an Invoke element into the diagram.
    5. Right-click the Invoke element, all contextual menu iteams are enabled.
    6. Switch to Source view.
    7. Switch back to Design view.
    • EXPECTED RESULT: Menu iteams (includes Edit) should not be disabled.
  1. Source should not be updated before user click Ok to confirm the change.
    1. 92267 Create new TRS Sample project.
    2. Open TravelReservationService.bpel in BPEL Editor Design view.
    3. In the BPEL diagram, Edit ReserveAirline Invoke element.
    4. In the Properties Editor window, click "Create" button next to the "Input Variable" field.
    5. In New Input Variable window, change the name to "newReserveAirlineIn123".Click Ok button.
    6. In the Navigator window, under Variables node, will see "newReserveAirlineIn123" is added.
    7. Click Cancel button to close the Properties Editor window.
    8. In the Navigator window, can still see "newReserveAirlineIn123" variable.
    • EXPECTED RESULT: Source should not be updated before user click Ok to confirm the change.
  1. BPEL diagram becomes readonly after restarting IDE
    1. 94354 Create new BPEL Module project.
    2. Add a BPEL diagram there
    3. Restart IDE
    • EXPECTED RESULT: BPEL diagram should not be readonly
  1. Exceptions on edit and save BPEL diagram
    1. 95676 Create new BPEL Module project.
    2. Add a BPEL diagram there
    3. Switch to source view and add extra space after process line
    4. Close and save diagram
    • EXPECTED RESULT: Exceptions should not be thrown.
  1. UndeclaredThrowableException after adding new wsdl file
    1. 97750 Create new SynchronouseSample project.
    2. Add to Synchronouse project new WSDL Document - Set to true Import XML Schema Files on New WSDL Document Window
    3. Press Browse...
    4. Set colum import to true for SynchronousSample.xsd in ByFile tree
    5. Press Ok
    6. Press Finish
    • EXPECTED RESULT: Exception should not be thrown.
  1. Exception when setting breakpoint in BPEL sources
    1. 99168 Create new BPEL Module project.
    2. Add a BPEL diagram there
    3. Open BPEL process in the source view
    4. Try to set a breakpoint in sources
    • EXPECTED RESULT: Exception should not be thrown.
  1. There is ClassCastException when work with ForEach and BPEL Mapper
    1. 102767 Create new Synchronouse Sample.
    2. Add into source of bpel after start activity
      <bpws:forEach name="ForEach1" parallel="no" counterName="index">
           <bpws:startCounterValue>0</bpws:startCounterValue>
           <bpws:finalCounterValue>5</bpws:finalCounterValue>
           <bpws:scope name="Scope1">
               <bpws:assign name="Assign1">
                   <bpws:copy>
                       <bpws:from>concat($outputVar.resultType/ns0:paramA, 'dddd ')</bpws:from>
                       <bpws:to>$outputVar.resultType/ns0:paramA</bpws:to>
                   </bpws:copy>
               </bpws:assign>
           </bpws:scope>
       </bpws:forEach>
 
    1. Go to design view of bpel file and select ForEach1 activity
    2. Add Greater Than operation on BPEL Mapper Window and create expression with help BPEL Mapper - index>4 for Branches. You can see that Completion Condition field in Properties Window is ( $index > 4 )
    3. Press Save All
    4. Select Assign1 on bpel diagram and then select ForEach1
    • EXPECTED RESULT: Exception should not be thrown.
  1. Navigator and bpel-source are not synchronized. Strange behavio of Navigator after delete expression
    1. 105231 Create new Synchronouse Sample.
    2. Add to bpel <bpws:variable name="Variable2" type="xsd:byte"/> <bpws:variable name="Variable1" type="xsd:byte"/> and <assign name="Assign1">
           <bpws:copy>
               <bpws:from>current-date()</bpws:from>
               <bpws:to>$outputVar.resultType/ns0:paramA</bpws:to>
           </bpws:copy>
           <bpws:copy>
               <bpws:from> ( $Variable1 + $Variable2 ) </bpws:from>
               <bpws:to>$outputVar.resultType/ns0:paramA</bpws:to>
           </bpws:copy>
       </assign> 
       Navigator has for these expressions two nodes in tree: (query)=current-date() and (query)=(exp)
    1. Go to source for bpel and delete
                 <bpws:copy>
               <bpws:from>current-date()</bpws:from>
               <bpws:to>$outputVar.resultType/ns0:paramA</bpws:to>
           </bpws:copy>
               
           
    1. Navigator should has (query)=(exp) but result (query)=current-date()
    2. Press Ctrl+Z Navigator has (query)=current-date() (query)=(exp)
    3. But source has only <bpws:copy>
               <bpws:from> ( $Variable1 + $Variable2 ) </bpws:from>
               <bpws:to>$outputVar.resultType/ns0:paramA</bpws:to>
           </bpws:copy>            
           
           
    • EXPECTED RESULT: Navigator and bpel-source should be synchronized.
  1. Exception while adding reference to XML from other project.
    1. 111459 Create BluePrint1 Sample and BPEL module.
    2. Add to BPEL module Sample Loan Application XML.
    3. Add to Sample reference to BPEL module.
    4. Open purchaseOrder.xsd.
    5. Import reference to inventory.xsd and newLoanAplication.xsd.
    • EXPECTED RESULT: Exceptions should not be thrown.
  1. Unable to compile project with reference.
    1. 111719 Create BluePrint1 Sample and BPEL module.
    2. Create BluePrint1 Sample and BPEL module.
    3. Build Sample.
    • EXPECTED RESULT: There should not be errors.
  1. Unable to deploy Composite Application with reference to other project.
    1. 112458 Create BluePrint1 Sample and BPEL module.
    2. Create BluePrint1 sample and BPEL module.
    3. Add to Sample reference to Module.
    4. Add to Module sample XML schema.
    5. Import to purchaseOrder reference to newLoanApplication.
    6. Deploy Composite Application.
    • EXPECTED RESULT: There should not be errors.
  1. NPE on setting breakpoint in BPEL diagram
    1. 114265 Create Synchronouse Sample.
    2. Set breakpoint
    • EXPECTED RESULT: Exceptions should not be thrown.
  1. Import of webservice in to bpel works incorrectly
    1. 114779 Create WebApplication, Create Webservice then create operation.
    2. Create For example Synchronouse project
    3. Deploy WebApplication
    4. Drug and drop on bpel diagram created Webservice, press Ok
    5. Run validation
    • EXPECTED RESULT: There should not be errors.


Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo