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
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"... -
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 -
Issue with Oracle Application testing Suite
Hi Experts,
I am new to Oracle Application testing suite.I am trying to record a flow from oracle Store inventory management application.
But when there is a pop up for entering login and pasword the flow fails with "invalid user id and password".
But when the same is tried manually I am able to login without any issue.
What could be issue ? is there any setting issue ?
Can someone help me with this issue ?
Regards
prashI'm new to Oracle Testing Suite so im unsure of exactly how to get the desired results. If an ORA error message is displayed on the screen i want to make the page fail. So is there a way of making the test fail if certain text is present on the screen?
Secondly i want to create a script that recognises a change has happened to the application (such as a link takes the user to a different page than expected when the script was created) and fail.
Do you have any idea on how to achieve this
Thanks
Kevin -
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.
-
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 -
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 -
[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.
-POPSI 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' ". -
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 -
I need to test my web-packaged AW 7 piece to ensure that it
will link to an LMS that requires compliance to the AICC standards.
The AICC Test Suite requires that the intranet server software be
Apache (Version 1.3.x) http server. My desktop runs Win XP.
The Apache Group's web site says that Apache 1.3.x was
designed for Unix operating systems. It was modified to run on
Windows but Apache Group recommends Apache 2.x for non-Unix
operating systems. The most recent Windows version of Apache 1.3.x
is version 1.3.27 which was issued in October 2002.
Can I run Apache 2.x (designed for windows) with the test
suite or should I go with Apache 1.3.27 (designed for Unix and
modified for windows)?
Thanks.
JimI run Apache 1.3.31 (issued May 2004) on Windows with no
problems. Looks
like the latest 1.3.x version for win32 is 1.3.37 released
July 2006. You
might want to try that version so your testing environment
meets the AICC
standards. You can get all of the win32 versions here:
http://archive.apache.org/dist/httpd/binaries/win32/
Paul Swanson
Portland, Oregon, USA
"James_101" <[email protected]> wrote in
message
news:eeud3m$dtl$[email protected]..
> I need to test my web-packaged AW 7 piece to ensure that
it will link to
an LMS
> that requires compliance to the AICC standards. The AICC
Test Suite
requires
> that the intranet server software be Apache (Version
1.3.x) http server.
My
> desktop runs Win XP.
>
> The Apache Group's web site says that Apache 1.3.x was
designed for Unix
> operating systems. It was modified to run on Windows but
Apache Group
> recommends Apache 2.x for non-Unix operating systems.
The most recent
Windows
> version of Apache 1.3.x is version 1.3.27 which was
issued in October
2002.
>
> Can I run Apache 2.x (designed for windows) with the
test suite or should
I go
> with Apache 1.3.27 (designed for Unix and modified for
windows)?
>
> Thanks.
>
> Jim
> -
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,
VaraPrasadI 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' ". -
ADL Conformance Test Suite errors
I am running the ADL Conformance Test Suite on a Captivate course I created and I keep getting an error:
ERROR: Time out exceeded
ERROR: LMSInitialize() never invoked
ERROR: Sharable Content Object is Non-Conformant
Has anybody found a solution for this? I know this problem has been around for years but I wasn't able to find a solutionHi Rod,
Unfortunatley the client wants me to run the content through this test and it needs to pass before they will upload to their server.
I figured it out for anybody else who has this issue ... first of all make sure you have the right version of Java installed 1.4.2_02, make sure you run the test in Internet Explorer (it doesn't work in Firefox for some reason) and make sure you remove the following lines from your html page:
<!-- Copyright [2008] Adobe Systems Incorporated. All rights reserved -->
<!-- saved from url=(0013)about:internet -->
Also make sure that your Flash Player Global Security Settings ( http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l ) are set up to trust the folder where the ADL test is run i.e. C:\ADL\TestSuite1_2_7
Maybe you are looking for
-
How do i use garageband with external keyboard?
i have a clavinova cvp-105 and am trying to hook it up with garageband to record muisc. I have a midi in and out to usb connected to my mac mini and garageband sees the midi divice, but wont record or even show the imput, even though it sees it. how
-
Opening a Snow Leopard iPhoto album on a Mountain Lion Mac
I had to have my computer wiped so I backed up my iPhoto by moving the application to an external hard drive. However, when I got my computer back I had Mountain Lion installed and now the iPhoto on the external hard drive wont open.
-
Hello Friends, Can anyone explain in detail, the entire process of the Inbound and Outbound IDOC flow in IS Retail. Atleast some pointers to understand the process of IDOC flow in IS Retail. This is required urgently. So am really looking forward for
-
Some my files are missing.How can i back my files?
some my files are missing.How can i back my files?
-
Pen pressure sensitivity stops when I have more than one window open
I recently upgraded to Flash CC and have noticed some new bugs. Here's one of them: When I have more than one document open at a time, my pen pressure sensitivity stops working. In fact, it seems to work on the newest opened document, but will stop w