BPEL Test Suite description

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>

Similar Messages

  • Using BPEL test suites

    I am trying to use the "test suites" feature in 10.1.3.
    Is there any documentation available?
    I am not able to build "message instance files". Is there wizard for creating them?

    Is it possible that this feature is not really implemented yet?
    Just some nice icons in Jdeveloper?
    In Websphere there is a complete simulation environment.... (WITH DOCUMENTATION!!!)
    In my opinion the only workaround is to use the ESB with an database adapter, which listens on a table.
    There one can insert the "test-messages"...

  • BPEL Test Suite issue

    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

  • 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
    Jamith

    Hi 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

  • URGENT Please help with weird behavior of test suite

    Hi All,
    I have a composite involving three operations of two different services. The weird behavior comes by the time on which I run the test suite on the EM, if I try to emulate two different operation response from one service, by the time that the flow, tries to emulate the second one, I always receive this error:
    part name="summary">
    <summary>oracle.fabric.common.FabricException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Error writing stream: java.io.IOException: Can only write attribute within a tag.: WSDLException: faultCode=OTHER_ERROR: Error writing stream: java.io.IOException: Can only write attribute within a tag.</summary>
    </part>
    On the other hand if I emulate two responses of the same operation it works.
    Does any one have any idea of how to deal with this kind of test? Which seems a very simple test.
    Best regards,

    Hi thanks for your response, in detail my problem is as follows:
    1- I have a simple composite with two services and three invokes, all of the operations are two ways operations. Here´s the BPEL (Service1 Demandas, operation Actualizar; Service 2 Aviso, operations buscar, actualizar):
    <scope name="SINAUT_Aviso_SRV_Demandas_Actualizar">
    <bpelx:annotation xmlns:bpelx="http://schemas.oracle.com/bpel/extension">
    <bpelx:pattern patternName="bpelx:automated"/>
    <bpelx:analysis>
    <bpelx:property name="LastUpdateDate">9/10/10 9:35:50 AM</bpelx:property>
    <bpelx:property name="BusinessId">Scope_151babe7-bc1e-11df-3ca0-0015c5fce8ce</bpelx:property>
    </bpelx:analysis>
    </bpelx:annotation>
    <sequence>
    <bpelx:annotation xmlns:bpelx="http://schemas.oracle.com/bpel/extension">
    <bpelx:analysis>
    <bpelx:property name="BusinessId">Sequence_151babe7-bc1e-11df-3ca0-0015c5fce8ce</bpelx:property>
    <bpelx:property name="LastUpdateDate">9/10/10 9:35:50 AM</bpelx:property>
    </bpelx:analysis>
    </bpelx:annotation>
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable"
    query="/client:process/client:input/idDemada"
    part="payload"/>
    <to variable="Invoke_2_actualizar_InputVariable"
    part="payload" query="/payload/demanda/idDemanda"/>
    </copy>
    <copy>
    <from variable="inputVariable"
    query="/client:process/client:input/estadoDemanda/codigo"
    part="payload"/>
    <to variable="Invoke_2_actualizar_InputVariable"
    part="payload"
    query="/payload/demanda/estadoDemanda/codigo"/>
    </copy>
    </assign>
    <invoke name="Invoke_2"
    inputVariable="Invoke_2_actualizar_InputVariable"
    outputVariable="Invoke_2_actualizar_OutputVariable"
    partnerLink="SRV_Demandas"
    portType="ns2:SINAUT_Aviso_SRV_Demandas"
    operation="actualizar"/>
    </sequence>
    </scope>
    <scope name="SINAUT_Aviso_SRV_Avisos_Actualizar">
    <bpelx:annotation xmlns:bpelx="http://schemas.oracle.com/bpel/extension">
    <bpelx:pattern patternName="bpelx:automated"/>
    <bpelx:analysis>
    <bpelx:property name="LastUpdateDate">9/10/10 9:35:57 AM</bpelx:property>
    <bpelx:property name="BusinessId">Scope_c235386b-bc1f-11df-3ca0-0015c5fce8ce</bpelx:property>
    </bpelx:analysis>
    </bpelx:annotation>
    <sequence>
    <bpelx:annotation xmlns:bpelx="http://schemas.oracle.com/bpel/extension">
    <bpelx:analysis>
    <bpelx:property name="BusinessId">Sequence_c235386b-bc1f-11df-3ca0-0015c5fce8ce</bpelx:property>
    <bpelx:property name="LastUpdateDate">9/10/10 9:35:57 AM</bpelx:property>
    </bpelx:analysis>
    </bpelx:annotation>
    <assign name="Assign_2">
    <copy>
    <from variable="inputVariable"
    query="/client:process/client:input/ReferenciaPly"
    part="payload"/>
    <to variable="Invoke_1_actualizar_InputVariable"
    part="payload" query="/payload/aviso/referenciaPlyAviso"/>
    </copy>
    <copy>
    <from variable="inputVariable"
    query="/client:process/client:input/estadoAviso/codigo"
    part="payload"/>
    <to variable="Invoke_1_actualizar_InputVariable"
    part="payload" query="/payload/aviso/estadoAviso/codigo"/>
    </copy>
    </assign>
    <invoke name="Invoke_1"
    inputVariable="Invoke_1_buscar_InputVariable_1"
    outputVariable="Invoke_1_buscar_OutputVariable_1"
    partnerLink="SRV_Aviso"
    portType="ns1:SINAUT_Aviso_SRV_Avisos"
    operation="buscar"/>
    <assign name="Assign_4">
    <copy>
    <from expression="'12345'"/>
    <to variable="Invoke_3_actualizar_InputVariable"
    part="payload" query="/payload/aviso/referenciaPlyAviso"/>
    </copy>
    </assign>
    <invoke name="Invoke_3"
    inputVariable="Invoke_3_actualizar_InputVariable"
    outputVariable="Invoke_3_actualizar_OutputVariable_1"
    partnerLink="SRV_Aviso"
    portType="ns1:SINAUT_Aviso_SRV_Avisos"
    operation="actualizar"/>
    </sequence>
    </scope>
    2- My test suite is as follows:
    <wireActions wireSource="SINAUT_Aviso_PR_DemandasActualizar_TO_BE_/SRV_Demandas" operation="actualizar">
    <emulate duration="PT0S">
    <message>
    <part partName="payload">
    <content>
    <payload xmlns=""/>
    </content>
    </part>
    </message>
    </emulate>
    </wireActions>
    <wireActions wireSource="SINAUT_Aviso_PR_DemandasActualizar_TO_BE_/SRV_Aviso" operation="buscar">
    <emulate duration="PT0S">
    <message>
    <part partName="payload">
    <filePath>prueba_busqueda.xml</filePath>
    </part>
    </message>
    </emulate>
    </wireActions>
    <wireActions wireSource="SINAUT_Aviso_PR_DemandasActualizar_TO_BE_/SRV_Aviso" operation="actualizar">
    <emulate duration="PT0S">
    <message>
    <part partName="payload">
    <filePath>prueba_actualizar.xml</filePath>
    </part>
    </message>
    </emulate>
    </wireActions>
    3- When the test suite executes the second operation of the second service it throws this exception:
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Error writing stream: java.io.IOException: Can only write attribute within a tag.: WSDLException: faultCode=OTHER_ERROR: Error writing stream: java.io.IOException: Can only write attribute within a tag.</summary></part><part name="detail"><detail>Can only write attribute within a tag.</detail></part></remoteFault></bpelFault>
    4- if I change the second operation with the first one(buscar), it doesn't throws any exception.
    5- If this is a limitation , how can I test a composite that involves n operations of the same service?
    Kind regards and thanks for all of your support

  • Unable to create the test suite file

    Hi,
    I imported a BPEL project to my JDeveloper ver 10.1.3.3.0. When I clicked on the <project name>.bpel, I got the
    "unable to create the test suite file" error and all the partnerlinks have a bang sign (!). None of the partner link works.
    Please help,
    Thanks,
    Amorsolo

    Probably you might want to post it in the BPEL forum.
    BPEL
    -Arun

  • Unable to create the test suits file!

    Dear Experts!
    Getting the "Unable to create the test suits file!" error while opening .bpel file in JDeveloper 10.1.3.5. Also, all the partner links showing warning symbol. When I click on them, getting the following error:
    ERROR:WSDLException: faultCode=INVALID_WSDL: Invalid XML in document at: Start of root element expected.
    Looks like partner links are not mapped correctly. Could you please throw some light, where I need to fix the issue.
    Appreciate your help.
    Thank you.

    I had similar issue sometimes back, error was because sample xml my test was using wasn't conforming to my code. In my case, I didn't write test suite so deployment was successful and was getting error while testing post deployment. In your case, test suite will execute.
    Try to follow your xslt mapping or any xpath statements within bpel flow, it must be having direct mapping of some element from source but your sample input xml might not be having that element and hence resulting in error. Try iterative debugging by adding more elements in input xml.
    Regards,
    Ankit

  • [New Release] Oracle Application Testing Suite 12.5.0.1.0

    Hi All,
    OATS new release available, please check : http://www.oracle.com/technetwork/oem/app-test/index-084446.html
    From Release Notes
    Oracle Application Testing Suite 12.5.0.1 - New Features and Updates
    Support for Chrome 32 browser - Oracle OpenScript includes support for the Chrome 32 browser for playback.
    Support for Firefox 31 browser - Oracle OpenScript includes support for the Firefox 31 browser for record and playback.
    Support for Internet Explorer 10 and 11 browser - Oracle OpenScript includes support for Internet Explorer 10 browser for playback on Windows 7 SP1 and Windows 8.
    New movie recording of playback feature - Oracle OpenScript includes a new movie recording feature that allows recording and playback of a movie file showing the playback of OpenScript functional test scripts.
    New advanced VU start, stop, and ramp features added to Oracle Load Testing - Oracle Load Test includes new features that provide advanced control over script start, stop, and ramp up conditions a the script level.
    Support for Internet Explorer 10 and 11 browser - Oracle Load Testing and Oracle Test Manager include support for Internet Explorer 10 browser for playback on Windows 7 SP1 and Windows 8.
    New Lightweight Directory Access Protocol (LDAP) authentication feature added for Oracle Test Manager - Oracle Test Manager Administrator tool includes new features for configuring the LDAP server to use for authentication.
    -POPS

    I have a similar problem with the OATS v9.20 installation. I did manage to install it on our main load generator (running Windows 2003 Server) but when it came to installing OpenScript on my laptop (XP SP3) the install 'hangs' at 78%.
    I did raise a support call with Oracle about this (there was a bug report generated) but the case is still open.
    I've been waiting to hear when the next version was due (in the hope that this might have been resolved) but by the sounds of it there could still be an issue on WinXP with v9.21?
    For reference I originally logged this with the following in the description:
    The installation looks like it is failing because of a double backslash in a path ending "OATS920\\bin\copyOUI.bat". We then get an error in javaw.exe which when OK'ed then stops the installation at the stage "creating 'Uninstall Oracle Application Testing Suite' in folder 'Oracle Application Testing Suite' ".

  • Is it possible to run test suite B based on test Suite A?

    There are 2 test suites:
    A & B
    I want to run the test suite B only when test suite A is successful.
    Please give me some hints how to achieve this.

    There isn't any official way to do this at this time. Pre-release we supported this but tools like FlashBuilder and some other interface points needed to know, before the testing began, how many tests they were expecting and that sort of derailed us.
    However, if you want to know how to do this in a quick and dirty sort of way, and you don't mind doing a little work, here is an approach you can refine.
    First, create yourself a static class or a singleton which implements IRunListener. Objects of this type can receive updates as tests run, fail, etc. So in your object you could keep track of any failure conditions which were important decision points. Call the addListener() method of the FlexUnitCore and pass your object in.
    var core:FlexUnitCore = new FlexUnitCore()
    core.addListener( mySpecialSingletonListener.getInstance() );
    This will register your object to receive the updates I mention above. Next step, create a new runner which extends Suite. So, for example PotentiallyIgnoreMeRunner extends Suite.
    Inside of here you are going to add a new function which I have provided here called ignoreRecursively:
    protected function ignoreRecursively( notifier:IRunNotifier, description:IDescription ):void {
      if ( description.isTest ) {
        notifier.fireTestIgnored( description );
      } else {
        var children:Array = description.children;
        for ( var i:int=0; i<children.length; i++ ) {
          ignoreRecursively( notifier, children[ i ] );
    Basically, it will cause each test in this suite to be marked as ignored in the output and will not execute it.
    Then you will need to override the protected runChild() method to do something like this:
    override protected function runChild( child:*, notifier:IRunNotifier, childRunnerToken:AsyncTestToken ):void {
      var mySpecialSingleton:MySpecialSingleton = MySpecialSingleton.getInstance();
      //Here you will need to call some function that accepts the current testClass and decides if it should be run or ignored
      if ( mySpecialSingleton.shouldIRunThisSuite( testClass ) ) {
        super.runChild( child, notifier, childRunnerToken );
      } else {
        var description:IDescription = describeChild( child );
        ignoreRecursively( notifier, description );
        childRunnerToken.sendResult();
    Almost done, decorate your suite classes to use your new runner instead of ours:
    [Suite]
    [RunWith("some.package.PotentiallyIgnoreMeRunner")]
    public class SuiteB {
    Finally, make sure you include a reference to the PotentiallyIgnoreMeRunner somewhere in your application. Metadata is just a string to FlashBuilder and it will not automatically know to include the PotentiallyIgnoreMeRunner in the final swf file.
    I just did a quick prototype and it will successfully ignore all tests based on the result of another.
    Mike

  • SOA test suite framework

    I have developed a composite application that contains two bpel processes(process1 and process2). Process1 is the entry point.
    1)     Process1 has few activities and invokes process2.
    2)     Process2 invokes the db adapter to insert a record in table.
    3)     I have created a test suite in jdeveloper and deployed the application.
    4)     In EM console, I navigated to “unit tests” tab to test.
    5)     Test passes successfully with all activities executed in process1.
    Question:
    I’m not able to see any instance of process2 and also cannot see any record getting inserted in the table. Just to make sure there are no issues in process2, I tested process2 alone, the record is getting inserted successfully. Am I missing any configurations to test bpel process interactions in composite without emulations?
    Kindly help me solve this issue.

    Anyways i found the solutions to this, i was creating the second bpel process with expose as SOAP service checkbox selected, by unselecting it, my process2 was invoked from process1 and i could see process2 getting instantiated.

  • Test Suites for ESB?

    Hi All,
    We all know that it is possible to automate the testing of the BPEL process.
    Could the same be possible for ESB Services as well.
    That is , could it be possible to develop test suites for ESB Services as well?
    Request you to provide inputs on the same.
    Thanks in advance!!!
    Warm Regards,
    Sai Maddali

    Hi Sai
    Make sure that your ApplicationServer and IntegrationServer connections are working from JDev
    Test a very basic project to determine if it is a problem with all projects or just this one
    Test the import function by importing the CustomerData.zip file as described in the ESB QuickStart Guide
    Make sure there are NO spaces in the path of your JDev project
    Make sure that all external service dependancies such as a SOAP WSDL URL in the project are resolved
    Cheers
    Pucha Anirudh

  • Need help on Oracle Application Testing Suite

    Hi,
    I need help on accessing one script into another script in OATS like the way we access methods of one class into another class in Java. I have created 2 scripts (when i do recording they created as a projects in open script editor), now i want to use my first script in second script.
    Thanks,
    VaraPrasad

    I have a similar problem with the OATS v9.20 installation. I did manage to install it on our main load generator (running Windows 2003 Server) but when it came to installing OpenScript on my laptop (XP SP3) the install 'hangs' at 78%.
    I did raise a support call with Oracle about this (there was a bug report generated) but the case is still open.
    I've been waiting to hear when the next version was due (in the hope that this might have been resolved) but by the sounds of it there could still be an issue on WinXP with v9.21?
    For reference I originally logged this with the following in the description:
    The installation looks like it is failing because of a double backslash in a path ending "OATS920\\bin\copyOUI.bat". We then get an error in javaw.exe which when OK'ed then stops the installation at the stage "creating 'Uninstall Oracle Application Testing Suite' in folder 'Oracle Application Testing Suite' ".

  • 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.

  • Error while running ADF-BC Test Suite from command line

    Hi,
    I have created a separate test project containing the Test Suite for the Model componenet of my ADF-BC  application.
    I need to run this test project separately from jmeter.
    The tests run fine from Jdev, But when I package the test project into a jar and try to run from command line, I get the following error:
    java.lang.NoClassDefFoundError: oracle/jbo/ApplicationModule
            at com.oracle.cs.cap.module.applicationModule.ServiceAMFixture.<init>(ServiceAMFixture.java:36)
            at com.oracle.cs.cap.module.applicationModule.ServiceAMFixture.<clinit>(ServiceAMFixture.java:15)
            at com.oracle.cs.cap.module.view.EntitlementReportDurationViewVO.EntitlementReportDurationViewVOTest.<init>(EntitlementReportDurationViewVOTest.java:11)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.junit.internal.runners.JUnit4ClassRunner.createTest(JUnit4ClassRunner.java:72)
            at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:79)
            at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
            at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
            at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
            at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
            at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
            at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)
            at org.junit.runners.Suite.access$000(Suite.java:26)
            at org.junit.runners.Suite$1.run(Suite.java:93)
            at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
            at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
            at org.junit.runners.Suite.run(Suite.java:91)
            at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)
            at org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:28)
            at org.junit.runner.JUnitCore.run(JUnitCore.java:130)
            at org.junit.runner.JUnitCore.run(JUnitCore.java:109)
            at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
            at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)
            at org.junit.runner.JUnitCore.main(JUnitCore.java:44)
    Caused by: java.lang.ClassNotFoundException: oracle.jbo.ApplicationModule
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 27 more
    The Test project jar is created as ADF Library JAR File with Model.jpr as the dependent project. This takes care of project class dependencies
    All the adf library dependencies are added to the manifest file of the Test Project jar referring to a location lib/ in the jar file directory.
    I tried creating the ApplicationModule using both Configuration class (Configuration.createRootApplicationModule) as well as using the JDBC Connection String but both fail when I run the test cases independently from jmeter.
    Anybody came across such an error? Please help.
    Thanks,
    Sapna

    Hi Timo,
    Im using JDev version 11.1.1.6.0.
    I checked the class path on the jdev console. All the library references are mentioned in the manifest.mf classpath of the test project like below:
    Manifest-Version: 1.0
    Class-Path: lib/identitystore.jar
    lib/adfm.jar
    lib/groovy-all-1.6.3.jar
    lib/adftransactionsdt.jar
    lib/adf-dt-at-rt.jar
    lib/adfdt_common.jar
    lib/adflibrary.jar
    lib/xmlparserv2.jar
    lib/db-ca.jar
    lib/jdev-cm.jar
    lib/ojmisc.jar
    lib/commons-el.jar
    lib/jsp-el-api.jar
    etc...
    So I expect the library references should be resolved looking at the manifest file.
    Another set of entries that I see in the jdev classpath are related to the Model project which is under test.
    -classpath
    D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\.adf;
    D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\Model\classes;
    How do I put these entries into my class path? Will it be sufficient if I add the Model.jar into my test project classpath?
    Thanks,
    Sapna

Maybe you are looking for

  • Created a 2nd template - how do I make it the default

    Hello, I have added a 2nd template for a data definition. How do I make it the new default so that the user doesn't have to go into Upon Completion/Options and pick the template each time they run the concurrent program? The other template is still n

  • Prefs keep disappearing

    My ID crashed today and all my prefs and print presets went away. I don't recall that ever happening before. Is this a common occurance? Unfortunately, I had my PDF exports saved but not my print settings or prefs. A real nuisance. But I don't recall

  • How to stop application folder form disappearing from the dock

    I'm on MAC OS 10.6.7 on my Macbook 7.1.  My applications folder disappeared from the dock.  I can drag a new copy from the Mac Hard Disk folder to the dock (to the right of the dashed line (my dock is at the bottom) and it appears with an Address boo

  • Applicant photo

    Hi Iam trying to attach photo to applicant using Tcode OAAD Business object: PAPL Document type : HRICOLFOTO getting error as 'No document type HRICOLFOTO exists with object type PAPL' Thanks Swati

  • Regarding validation of Inputfield

    Dear Experts I want to allow the user to enter only the digits.(Actually this inputfield is for "Year") Please give me the sugeestions. Urgent Thanks Hazrath.G