Automated BPEL Testing
Automated BPEL Testing
(on 10.1.3.2)
I have created a set of Unit tests for our BPEL processes which deploy with no problems. From within the BPEL console they work fine.
When I try to automate the testing (ideally so we can implement continuous integration) by running the test target of JDevelopers autogenerated build scripts (the same script I use to compile and deploy the process and to deploy the test).
I have come across two problems:
Firstly if I try to run the tests from a domain other than default (a neccessity in my environment) I get a message along the lines of:
ORABPEL-02178
Process not found.
The BPEL process "XXXXXXXX", revision "1.0" has not been loaded. Either the process was not initialized properly or the process has been disabled.
Please consult your administrator regarding this error. The application server logs may provide more information regarding this error.
If I deploy and run from the default domain the ant target is successful but the generated report indicates that 0 tests were run (there are 3 tests actually deployed).
Information on the web and forums seems very sparse but possibly it has something to do with the values of bpeltest.callhandler? What other properties effect the unit test?
Regards,
John
I know this problems too and there a two bugs in metalink but not fixed yet.
1) ant task bpeltest seems to work only on default domain (see BUG 5936230)
2) no test-results under windows (on my unix box it works fine for me) (see BUG 5872799)
Regards, Harald
Similar Messages
-
Apologies for putting a more advanced question in a general forum but there is no Topic for QA/Testing (that I know of).
Okay, I've been tasked with finding a solution for fully automated unit, component, system, and regression testing. I realize that sounds like a tall order and can't truly be done. However, I'd like to get as close as possible to being able to test every aspect of our system and thought I'd post to the community for ideas. We have a typical multi-tiered web app. We have a web interface, business logic on the server-side, Web Services, DAO, etc. Naturally, some combination of testing needs to be performed. So I suppose that first I need to make a list of all the (general) types of testing that can be done. So far I have:
- syntax validation
- link checking
- unit testing
- record and playback (robot user for web UI)
- custom scripting (for anything I can't buy a tool for)
- performance monitoring & stress testing
- security testing
- etc.
So I guess my first question is: What other types of testing am I missing here? I honestly think I'll end up with 2-3 sets of tests that hopefully give me good testing coverage. The end goal is to have a nightly build that includes a series of tests which generate reports. So in the morning someone can open the reports and see if anything's really busted. So basically, after the build finishes, the tests should be kicked off. I'd like to use Ant for this but I suppose a cron job could be written or whatever. I'm not worried about that right now.
Anyway, I don't have very specific requirements yet but I'm thinking of breaking my work up into unit, component, and system level testing. My initial thoughts are that I'd need:
1. Unit Testing - Ant would simply kick off all the JUnit tests we have available. This would do basic class level testing and validation.
2. Component Testing - Custom Java code/scripts that would tests some specific functional area. This is open ended in my mind as I'm not that familir with the codebase yet. But an example would be "register a user" or "make a reservation".
3. System Testing - Needs to simuilate a user hitting the web interface and would invoke all tiers. So I'm guessing I need to buy some software product to fill out forms automatically and whatever else.
Can you all let me know if there's anything major I'm missing? What methodologies or tools do you recommend? Any links on good tech articles regarding this? Anything comments or feedback welcome.
Thanks in advance!I'd recommend adding automated acceptance testing to the list of things to consider. Example:
http://fitnesse.org/
~ -
Automated Unit Tests / TEST-INF/testrun.xml
Hello!
Regarding to the originial question here Re: Automated Unit Tests through NWDI / Purpose of testrun.xml I'll try to ask this question again:
Is it possible to run jUnit-Tests automatically during the build (cbs)?
A very promising looking file (testrun.xml) is not documented..
We're using the NWDI and CE 7.11.
Testdriven development isn't a new paradigm in the standard java development so it must be possible to do so with ce and nwdi.
Thanks in advance,
--clHi Carsten
I guess that the testrun.xml allows to do exactly that you want - to run jUnit-Tests automatically during the build (CBS).
Though there is one small thing - I think that the tool which can understand the file and run the tests is SAP internal tool. So I doubt that having just pure CBS server it'll be possible to activate the automatic test execution process. It seems we need to have something more.
I also could not find any documentation regarding this on SDN. That's why I think the functionality is SAP internal.
BR, Siarhei -
Hey,
I'm developing an application using UI5 and I'm currently looking for a tool that allows me to record automated GUI test cases.
Usually we are using HP QuickTest for that purpose but it seems not to support UI5.
Can you recommend me any Software that actually does support UI5 and can create automated GUI tests?
Thanks!
Regards, TimoHi Timo,
this is not my main expertise, but UI5 development internally also uses QTP. Maybe with additional plug-ins.
But we are moving towards Selenium for UI tests.
qUnit mentioned above is a code-based unit-testing tool which comes from jQuery and is also heavily used. The official documentation and some of our example test pages *.qunit.html should make it easy to write your own tests. But it's not really recording UI interaction.
Regards
Andreas -
Automated regression tests on Oracle*Forms
Hi all,
We're looking for a toolset that allows automated regression tests (record/playback) on an Oracle Forms GUI. Something like QuickTest*Pro (previously Winrunner).
Anybody having experience with this ? Thanks for sharing it.Check tool called DataLoader
http://www.dbload.com/ -
Hi people!
I would like to change the description "no description" that describes the Test Suite in the BPEL COnsole.
I tried many things in the tests_suites.xml but no result...
<testSuites>
<testSuite name="Tests" deploy="yes">
<unittest name="I104_test_100.xml" deploy="true"/>
<unittest name="I104_test_110.xml" deploy="true"/>
<unittest name="I104_test_120.xml" deploy="true"/>
</testSuite>
</testSuites>
I managed to change the description field of each test with the <about> tag in the xml file :
<BPELTest processName="EC_S_GEST_CREPP_BPEL"
xmlns="http://xmlns.oracle.com/bpel/instancedriver">
<about> here is my description ...</about>
</BPELTest>
any idea ?
Thanks,
romain.Undeploy. Deploy again. Have no effect.
I use wizards so I don't know where I miss.
here is onTest.xml
<?xml version='1.0' encoding='windows-1252'?>
<!--
// Oracle JDeveloper BPEL Test
// Author: Peter
// Created: 27 Jun 2007 09:43:33 GMT
-->
<BPELTest processName="on2MSG"
xmlns="http://xmlns.oracle.com/bpel/instancedriver">
<initiate operation="initiate">
<inboundMessage>
<part name="payload">
<content>
<on2:on2MSGProcessRequest xmlns:on2="http://xmlns.oracle.com/on2MSG">
<on2:input>
start
</on2:input>
</on2:on2MSGProcessRequest>
</content>
</part>
</inboundMessage>
</initiate>
<activityDriver name="PauseWait">
<emulate duration="PT">
<inboundMessage>
<part name="payload">
<content>
<on2:on2MSGProcessRequest xmlns:on2="http://xmlns.oracle.com/on2MSG">
<on2:input>
start
</on2:input>
</on2:on2MSGProcessRequest>
</content>
</part>
</inboundMessage>
</emulate>
</activityDriver>
</BPELTest> -
Any Good Oracle Tutorial around BPEL TEST Processes
Hi
Is there any Tutorial around using BPEL Test Processes ? OR dev guide is the only reference available?Madhu
Thx but I needed tutorial for creating TEST cases in BPEL from Jdev and creating automatic test scripts for regression testing. There is one chapter in Bpel Dev guide that talks about creating Test Suits/Enumerations/Assertions etc and I wanted to check if there is a tutorial on that. -
BPEL test failed when calling same webserivce twice
Our BPEL calls same web service, same operation method twice with different parameter values.
There is only one copy of assert value we could provide in xml.
The BPEL test failed because one of the input value does not match the assert value.
Is this supported at all?Fusion 11.1.1.3.0
You are right, if a wire has an assert, it appears all invokes will call the assertion. There is no distinction possible to test between 1st, and subsequent invokes at runtime. All invokes must look the same for the assert to be consistent.
My experience with the JDev 11g Test Suite shows me that the limitations are huge. 10g BPEL had abilities to test BPEL variables internally, we are waiting for the functionality to be ported. -
Webinar (Aug 11): How to create Cross-Platform Automated GUI Tests for Java Apps
Join Squish expert, Amanda Burma, and learn how to create cross-platform automated GUI tests for your Java applications!
Register here (multiple time slots)
August 11th 2014
Duration: 30 minutes plus Q & A
This webinar will cover:
General Squish for Java overview
Automating BDD Scenarios
Executing Cross-Platform Automated GUI Tests
Interacting with Java application objects, properties & API
See you there!
Unable to attend? Register and we'll send links to future events and access to our webinar archive following the event.
Webinar schedule
Learn more about Squish
Evaluate froglogic squish<property name="messaging.client.jar.path" value="Location in your local drive" />
<property name="messaging.client.jar.name" value="nameOfYourFile.jar" /> -
BPEL Test waits forever to receive callback from human task service
Hi,
I've created a test (CreditCardInvalidTest.xml) to test a bpel process (testbpel.bpel) which contains a call to a human task service. The problem is when the test executes it waits forever to receive the response message from the human task service but clearly i've emulated it! Would appreciate help.
I've attached both files and highlighted the relevant sections. Thanks.
testbpel.bpel
<process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
xmlns:client="http://xmlns.oracle.com/testbpel"
xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
<!--
PARTNERLINKS
List of services participating in this BPEL process
-->
<partnerLinks>
<!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:testbpel"
myRole="testbpelProvider" partnerRole="testbpelRequester"/>
<partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
partnerLinkType="ns5:execute_pptLT"/>
<partnerLink name="CreditCardService"
partnerRole="CreditCardServiceProvider"
partnerLinkType="ns6:CreditCardService"/>
<partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
partnerRole="TaskService"
partnerLinkType="taskservice:TaskService"/>
</partnerLinks>
<!--
VARIABLES
List of messages and XML documents used within this BPEL process
-->
<variables>
<!-- Reference to the message passed as input during initiation -->
<!-- Reference to the message that will be sent back to the requester during callback -->
<variable name="inputVariable"
messageType="client:testbpelRequestMessage"/>
<variable name="outputVariable"
messageType="client:testbpelResponseMessage"/>
<variable name="n" type="xsd:integer"/>
<variable name="Invoke_ShipmentService_execute_InputVariable"
messageType="ns5:orderRequest_request"/>
<variable name="paymentFault"
messageType="client:testbpelFaultMessage"/>
<variable name="ApproveOrder_1_globalVariable"
messageType="taskservice:taskMessage"/>
<variable name="orderRejectedFault"
messageType="client:testbpelFaultMessage"/>
</variables>
<faultHandlers>
<catchAll>
<sequence name="Sequence_6">
<throw name="Throw_AllFaults"
faultName="ns8:testbpelGenericFault"
faultVariable="paymentFault"/>
</sequence>
</catchAll>
</faultHandlers>
<!--
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
-->
<sequence name="main">
<!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
<receive name="receiveInput" partnerLink="client"
portType="client:testbpel" operation="initiate"
variable="inputVariable" createInstance="yes"/>
<!--
Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
-->
<scope name="CheckForApproval">
<sequence name="Sequence_4">
<sequence name="Sequence_5">
<scope name="ApproveOrder_1"
xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
wf:key="ApproveOrder_1_globalVariable">
<bpelx:annotation>
<bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
</bpelx:annotation>
<variables>
<variable name="initiateTaskInput"
messageType="taskservice:initiateTaskMessage"/>
<variable name="initiateTaskResponseMessage"
messageType="taskservice:initiateTaskResponseMessage"/>
</variables>
<correlationSets>
<correlationSet name="WorkflowTaskIdCor"
properties="taskservice:taskId"/>
</correlationSets>
<sequence>
<assign name="ApproveOrder_1_AssignTaskAttributes">
<copy>
<from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
</copy>
<copy>
<from expression="number(3)"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:priority"/>
</copy>
<copy>
<from>
<payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
</from>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:payload"/>
</copy>
</assign>
<assign name="ApproveOrder_1_AssignSystemTaskAttributes">
<copy>
<from expression="ora:getInstanceId()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
</copy>
<copy>
<from expression="ora:getProcessId()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
</copy>
<copy>
<from expression="ora:getProcessId()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
</copy>
<copy>
<from expression="ora:getProcessVersion()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
</copy>
<copy>
<from expression="ora:getDomainId()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
</copy>
<copy>
<from expression="string('BPEL')"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
</copy>
</assign>
<invoke name="initiateTask_ApproveOrder_1"
partnerLink="TaskService"
portType="taskservice:TaskService"
operation="initiateTask"
inputVariable="initiateTaskInput"
outputVariable="initiateTaskResponseMessage">
<correlations>
<correlation initiate="yes"
set="WorkflowTaskIdCor"
pattern="in"/>
</correlations>
</invoke>
*<receive name="receiveCompletedTask_ApproveOrder_1"*
partnerLink="TaskService"
portType="taskservice:TaskServiceCallback"
operation="onTaskCompleted"
variable="ApproveOrder_1_globalVariable"
createInstance="no">
*<correlations>*
*<correlation initiate="no"*
set="WorkflowTaskIdCor"/>
*</correlations>*
*</receive>*
</sequence>
</scope>
<switch name="taskSwitch">
<case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
<bpelx:annotation>
<bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
</bpelx:annotation>
<sequence>
<assign name="AssignOrderRejected">
<copy>
<from expression="string('Order rejected by manager')"/>
<to variable="paymentFault"
part="payload"
query="/client:testbpelProcessFault/client:status"/>
</copy>
</assign>
<throw name="ThrowOrderRejected"
faultName="ns9:orderRejectedFault"
faultVariable="orderRejectedFault"/>
</sequence>
</case>
<case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
<bpelx:annotation>
<bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
</bpelx:annotation>
<sequence>
<empty name="Empty_1"/>
</sequence>
</case>
<otherwise>
<bpelx:annotation>
<bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
</bpelx:annotation>
<sequence>
<empty name="Empty_2"/>
</sequence>
</otherwise>
</switch>
</sequence>
</sequence>
</scope>
<scope name="CheckCreditCard">
<variables>
<variable name="InvokeCreditCardService_process_InputVariable"
messageType="ns6:CreditCardServiceRequestMessage"/>
<variable name="InvokeCreditCardService_process_OutputVariable"
messageType="ns6:CreditCardServiceResponseMessage"/>
</variables>
<sequence name="Sequence_2">
<assign name="Assign_1">
<copy>
<from variable="inputVariable" part="payload"
query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
<to variable="InvokeCreditCardService_process_InputVariable"
part="payload"
query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
</copy>
</assign>
<scope name="Scope_1">
<compensationHandler>
<sequence name="Sequence_7">
<empty name="Empty_3"/>
</sequence>
</compensationHandler>
<invoke name="InvokeCreditCardService"
partnerLink="CreditCardService"
portType="ns6:CreditCardService" operation="process"
inputVariable="InvokeCreditCardService_process_InputVariable"
outputVariable="InvokeCreditCardService_process_OutputVariable"/>
</scope>
<switch name="CheckCreditCardValid">
<case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
<sequence name="Sequence_3">
<assign name="AssignCreditFault">
<copy>
<from expression="string('Invalid credit card number')"/>
<to variable="paymentFault" part="payload"
query="/client:testbpelProcessFault/client:status"/>
</copy>
</assign>
<throw name="ThrowCreditFault"
faultName="ns7:CreditCardNumberFault"
faultVariable="paymentFault"/>
</sequence>
</case>
</switch>
</sequence>
</scope>
<assign name="AssignInitial">
<copy>
<from expression="string('Select Manufacturer')"/>
<to variable="outputVariable" part="payload"
query="/client:testbpelProcessResponse/client:result"/>
</copy>
<copy>
<from expression="1"/>
<to variable="n"/>
</copy>
<copy>
<from expression="0.0"/>
<to variable="outputVariable" part="payload"
query="/client:testbpelProcessResponse/client:price"/>
</copy>
</assign>
<while name="While_1"
condition="bpws:getVariableData('n') <= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
<sequence name="Sequence_1">
<assign name="DoCalculation">
<copy>
<from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
<to variable="outputVariable" part="payload"
query="/client:testbpelProcessResponse/client:price"/>
</copy>
<copy>
<from expression="bpws:getVariableData('n') + 1"/>
<to variable="n"/>
</copy>
</assign>
</sequence>
</while>
<assign name="Transform_2">
<bpelx:annotation>
<bpelx:pattern>transformation</bpelx:pattern>
</bpelx:annotation>
<copy>
<from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
<to variable="Invoke_ShipmentService_execute_InputVariable"
part="orderRequest"/>
</copy>
</assign>
<invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
portType="ns5:execute_ppt" operation="execute"
inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
<invoke name="callbackClient" partnerLink="client"
portType="client:testbpelCallback" operation="onResult"
inputVariable="outputVariable"/>
</sequence>
</process>
CreditCardInvalidTest.xml
<BPELTest processName="testbpel"
xmlns="http://xmlns.oracle.com/bpel/instancedriver"
xmlns:client="http://xmlns.oracle.com/testbpel">
<initiate operation="initiate">
<inboundMessage>
<part fileName="testInput.xml" name="payload"/>
</inboundMessage>
</initiate>
<activityDriver name="callbackClient">
<assertValue variableName="outputVariable" partName="payload"
comparisonMethod="string" fatal="false" patternMatch="false">
<message>Expected "Select Manufacturer"</message>
<actualPath>/client:testbpelProcessResponse/client:result</actualPath>
<expected>Select Manufacturer</expected>
</assertValue>
<assertValue variableName="outputVariable" partName="payload"
comparisonMethod="string" fatal="true" patternMatch="false">
<message>Expected price of "1"</message>
<actualPath>/client:testbpelProcessResponse/client:price</actualPath>
<expected>1</expected>
</assertValue>
</activityDriver>
*<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
*<emulate duration="PT">*
*<inboundMessage>*
*<part fileName="approverResponse.xml" name="payload"/>*
*</inboundMessage>*
*</emulate>*
*</activityDriver>* <--- it waits FOREVER at this bit to receive the approverResponse.xml :s
<activityDriver name="InvokeCreditCardService">
<emulate duration="PT">
<inboundMessage>
<part fileName="creditCardServiceResponse.xml" name="payload"/>
</inboundMessage>
</emulate>
</activityDriver>
<activityDriver name="initiateTask_ApproveOrder_1">
<emulate duration="PT">
<inboundMessage>
<part fileName="getApproval.xml" name="payload"/>
</inboundMessage>
</emulate>
</activityDriver>
</BPELTest>RaviKiran,
I agree that the explanation oracle provided in the attach link, is a bit confusing. The main goal there is to describe the behavior of processes, when there is a need to combine, or split the transactions within those processes (or in some cases the processes themselves).
The thing is - The default transaction for a synchronous process is requiresNew. That was until version 11.1.1.6. On this last version, you are asking to enter a Transaction parameter when creating a new synchronous bpel process. The default value being prompt is required and that's what causing the problem – You automatically accept the default.
The assumption is, that developing bpel processes, should come with understanding of all those behaviors.
The problem for my understanding is that some of those behaviors were not so cleared until now.
Arik -
XML-24521 Element not completed in oracle bpel - BPEL Test Case
Hi All
I created a baseline test for my bpel process which reads an image from one server and does ftp to another server. But this baseline test invalidates and giving
following 2 errors
Error(40,35): <Line 40, Column 35>: XML-24521: (Error) Element not completed: 'result'
Error(41,52): <Line 41, Column 52>: XML-24521: (Error) Element not completed: 'clpRmsImageResponseElement'
These two errors are complaining about the following two tags on the xml source of the baseline.xml
*</ns0:result>*
*</ns0:clpRmsImageResponseElement>*
The xml source of baseline.xml is as follows.
<?xml version = '1.0' encoding = 'UTF-8'?>
<BPELTest processName="MIBP_RMSImageTransfer"
xmlns="http://xmlns.oracle.com/bpel/instancedriver">
<initiate operation="initiate">
<inboundMessage>
<part name="payload">
<content>
<ns1:MIBP_RMSImageTransferProcessRequest xmlns:ns1="http://xmlns.monash.edu.au/its/MIBP_RMSImageTransfer">
<ns1:Students>
<ns1:Student_ID>10085998</ns1:Student_ID>
</ns1:Students>
</ns1:MIBP_RMSImageTransferProcessRequest>
</content>
</part>
</inboundMessage>
</initiate>
<activityDriver name="getPersonImageFromWS" firstIteration="1"
lastIteration="1">
<emulate>
<inboundMessage>
<part name="parameters">
<content>
<ns0:clpRmsImageResponseElement xmlns:ns0="http://iascustom/CallistaPersonImageWS.wsdl/types/">
<ns0:result>
<ns0:pfaultobjOut xsi:type="ns0:FaulttypeUser"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns0:faultcode>0</ns0:faultcode>
<ns0:faultdetail xsi:nil="1"/>
<ns0:faultsummary xsi:nil="1"/>
</ns0:pfaultobjOut>
<ns0:pimgobjOut xsi:type="ns0:RmsimageresponseUser"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns0:personimage>/9j/4AAQSkZJRgABAAEAYABgAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wCEAAQDAwQDAwQEAwQF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Xk905brNIWx9B0qs5KuRkn3NenGEacLRRwe1nLdiKT19KmDkjr0qI6IYcnjNOK+WQVJBpgHmv/erTs5ZIpFlgkeKW3O+ORDhlJ96mQH6n/so+O9a8ffB/TNQ8SzrcX9u7WvngENKqYALnPLe9e3729T+ZrFgf//Z</ns0:personimage>
<ns0:imagedt>2009-04-01T11:09:30.000+10:00</ns0:imagedt>
<ns0:personid>10085998</ns0:personid>
</ns0:pimgobjOut>
</ns0:result>
</ns0:clpRmsImageResponseElement>
</content>
</part>
</inboundMessage>
</emulate>
</activityDriver>
<activityDriver name="personImageToBasil2" firstIteration="1"
lastIteration="1">
<emulate/>
</activityDriver>
<activityDriver name="personImageToBasil1" firstIteration="1"
lastIteration="1">
<emulate/>
</activityDriver>
<activityDriver name="callbackClient" firstIteration="1" lastIteration="1">
<emulate/>
</activityDriver>
</BPELTest>
Please help me to resolve this.
Thanks
JamithHi All
I created a baseline test for my bpel process which reads an image from one server and does ftp to another server. But this baseline test invalidates and giving
following 2 errors
Error(40,35): <Line 40, Column 35>: XML-24521: (Error) Element not completed: 'result'
Error(41,52): <Line 41, Column 52>: XML-24521: (Error) Element not completed: 'clpRmsImageResponseElement'
These two errors are complaining about the following two tags on the xml source of the baseline.xml
*</ns0:result>*
*</ns0:clpRmsImageResponseElement>*
The xml source of baseline.xml is as follows.
<?xml version = '1.0' encoding = 'UTF-8'?>
<BPELTest processName="MIBP_RMSImageTransfer"
xmlns="http://xmlns.oracle.com/bpel/instancedriver">
<initiate operation="initiate">
<inboundMessage>
<part name="payload">
<content>
<ns1:MIBP_RMSImageTransferProcessRequest xmlns:ns1="http://xmlns.monash.edu.au/its/MIBP_RMSImageTransfer">
<ns1:Students>
<ns1:Student_ID>10085998</ns1:Student_ID>
</ns1:Students>
</ns1:MIBP_RMSImageTransferProcessRequest>
</content>
</part>
</inboundMessage>
</initiate>
<activityDriver name="getPersonImageFromWS" firstIteration="1"
lastIteration="1">
<emulate>
<inboundMessage>
<part name="parameters">
<content>
<ns0:clpRmsImageResponseElement xmlns:ns0="http://iascustom/CallistaPersonImageWS.wsdl/types/">
<ns0:result>
<ns0:pfaultobjOut xsi:type="ns0:FaulttypeUser"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns0:faultcode>0</ns0:faultcode>
<ns0:faultdetail xsi:nil="1"/>
<ns0:faultsummary xsi:nil="1"/>
</ns0:pfaultobjOut>
<ns0:pimgobjOut xsi:type="ns0:RmsimageresponseUser"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns0:personimage>/9j/4AAQSkZJRgABAAEAYABgAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wCEAAQDAwQDAwQEAwQFBQQFBwwHBwYGBw4KCwgMEQ8SEhEPEBATFRsXExQaFBAQGCAYGhwdHh8eEhchJCEeJBseHh0BBQUFBwYHDgcHDh0TEBMdHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHf/EAaIAAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKCwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+foRAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJ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5ep4gpJ29OOgH8PtUqRjIOACO9fQJW2PEvcmVAMk456+9Wbe4Nu8bRFkeM5Ro22lT6ggjBpNDR7v8Of2sPiP8PreK0/tWPWdOiUKkGrbpHQDsJPvgexyK+xvgj+1n4c+KROnaxFHoPiKMAm1uLjMUw45jkx/wCOkZqWB9FBuSADkdcjkfWlz/sn8qQz88f27vGOsjxvo/g6K8ePQI9NTUWt0482ZpHUlz/EAFGB0GK+Ppl9zVx2JIKGYgfSqAj3EUmaTBjZW2ITgH2Iq7YarqGmmM2GoXUB7eXKRj6VNWKmrSNac3Fqx09l8ZPF9riL+0UlRRj97AjH88Zpb34zeM7+PyG1XyY/SGFF/XFcP1GjzXsdP1qocpf6xqGozq+pXk905brNIWx9B0qs5KuRkn3NenGEacLRRwe1nLdiKT19KmDkjr0qI6IYcnjNOK+WQVJBpgHmv/erTs5ZIpFlgkeKW3O+ORDhlJ96mQH6n/so+O9a8ffB/TNQ8SzrcX9u7WvngENKqYALnPLe9e3729T+ZrFgf//Z</ns0:personimage>
<ns0:imagedt>2009-04-01T11:09:30.000+10:00</ns0:imagedt>
<ns0:personid>10085998</ns0:personid>
</ns0:pimgobjOut>
</ns0:result>
</ns0:clpRmsImageResponseElement>
</content>
</part>
</inboundMessage>
</emulate>
</activityDriver>
<activityDriver name="personImageToBasil2" firstIteration="1"
lastIteration="1">
<emulate/>
</activityDriver>
<activityDriver name="personImageToBasil1" firstIteration="1"
lastIteration="1">
<emulate/>
</activityDriver>
<activityDriver name="callbackClient" firstIteration="1" lastIteration="1">
<emulate/>
</activityDriver>
</BPELTest>
Please help me to resolve this.
Thanks
Jamith -
I am trying to emulate the human task in BPEL process. here is the test source to emulate the human task
<initiate operation="process">
<inboundMessage>
<part fileName="input_row_id_120780.xml" name="payload"/>
</inboundMessage>
</initiate>
<activityDriver name="initiateTask_WorkFlowFollowUpInitiate_1">
<emulate duration="PT">
<inboundMessage>
<part fileName="initiate_response_12780.xml" name="payload"/>
</inboundMessage>
</emulate>
</activityDriver>
<activityDriver name="receiveTaskUpdates_WorkFlowFollowUpInitiate_1">
<triggerOnMessage doBeforeActivity="true" onMessageName="initiateCompleted">
<inboundMessage>
<part name="payload" fileName="initiate_withdrawn_120780.xml"/>
</inboundMessage>
</triggerOnMessage>
<assertValue variableName="inputVariable" partName="payload"
comparisonMethod="string" fatal="false" patternMatch="true">
<message>test</message>
<actualPath>/client:WorkFlow4FollowUpProcessProcessRequest/client:input</actualPath>
<expected>[0-9]+</expected>
</assertValue>
</activityDriver>
but it does not seem to be working. I cannot see any human task created in the worklist application but the instance keep waiting for the callback message which I am already giving through "triggerOnMessage".
I dont understand what am i doing wrong. Other thing I want to do is can I use the "triggerOnMessage" without emulating the "initiateTask" response.Hi Clemens,
Thanks for the reply. I was not setting the correlation sets previously. but now when I setup the correlation sets, I am getting the following exceptions.
I am running 10.1.3.5. I tried redeploying the process but with no success. I am using the pick activity to receive callbacks.
I also see bug *5332819* on metalink. It says this issue was fixed in 10.1.3.2. But still I am running into to the same issue with 10.1.3.5. Any suggestion or workaround
ORABPEL-03802
Correlation definition not registered.
The correlation set definition for operation "onSubTaskUpdated", process "WorkFlow4FollowUpProcess", has not been registered with the process domain.
Please try to redeploy your process to the process domain.
I am using the taskId as the correlation property.
correlation property
<bpws:property name="taskID_prop" type="xsd:string"/>
property aliases
<bpws:propertyAlias propertyName="pns1:taskID_prop" messageType="ns1:initiateTaskResponseMessage" part="payload"
query="/ns1:initiateTaskResponse/ns3:task/ns3:systemAttributes/ns3:taskId" xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/taskService"
xmlns:ns3="http://xmlns.oracle.com/bpel/workflow/task" xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/common"/>
<bpws:propertyAlias propertyName="pns1:taskID_prop" messageType="ns1:taskAssignedMessage" part="payload"
query="/ns1:taskAssignedMessage/ns2:task/ns2:systemAttributes/ns2:taskId" xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/taskService"
xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/task"/>
<bpws:propertyAlias propertyName="pns1:taskID_prop" xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/taskService"
messageType="ns2:taskMessage" part="payload" query="/ns1:task/ns1:systemAttributes/ns1:taskId"
xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/task"/>
<bpws:propertyAlias propertyName="pns1:taskID_prop" messageType="ns1:subTaskUpdatedMessage" part="payload"
query="/ns1:subTaskUpdatedMessage/ns1:parentTaskId" xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/taskService"
xmlns:ns3="http://xmlns.oracle.com/bpel/workflow/task" xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/common"/>
<bpws:propertyAlias propertyName="pns1:taskID_prop" messageType="ns1:taskUpdatedMessage" part="payload"
query="/ns1:taskUpdatedMessage/ns2:task/ns2:systemAttributes/ns2:taskId" xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/taskService"
xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/task"/>
<bpws:propertyAlias propertyName="pns1:taskID_prop"
messageType="ns1:initiateTaskMessage" part="payload" query="/ns1:initiateTask/ns2:task/ns2:systemAttributes/ns2:taskId"
xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/taskService" xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/task"/>
Correlation Set
<correlationSets>
<correlationSet name="TaskIdCor" properties="ns20:taskID_prop"/>
</correlationSets>
Use in invoking the task service.
<correlations>
<correlation initiate="yes" set="TaskIdCor" pattern="in"/>
</correlations>
Use in the pick OnMessage activities.
<correlations>
<correlation initiate="no" set="TaskIdCor"/>
</correlations>
Edited by: tanvirmp on Dec 17, 2009 11:27 AM -
My company has begn investigating automated testing solutions
for our products. For the ASPX, XML, and HTML, parts of our
products, that's obviously not an issue. But most of our content is
presented as SWFs, and now we're rebuilding our entire framework in
Flash as well. We have not been able to find a method for
auto-testing the Flash we're producing, but we really need to find
one (for load testing as well).
Any insights?did you ever find a solution, where in the same boat and ive
searched the web all week and keep coming up empty.
Can anyway give any pointers into how we can test, i know
products like asunit will help with the code, but is there anything
useful that will help us do user testing, as currently our testers
need to click through every option in the flash application, which
takes hours.
Ive also been thinking of changing it all over to flex, as
this seems to have a little bit more on the testing side any
thoughts?
David -
BPEL Test Suite : Emulate ProcessRequest of Synch Partner
Hi All
I want to emulate the ProcessRequest message for synchronous partner.
When I create the test case I can emulate the ProcessResponse message for synch partner but not ProcessRequest message.
Please help me on this.
Thanks
JamithHi James
Thank you very much for your reply.
I understand what you have said. But still I have the question on the following scenario.
Can I simulate (emulate) the inbound message for a partner (synch or asynch) assuming the main bpel is passing some parameters
to the partner ? (I know a asserts can be added in this scenario). The objective is to perform partner test on the partner in the test
case for the main bpel process.
And can you refer me a good document that gives an example for "External Calls" in test framework ?
Thanks
Jamith
Edited by: Jamith Jayasekara on 22/03/2009 16:34 -
Hi-
Will be great if someone throws light on the following queries,
1) In our project we make use of SOAP-UI mock responses for Asynchronous processes in automatic testing. But we are looking for the way to get the Asynchronous response returned by the BPEL process in the Callback proxy when invoked via OSB by using SOAP UI or without SOAP UI. I saw some sites suggested use ws-addressing, but it is not helping.
Here is the scenario: We want a soap-ui triggered call which passes through the OSB layer(async call) and get back the response from async bpel without mock service. Issue is callback does not get through with the reply-to address field.
2) We are also looking for an alternate way to directly invoke the BPEL unit tests cases SOAP-UI.
Any help, much appreciated.
Regards Saraththe reason to see this happening is the way the engine works, if you have an async process, before the engine takes up to create a new instance, the payload gets stroed into the sc. delivery queue. and gets picked up later on, when the engine has resources.
What happens say after 30 secs to a minute? still no process in the console?
any error msg in the log / dos box?
thx clemens
Maybe you are looking for
-
when I connect my iPod touch to your computer, itunes does not detect it ... but in My computer is detected as an external disk why?
-
How do I change view of Iphoto's to just thumbnails without the date and size in Imovie?
How do I change the view on the Iphoto's in Imovie so that just the thumbnails show not thumbnails and date and size?
-
Additional text in CATS screen
How to display additional text in CATS time entry screen like "you are responsible for correct time entry"?
-
Help on Print Configuration: HP 3550N
Hi All, This is our infrastructure: SAP ECC 6.0 Windows 2003 Server Oracle 10.2 We have the following types of printers: HP 5550 HP 4300 PS HP 3800DN PS HP laserjet 4300 All these printers are working without problems. But the HP 3550N is no working
-
Server Environment...
Hello... I'm looking for a strong server environment for my MAC Pro and then jump for a MAC server with the same base software. I've installed and tested the MAMP Pro for a few days but I've experimented problems (even in a new MAC machine). Eg.: The