tag:blogger.com,1999:blog-1839316484051079047.post147475878478848876..comments2024-03-28T06:38:40.958+01:00Comments on Java / Oracle SOA blog: Unit Test your composite application with Test Suite in Soa Suite 11gEdwin Biemondhttp://www.blogger.com/profile/02338716126881111629noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-1839316484051079047.post-35020974888771153952016-09-14T17:33:05.376+02:002016-09-14T17:33:05.376+02:00Thank you Edwin for this. Now its like a piece of ...Thank you Edwin for this. Now its like a piece of cake to me. :)Sanddyhttps://www.blogger.com/profile/09473379696296227087noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-23853932892158944902015-10-19T08:42:34.216+02:002015-10-19T08:42:34.216+02:00Hi Edwin,
does the soa unit test actually invoke ...Hi Edwin,<br /><br />does the soa unit test actually invoke the endpoint? Or we will just emulate the output of the endpoint test only the composite?Anonymoushttps://www.blogger.com/profile/01421790185751700980noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-8410544248686806072014-08-21T06:49:20.123+02:002014-08-21T06:49:20.123+02:00Hi Edwin,
all goes well except when I try to emul...Hi Edwin,<br /><br />all goes well except when I try to emulate a Fault. Whether entered manually, automatically generated with "Generate Sample" or loaded from a file, whatever the fault type is (binding, remote or specific to partnerlink), I encounter the same issue: the fault received on the invocation of the service on which the emulation is done is of type "owsmPolicyFault&Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-43369367540026964662014-07-28T19:46:15.020+02:002014-07-28T19:46:15.020+02:00Don't think so, but it is just some xml and do...Don't think so, but it is just some xml and don't think your composite will be that big with 50 test casesEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-30723476550848014072014-07-28T19:43:02.204+02:002014-07-28T19:43:02.204+02:00No, you can only provide the payload. it is an int...No, you can only provide the payload. it is an internal test and not like soapUIEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-65352465249583290442014-07-14T23:06:39.856+02:002014-07-14T23:06:39.856+02:00Can we create all the tests in a separate composit...Can we create all the tests in a separate composite and refer to main composite. Let say we have 40-50 test cases, this might increase the size of the deployment Archive and may cause deployment issuesAnonymoushttps://www.blogger.com/profile/13155673755832670889noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-91862432176466612042014-07-14T23:06:10.484+02:002014-07-14T23:06:10.484+02:00Can we create all the tests in a separate composit...Can we create all the tests in a separate composite and refer to main composite. Let say we have 40-50 test cases, this might increase the size of the deployment Archive and may cause deployment issuesAnonymoushttps://www.blogger.com/profile/13155673755832670889noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-15184964646021165172014-07-14T23:05:02.086+02:002014-07-14T23:05:02.086+02:00Can we create all the tests in a separate composit...Can we create all the tests in a separate composite and refer to main composite. Let say we have 40-50 test cases, this might increase the size of the deployment Archive and may cause deployment issuesAnonymoushttps://www.blogger.com/profile/13155673755832670889noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-35269118869701340602014-06-24T20:04:13.658+02:002014-06-24T20:04:13.658+02:00Hi thanks for beautiful post. I learned a lot. Is ...Hi thanks for beautiful post. I learned a lot. Is there anyway to include soap header in unit test?Sandeepnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-26380347833457482532014-01-28T03:57:17.160+01:002014-01-28T03:57:17.160+01:00Hi,
you can make an EJB service and use the ejb a...Hi,<br /><br />you can make an EJB service and use the ejb adapter or make a web services which use jdbc , oci or odbc.<br /><br />or use embedded java in BPEL and use JDBC ( be very careful with solution ) better use JPA/EJB with a Contract First Java WS<br /><br />thanks<br /><br />Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-49452561885533092802014-01-28T03:54:12.770+01:002014-01-28T03:54:12.770+01:00Hi,
Don't think so, you can only use similar ...Hi,<br /><br />Don't think so, you can only use similar or exact compare. Maybe you can use soapui and check the response with groovy.<br /><br />Thanks<br /> Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-33354736066071523972014-01-23T15:16:04.646+01:002014-01-23T15:16:04.646+01:00Hi Edwin,
How Can I Retrieve data from Database ...Hi Edwin,<br /><br />How Can I Retrieve data from Database without using DB Adapter in BPEL.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-62811189429326852542014-01-15T10:56:09.466+01:002014-01-15T10:56:09.466+01:00Hi Edwin,
Thanks for the article, it really got m...Hi Edwin,<br /><br />Thanks for the article, it really got me started on writing unit tests. I have a questions concerning assertions on the output of a service. Is it possible to test if a field is NOT present in the output? I want to test if a service returns a functional error. The field cannot be empty, it should not exist at all. I thought there might be a way to count and make sure the Roemernoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-60155042801585914062014-01-09T16:42:31.929+01:002014-01-09T16:42:31.929+01:00Hi,
I think you can only have 1 output per operat...Hi,<br /><br />I think you can only have 1 output per operation. There is no support for expression. Maybe you should update the endpoint is a deployment plan and use soapUI mock service with groovy<br /><br />thanks Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-7456589574757695792013-12-02T15:07:05.042+01:002013-12-02T15:07:05.042+01:00Hi Edwin,
When an invoke is done within a while l...Hi Edwin,<br /><br />When an invoke is done within a while loop. Is it possible to have the wire action emulate a different message on different iterations? So the first iteration gets message A and the second iteration gets message 2.<br /><br />Thanks,<br />Stephan<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-18851742989062769132013-10-04T11:40:40.239+02:002013-10-04T11:40:40.239+02:00Hi,
indeed it should work cause you can start ANT...Hi,<br /><br />indeed it should work cause you can start ANT and capture the junit xml results. <br />it works like Hudson.<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-92095092818933945072013-09-11T00:52:32.662+02:002013-09-11T00:52:32.662+02:00Hi Edwin,
Would it possible to run test suite in ...Hi Edwin,<br /> Would it possible to run test suite in jenkins ?<br /><br />thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-70595796800727474852013-05-01T22:05:02.660+02:002013-05-01T22:05:02.660+02:00Hi,
I am not a BPM expert but it is not just a se...Hi,<br /><br />I am not a BPM expert but it is not just a service component in the soa suite sca composite. It should work the same as soa suite. only can be hard when it is started by a human workflow.<br /><br />thanks<br /><br />Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-30294651907153774702013-04-23T02:29:09.750+02:002013-04-23T02:29:09.750+02:00Hi Edwin,
Thanks for the great article.
Could you ...Hi Edwin,<br />Thanks for the great article.<br />Could you please suggest how we can test BPMN process using SCA test framework?<br />Thanks,<br />BiltuAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-85563750619888209622012-07-20T03:01:59.766+02:002012-07-20T03:01:59.766+02:00Hi,
I think similar maybe allows whitespace diffe...Hi,<br /><br />I think similar maybe allows whitespace differences other namespace names or maybe empty elements. <br /><br />thankEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-42489919358759743472012-07-10T09:20:27.190+02:002012-07-10T09:20:27.190+02:00very helpful i just have one question what's t...very helpful i just have one question what's the diff b/w XML Similar and XML Identical option and how if i just want to check xml formate returned not actual values??Anonymoushttps://www.blogger.com/profile/10430271385711994635noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-15115891213042936162012-06-21T21:10:28.411+02:002012-06-21T21:10:28.411+02:00Hi,
Sorry, The test suite wizard generates a repr...Hi,<br /><br />Sorry, The test suite wizard generates a representation of the composite, no copy and this is done only visually.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-83960450828147010742012-06-21T18:17:11.032+02:002012-06-21T18:17:11.032+02:00I'm a bit concerned with the statement "T...I'm a bit concerned with the statement "The Test Suite creates a copy of the Composite xml." This means we aren't really testing our composite but a copy of it? How does one manage such a situation? Is the copy versioned? Do you have to always make changes in both places? Does a client see 2 endpoints when your composite is fronted with a web service, etc...<br /><br />Thanks Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-30437146922095654422011-10-24T09:42:21.163+02:002011-10-24T09:42:21.163+02:00Hello Edwin,
Thanks for your article.
It confirmed...Hello Edwin,<br />Thanks for your article.<br />It confirmed the implementation of unit tests and first integration tests we did so far.<br />However, there is one thing which is not described: how to test the OnAlarm path of a pick activity.<br />I couldn't find how to do such a test. Can you help with that?<br />Thanks!Jeromenoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-31523059460702325342010-05-12T19:17:10.161+02:002010-05-12T19:17:10.161+02:00Hi,
when you can call dbunit from ANT then everyt...Hi,<br /><br />when you can call dbunit from ANT then everything is possible <br /><br />like in hudson http://biemond.blogspot.com/2009/10/continious-build-with-soa-suite-11g-and.html<br /><br />or with ant http://biemond.blogspot.com/2009/09/deploy-soa-suite-11g-composite.html<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.com