How to automate SOA Composite Unit Tests?
Is there documentation on how to execute SOA Composite Unit Tests programmatically rather than through the EM UI?
This is necessary for the Composite Unit Tests feature to be relevant to continuous build and integration methodology.
Thanks,
Todd
The Fusion Order Demo sample has some automation for deploying and creating resources (see the readme). The book that is the Tutorial for building this sample does not talk about the automation, however. I'll see what other material we have.
Heidi.
Similar Messages
-
Revision: 13916
Revision: 13916
Author: [email protected]
Date: 2010-02-01 16:42:09 -0800 (Mon, 01 Feb 2010)
Log Message:
Added DynamicDRMTrait, Composite Unit tests for parallel and serial compositions. Bug fixes in CompositeDRMTrait.
Modified Paths:
osmf/trunk/framework/OSMF/org/osmf/composition/CompositeDRMTrait.as
osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
osmf/trunk/framework/OSMFTest/org/osmf/utils/DynamicMediaElement.as
Added Paths:
osmf/trunk/framework/OSMFTest/org/osmf/composition/TestParallelElementDRMTrait.as
osmf/trunk/framework/OSMFTest/org/osmf/composition/TestSerialElementDRMTrait.as
osmf/trunk/framework/OSMFTest/org/osmf/utils/DynamicDRMTrait.as -
How to debug in dedicated unit test client
Hello,
We have a setup where we do all development in client 100, but have a separate client for unit tests. Since this is the client holding relevant test data, we would like to debug in this client.
How can I achieve this in Eclipse, do I need to create two projects (one for each client) and open the object twice, or is it possible to setup using debug configurations or something similar?
RegardsHi Matthias,
in Java you need OS privileges to debug Java code running on any Java application server (and additionally set up the Java VM in debug mode and stuff like that). And once you have OS privileges, you can of course debug all Java VM processes/threads on the machine, regardless which application context they are currently running for.
In ABAP you do NOT need any kind of OS privileges in order to debug. All you need is a user in the system/client with debug privileges, which is big advantage in terms of privilege separation. ABAP debugging on customer systems for example, which is a quite normal thing, would be much harder to realize, if we require any kind of OS privileges.
To cut a long story short:
As a user is required with debugging privileges in any ABAP system/client for ABAP debugging, it is not possible to realize a remote debugging in ABAPinEclipse just by specifying SID/client of the remote ABAP system.
So you need to logon to the ABAP system/client (and set breakpoints there) in order to debug. And as the system/client logon to the ABAP backend in ABAPinEclipse is conceptually linked to a project, you need to have an open project for those ABAP system/clients you want to debug in.
Regards,
Christoph Stoeck, ABAP Language -
How do you debug your unit tests?
Hey folks,
I'm obviously doing something wrong that I can't figure out. I've tried following Chris Hanson's instructions that he put on LJ. No matter what I do, I can't get the debugger to breakpoint in a unit test, no matter whether I put the breakpoint in the test code or the worker code. I can get it to breakpoint just fine in the worker code when I run the real app.
How do you do this on your unit test code?
Thanks,
PatTried that. No joy so far. That's why I asked here; I hoped that someone here had done it successfully.
Pat -
How to make a Abap Unit Test Suit with many test classes
Hi,
Problem space
we have different packages(embedded) in our project and each package corresponds to a differnt functional layer in the design.
We want to create abab unit test classes for these different layers.
say embedded package 1 has 10 unit test classses
embedded package 1 has 20 unit test classses
How to grup these classes together so that we can start them frm a test suite.
Code examples and blogs links will be appreciated.
regards
anubhavThis sounds a bit like Project Administration 101 to me.
I'm not exactly sure what you are actually trying to do here --but generally if you want to functionally test something you need to start with a business process -
You need to create scripts which tell the user the data to be entered, the transaction to be used and the outcome.
With SAP you might need to show screen shots of each stage as well.
You follow this for each complete business process until you've covered the whole business cycle.
You complete this say individually for Logistics, Purchasing and Finance and then compare what SAP gives you with what you expected to get.
For some type of testing CATTS can help but without the business processes any testing is essentially meaningless.
It is totally pointless trying to design a "generic" test plan until you've got the functional consultants to describe the business processes involved.
Cheers
jimbo -
How to delete SOA composite from OIM 11g
Hello,
I modified an exisiting SOA composite and deployed it as a new version. Now I have 2 versions of the same composite available in OIM. I then went and undeployed the original (version 1) from the EM interface. I also deleted it from the deployed-composites and WLuser folder.
Even after restarting the OIM/SOA servers, I can see the old version available in OIM. (Even though it's not deployed in SOA)
How do I get rid of it completely? In Ch 21 of the OIM documentation, there are instruction to disable a composite. Is that the only option?
Thanks!Probably. Does disabling=deleting in OIM?
I was expecting it not to show up if the composite is not deployed on my SOA server...but it still is available. So looks like there is no real-time check (or check at any time, even at restart) of deployed composites between OIM and SOA. I could potentially have many undeployed composites still show up in OIM, assign them to templates etc. even if they don't exist anymore in SOA. -
How to automatically build freight unit?
Hi guys,
I'm learning SAP TM, playing around feight unit.
But I'm not clear about the whole picture here.
In fwo type customizing, I can check the "Automatic Freight Unit Building" flag and assign a default FUBR.
But how the system is going to automatically build the freight unit of a FWO?
And in FUBR creation, I'll specify some strategies and quantity stuff. There's not a field where I can specify which FU type to use.
So how is FWO, FUBR and FU type linked together?
I tried to create a fwo, but there's no fu built. what's the preconditions for the system to build FU automatically?Hi Aaron,
When the FWO saving, it would build the freight unit auotmatically.
The filed "Document Type" in FUBR is used to specify the FU type.
So the FWO build the FU base on the FUBR which maintain in the FWO type.
Useful link for FUBR :
http://help.sap.com/saphelp_tm80/helpdata/en/5a/6749c4614f46e2a12160c775ff19de/frameset.htm
Best Regards
Clark Huang -
Hi ,
I am new to oops concept but i am able to understand.
Now i have to create some Unit test plans in ABAP.We are using SAP Netwever 7.1 and WEB AS 6.0
I tried from SE24 but i couldn't get the correct path.
Can you please explain me: if i have a Z program then where and how to write number of Unit test classes. And how it will integrate to with our actual program/FM/any object
Thanks
Umashankar.You can create the ABAP Unit class as a local class in your program, FM, or class which will test the functionality of that individual code lines. Once you implement the ABAP Unit, you can then run the Unit Test by main menu > Execute > Unit Test. E.g. from Program, Program > Execute > Unit Test.
Check this previous discussions:
ABAP Unit, how to use
Unit Testing concept
Regards,
Naimesh Patel -
[svn:osmf:] 14535: Unit tests for the syndication library.
Revision: 14535
Revision: 14535
Author: [email protected]
Date: 2010-03-02 15:42:45 -0800 (Tue, 02 Mar 2010)
Log Message:
Unit tests for the syndication library.
Added Paths:
osmf/trunk/libs/SyndicationTest/
osmf/trunk/libs/SyndicationTest/.actionScriptProperties
osmf/trunk/libs/SyndicationTest/.flexProperties
osmf/trunk/libs/SyndicationTest/.project
osmf/trunk/libs/SyndicationTest/SyndicationTest.mxml
osmf/trunk/libs/SyndicationTest/html-template/
osmf/trunk/libs/SyndicationTest/html-template/AC_OETags.js
osmf/trunk/libs/SyndicationTest/html-template/history/
osmf/trunk/libs/SyndicationTest/html-template/history/history.css
osmf/trunk/libs/SyndicationTest/html-template/history/history.js
osmf/trunk/libs/SyndicationTest/html-template/history/historyFrame.html
osmf/trunk/libs/SyndicationTest/html-template/index.template.html
osmf/trunk/libs/SyndicationTest/html-template/playerProductInstall.swf
osmf/trunk/libs/SyndicationTest/libs/
osmf/trunk/libs/SyndicationTest/libs/FlexUnit.swc
osmf/trunk/libs/SyndicationTest/libs/FlexUnitOptional.swc
osmf/trunk/libs/SyndicationTest/org/
osmf/trunk/libs/SyndicationTest/org/osmf/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/SyndicationTestConstants.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/SyndicationTests.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/loader/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/loader/TestFeedLoader.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/media/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/media/TestSyndicationMediaGenerator. as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/TestAtomParser.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/TestFeedParser.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/TestRSS20Parser.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/extensions/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/extensions/TestITunesExtensi onParser.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/extensions/TestMediaRSSExten sionParser.asHi ventura8,
>> I have added a Unit Test Library (windows) project to the solution and the tests are discovered in the test explorer and the unit tests work just fine. But i can't test the dll for Windows Phone.
>> The test are discovered in test explorer but I cannot test async methods.
>> How do I run a unit test for WP for a universal portable lib
What the async methods are. Are they the class methods in the dll?
If so, the link below shows the details of creating testing apps for windows phone.
Reference:
https://msdn.microsoft.com/en-us/library/windows/apps/dn168930(v=vs.105).aspx
>> And if i try the Unit Test App (windows Phone), it does not get discovered by test explorer. I am using VS2013 U4.
I am wondering how you created you unit test project. After you create the unit test, if you build the solution, could you get the test method in test explorer window?
Best Regards,
Edward
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. -
Creating ABAP Unit Tests for Report Programs
How can we create ABAP unit test for report programs.
Please explain the steps?Hi Devendra.
I would like to suggest some references which are as below:
[SAP HELP - Complete ABAP unit|http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm]
[SDN - Reference for ABAP unit testing|about unit testing;
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
Edited by: Harsh Dave on Jul 14, 2008 2:13 PM
Edited by: Harsh Dave on Jul 14, 2008 2:20 PM -
how to do monitoring and unit testing the interface from Runtime work bench.
Hi,
RWB is a tool in SAP XI/PI which helps you to monitor the messages.
please find the below linnk
http://help.sap.com/saphelp_nw04/helpdata/en/88/21bc3ff6beeb0ce10000000a114084/content.htm
please search on SDN or http://help.sap.com
Whereas RWB runs on Java stack of XI. In RWB you can monitor message on Integration server and Adapter Engine as well
RWB we have component monitoring and message monitoring
i) component monitoring you can monitor the status of ur communication channel
ii) message monitoring you can monitor ur message in the XI.
Regards
srinivas -
How do you use a SOA Composite after you have deployed it and tested it?
I have created a SOA Composite application, deployed it with no problems, and tested and it works. However I am having trouble finding info on what to do next. I really would like to know how to use this SOA Composite application in a web application. I am trying to create an interface that would use the SOA composite. Any links to help would be greatly appreciated.
This is the only help I have found so far, http://docs.oracle.com/cd/E28271_01/fusionapps.1111/e15524/uc_bpel_bc.htmHi,
It's a web service call, you go to EM get the WSDL and with it you generate the webservice client for your web application... By calling the web service you will be starting the composite...
Cheers,
Vlad -
How can I unit test my Swing application?
Hi All,
In my application I came across a situation where I have to automate the unit testing of my application.
Using my application user can able to draw polylines and rectangles on a BufferedImage added to a JFrame.
Can any one please help/suggest me, how to automate the drawing process (this process consists of drawing the polylines with mouse and few action/mouse events)?
your help will be highly helpful to me.
SatyaWhat exactly will that unit test prove? That you can mock the drawing of lines?
Unit test are supposed to test certain parts of your application code - I'd concentrate on unit tests that are actually useful and for example in the future can help to catch regressions.
If anywhere you can get help creating unit tests of this magnitude, I'd look in the unit testing support for Swing applications. Google for "java swing unit test" to see what you can come up with. Probably you'll need to create some plumbing yourself to make custom painting unit-testable; perhaps you could do something with painting to a BufferedImage in stead of to a Swing component for example. -
How does B2B Adapter for Inbound operation for SOA Composite works
Hai,
I am new to B2B. can any one share samples or links or doc's on B2B Adapter for inbound operation (receive)?
Can any one share B2B inbound channel configuration ?1. How does the above can be achieved using JMS protocol?Where would you like to pitch-in JMS? You want to receive inbound message at B2B over JMS or between SOA and B2B, you want to use JMS?
For receiving inbound message at B2B over JMS, please create a non-internal listening channel at B2B. Make sure to set JMS headers -
http://docs.oracle.com/cd/E23943_01/user.1111/e10229/app_interface.htm#CACDFEAE
For using JMS between, SOA and B2B, create a JMS channel in Host TP profile and add it in the inbound agreement (for inbound scenario). For outbound scenario, create an internal listening channel and make sure that from back-end, headers mentioned on above link, are being set.
2. Will SOA Composite having B2B Adapter receive operation has first operation can get triggered automatically or not as soon as EDI----->XML message is found?Yes, it can be triggered. Provided the steps in your another thread.
3. will B2B Adapter receive operation in SOA Composite will take EDI--------> xml msg as opaque?No, if while modelling B2B adapter, you selected a doc-def otherwise yes.
Regards,
Anuj -
How to genearte Unit Test reports through ANT/Command line ?
Hi,
I am using sql developer unit test feature to test my database code. I am planning to execute and generate reports by running ant script.
Is it possible to get the unit test results in any format (text,XML,HTML) after running the tests.
How to integrate report generation tasks as part of Automated builds?
Is there any command line utility do through can invoke through ant task?
Thanks,
FernandoFernando,
I, too, am looking to run our PL/SQL unit test suites through our automated ant build scripts. Currently, I've only been able to determine that there is a "UtUtil.bat" and "UtUtil.sh" command line utility for win and linux in /sqldeveloper/sqldeveloper/bin. However, it only take three switches:
UtUtil -run ?
UtUtil -imp ?
and
UtUtil -exp ?
While this does provide some limited value to us through automating the importing of our exported test suites and then running them as part of our builds, it doesn't help in running reports on the test runs and exporting the reports to something our build processes can consume (i.e. xml).
Also, we want to be able to run our full db build on (almost) any of our development machines and we don't want to have to have a unit test repository already preconfigured on each development db. I haven't found a utility to automate the creation of the unit test repository user and the repository, and then whena all the test suite runs have finished and the reports run, delete the repository and repository user.
We have used Quest's Code Tester product in the past and it had all of these great features that I am really hoping Oracle can either implement or expose to us.
Regards and best of luck,
Mike Sanchez
Maybe you are looking for
-
Error when trying to create a Dynamic UI Element(DropDownByKey)
Dear All, I am trying to create a Dynamic UI element(dropdownbykey) . I used the following code which i wrote in domodify: if (firstTime) IWDTransparentContainer thetransparent =(IWDTransparentContainer)view.getElement("AttributeDynamic_TransparentCo
-
Error in Update rules while defining CKF at cube level
Hi, I am willing to create a Calculated Key figure at CUBE level using formula function <b>Unit Cube: Item Cube / Units</b> <b>Definitation</b> Item Cube - Total Cube for line Units - Actual destination quantity in alternative unit <b>Units</b> The
-
SWF won't load on server but loads in preview
I have an FLV video I imported in flash then put text on it. I embedded it in Dreamweaver using Insert > Media > SWF however, it only plays when I preview it and not when it's uploaded on the server. It's really frustrating me and have looked everywh
-
I have a full crash when I want to see "Moderatorennotizen einblenden". I have to switch off my powerbook and start again.
-
HT4972 What happens with games when updating from 5.1.1 to 6 or 7?
Do you loose history on games when updating to latest software?