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
Similar Messages
-
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> -
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"... -
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 -
How do emulate multiple calls to same end point in Composite Test Suite
Can any one help with a problem I face with a composite test suite? I have a composite that has 5 main activities and after each activity it logs a status in a business database. This uses the same end point each time to log a status just passing a different status at each point.
When I create a test in the SOA Suite test suite I can create an Assertion for the first status call to check that the status us being created correctly but the second time the end point gets called the status is different and therefore the overall test fails.
Does anyone know how I can create multiple assertions in a test for the same end point in the same test?Hi battlFrog,
>>I want to change the end point address to this service that is now in the solution, but not sure what the address would be.
What do you mean about the above message? I wonder if you want to let the client to reference to the service which is now in the solution, but not pointing to a service on your test server. If so, first please try to make sure that service
which is now in the solution can work well. After that please try to use the "Add Services Reference" to help you reference the service which is now in the solution. Once it finishes, you can get the correct endpoint address in your client config
file.
Besides, if your service is a self-host application, you can change the service address in the service side by modifying the baseaddress, if your service host in the IIS, you can modify the service address by doing some IIS configuration.
If I have misunderstood you, please feel free to let me know.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
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,
AmorsoloProbably 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 -
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.
-
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 MaddaliHi 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 -
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,
SapnaHi 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 -
Error while installing Mini SAP Basis system 4.6D test suite
Hi Gurus,
I am getting error while installing Mini SAP Basis system 4.6D test suite on my laptop. I trying to install this version under Windows Xp. I tried so many times to rectify this error but no use. i followed the instruction in the readme file.The error is below in quote.
"InstController MakeStepsDeliver:108 connection to GUI of installation tool has been cut off.Installation has been stopped."
your help very much appreciated...
Regards
dinesh.ais win xp supported for mini sap 46d?
-> try netweaver 2004s instead ...
GreetZ, AH -
Is my test suite configured properly?
I am building db-4.6.19 from source on Novell SuSE Linux 9.2 on ia64 (Intel Itanium2) hardware, then running the test suite with tclsh 8.4. Here’s my configuration line:
cd build_unix
../dist/configure prefix=/home/mark/WORKAREAS/webplatform/build/dev/20070924 with-test --with-tcl=/usr/lib
I run make and that goes well, then I run the standard test in tclsh via:
echo 'info tclversion; source ../test/test.tcl; run_std; exit' | tclsh; tail ALL.OUT
Most of the tests pass, but the tail of ALL.OUT is at db-4.6.19/build_unix/ALL.OUT (below) produces many error messages for a few tests. They seem to be variations on the same issue, and I’m not sure how to fix it at this point – can someone point me to help? It appears that a command isn't parsing properly.
I'm not sure how to troubleshoot further, it seems to be a syntax error.
Thanks!
eval test119 -hash "119" ; verify_dir ./TESTDIR "" 1
FAIL:14:29:10 (00:00:00) run_method: -hash test119: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
eval test120 -hash "120" ; verify_dir ./TESTDIR "" 1
FAIL:14:29:10 (00:00:00) run_method: -hash test120: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
eval test121 -hash "121" ; verify_dir ./TESTDIR "" 1
FAIL:14:29:10 (00:00:00) run_method: -hash test121: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
eval test122 -hash "122" ; verify_dir ./TESTDIR "" 1
FAIL:14:29:10 (00:00:00) run_method: -hash test122: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
Regression Tests Failed
Test suite run completed at: 14:29 09/24/07Thanks, I have built in a new directory and ammended my configuration line to:
../dist/configure prefix=/home/mark/WORKAREAS/webplatform/build/dev/20070926 with-test enable-tcl with-tcl=/usr/lib
Results in:
checking build system type... ia64-unknown-linux-gnu
checking host system type... ia64-unknown-linux-gnu
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-mutexsupport option specified... no
checking if --disable-queue option specified... no
checking if --disable-replication option specified... no
checking if --disable-statistics option specified... no
checking if --disable-verify option specified... no
checking if --enable-compat185 option specified... no
checking if --enable-cxx option specified... no
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-mingw option specified... no
checking if --enable-fine_grained_lock_manager option specified... no
checking if --enable-o_direct option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-pthread_api option specified... no
checking if --enable-rpc option specified... no
checking if --enable-smallbuild option specified... no
checking if --enable-tcl option specified... yes
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-tcl=DIR option specified... /usr/lib
checking if --with-uniquename=NAME option specified... no
checking for chmod... chmod
checking for cp... cp
checking for ln... ln
checking for mkdir... mkdir
checking for rm... rm
checking for sh... /bin/sh
checking for a BSD-compatible install... /usr/bin/install -c
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether we are using gcc version 2.96... no
checking whether g++ requires -fhandle-exceptions... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by cc... /usr/ia64-suse-linux/bin/ld
checking if the linker (/usr/ia64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/ia64-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 131072
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/ia64-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking SOSUFFIX from libtool... .so
checking MODSUFFIX from libtool... .so
checking JMODSUFFIX from libtool... .so
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for struct stat.st_blksize... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking for char... yes
checking size of char... 1
checking for unsigned char... yes
checking size of unsigned char... 1
checking for short... yes
checking size of short... 2
checking for unsigned short... yes
checking size of unsigned short... 2
checking for int... yes
checking size of int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for long... yes
checking size of long... 8
checking for unsigned long... yes
checking size of unsigned long... 8
checking for long long... yes
checking size of long long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for char *... yes
checking size of char *... 8
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for int16_t... yes
checking for u_int32_t... yes
checking for int32_t... yes
checking for u_int64_t... yes
checking for int64_t... yes
checking for FILE... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for time_t... yes
checking for size_t... (cached) yes
checking size of size_t... 8
checking for ssize_t... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for socklen_t... yes
checking for ANSI C exit success/failure values... yes
checking for mutexes... POSIX/pthreads/library
checking for main in -lpthread... yes
checking for library containing sched_yield... none required
checking for library containing fdatasync... none required
checking for library containing getaddrinfo... none required
checking for library containing hstrerror... none required
checking for main in -lm... yes
checking for main in -lnsl... yes
checking for main in -lpthread... (cached) yes
checking for main in -lsocket... no
checking for abort... yes
checking for atoi... yes
checking for atol... yes
checking for getcwd... yes
checking for getenv... yes
checking for getopt... yes
checking for isalpha... yes
checking for isdigit... yes
checking for isprint... yes
checking for isspace... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for printf... yes
checking for qsort... yes
checking for raise... yes
checking for rand... yes
checking for strcasecmp... yes
checking for strcat... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncat... yes
checking for strncmp... yes
checking for strrchr... yes
checking for strsep... yes
checking for strtol... yes
checking for strtoul... yes
checking for _fstati64... no
checking for directio... no
checking for fchmod... yes
checking for fclose... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for fgetc... yes
checking for fgets... yes
checking for fopen... yes
checking for fwrite... yes
checking for getaddrinfo... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for getuid... yes
checking for hstrerror... yes
checking for localtime... yes
checking for mprotect... yes
checking for pstat_getdynamic... no
checking for pthread_yield... yes
checking for sched_yield... yes
checking for select... yes
checking for sigaction... yes
checking for snprintf... yes
checking for stat... yes
checking for strftime... yes
checking for sysconf... yes
checking for time... yes
checking for vsnprintf... yes
checking for yield... no
checking for ftruncate... yes
checking for clock_gettime... no
checking for ctime_r... yes
checking for 2 or 3 argument version of ctime_r... 2-argument
checking for pread... yes
checking for pwrite... yes
checking for fcntl/F_SETFD... yes
checking for special C compiler options needed for large files... no
checking for FILEOFFSET_BITS value needed for large files... no
checking for mlock... yes
checking for munlock... yes
checking for mmap... yes
checking for munmap... yes
checking for shmget... yes
checking for existence of /usr/lib/tclConfig.sh... loading
checking for 64-bit integral type support for sequences... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating db_cxx.h
config.status: creating db_int.h
config.status: creating clib_port.h
config.status: creating include.tcl
config.status: creating db.h
config.status: creating db_config.h
So I believe configuration is fine. Make also completes fine.
~/WORKAREAS/webplatform/build/dev/20070926/db-4.6.19/build_unix> tclsh
% source ../test/test.tcl
% run_std
Test suite run started at: 09:51 09/26/07
Berkeley DB 4.6.19: (August 10, 2007)
Running environment tests
Running archive tests
Running backup tests
Running file operations tests
Running locking tests
Running logging tests
Running memory pool tests
Running transaction tests
Running deadlock detection tests
Running subdatabase tests
Running byte-order tests
Running recno backing file tests
Running DBM interface tests
Running NDBM interface tests
Running Hsearch interface tests
Running secondary index tests
Running replication tests
Running security tests
Running recovery tests
FAIL:09:51:09 (00:00:00) r: recd: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
Running join test
Running btree tests
Running rbtree tests
Running queue tests
Running queueext tests
Running recno tests
Running frecno tests
Running rrecno tests
Running hash tests
UNEXPECTED OUTPUT: Berkeley DB 4.6.19: (August 10, 2007)
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: env: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: archive: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: backup: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: fop: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: lock: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
...and so on to the end. This seems to be the same issue I'd originally reported in this thread. Is there anything else I can do to troubleshoot this? I'm not a tcl expert, unfortunately.
Thanks again for your help or pointers!
--Mark
Maybe you are looking for
-
Problem with Jabber and file transfers WAN - LAN-Users - a solution!
Hi, I read a lot of messages about problems with file transfers between iChat-Users, if one (or both) are behind a NAT. I had this problem to and found an easy solution: My situation iChat-Server behind a Netgear ProSafe FireWall. I opened the needed
-
Events not showing up in calendar
I'm using an iPhone 3Gs with iOS 4.0.1 installed. I just found a bug in the calendar, and I'm wondering if anyone else is having this bug. For example: I have created an event for November 1st 2010. When I go to it "day-by-day" from October 31st the
-
Dear friends, I am facing following error while deploying model. can anyone help me how to resolve this error? Error in compiling Flex application: java.lang.InternalError: An error occurred because there is no graphics environment available. Please
-
Comm channel missing in comm channel monitoring
Hi, I have created sender and receiver communication channels of adapter type XI. I am using PI 7.0 version. But I don't see these communication channels in RWB comm channel monitoring. I was going through the help.sap.com and in http://help.sap.com/
-
Transfer photo images to PC for printing
1. Tried saving image as jpeg and as png file (rather than PSD), but got errors when attaching to email as transfer media. 2. Tried to 'flatten the image' using PS editor, but most of the EDit function items are grey (inactive). Does anyone have sugg