www rittmanmead com 2012 08 advanced presentation services s
TRANSCRIPT
-
8/10/2019 Www Rittmanmead Com 2012 08 Advanced Presentation Services s
1/9
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
Home About Careers Clients Consulting Training Support Arti cles Blog
Advanced Presentation Services settings for OBIEE tes ting &development
August 7th, 2012 by Robin Moffatt
As John Minkjan pointed out a while ago, the XSD (XML Schema) for the OBIEE configuration files can yield som e interestingthings. Ive been looking at obips _config_base.xsd and found the following bits of information which I thi nk could help certaintesting and development work with OBIEE.
First off, the standard dis claimer about undocum ented functionality goes here. None of this is docum e nted, therefore I wouldimagine completely unsupported, and I cant think of a valid reas on for it to ever be use d anywhere other than asandbox/developmen t installation.
The options below (except where indicated) come within the TestAutomation elemen t of the Presentatio n Servicesinstanceconfig.xml configuration. TestAutomation is nested within ServerInstance, thus:
Always m a ke a back up copy of i nstanceco nfig.xml befor e making ch anges to it. To activate the chan ges, res tart PresentationServices either from EM or the comm and line:
Keep an eye on sawlog0.log and console~coreapplication_obips1~1.log as any errors in your instanceconfig.xml will preventPresentation Services from s tarting up.
OutputLogicalSQL
Search the blog
Recent Posts Analytics w ith Kibana andElasticsearch through Hadoop part 3 Visualising the data inKibana
Analytics w ith Kibana andElasticsearch through Hadoop part 2 Getting data intoElasticsearch
Analytics w ith Kibana and
Elasticsearch through Hadoop part 1 Introduction
UKOUG Partner of the Year Aw ards
Oracle BI Cloud Service for SaaS Application Reporting Part 1:Integrating BICS toSalesforce.com using REST APIs
Top PostsOBIEE 11g Security Week :Managing Application Roles and
Policies, and Managing SecurityMigrations and Deployments
Upgrading OBIEE to 11.1.1.7
OBIEE 11gR1 : Architecture andUse of WebLogic Server
OBIEE 11g Security Week :Connecting to Ac tive Directory,and Obtaining Group Membershipfrom Database Tables
Analytics w ith Kibana andElasticsearch through Hadoop -part 3 - Visualising the data in
-
8/10/2019 Www Rittmanmead Com 2012 08 Advanced Presentation Services s
2/9
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
This adds a textbox to all reports with the Logical SQL for that report. The Logical SQL is obviously available in other places(Advanced Tab, Logical SQL view type, Usage Tracking, nqquery.log), but if you often need it to hand then this looks like theeasies t option. Its not much good if you need to present the reports to users though, since its a g lobal setting for the wholePresentation Services and the Logical SQL box will be there on e very single report.
Artificially delay report response timesThree uses for this spring to mind, only one of them serious:
1. Friday afternoon and you want to drive your report developers round the b end. Suddenly, all reports take a long tim e torun!
2. Enable this setting on Production, and then do lots of beard-stroking and brow-furrowing and impress your boss withyour Performance Tuning prowes s by quietly disabling it. Hey presto, performance im proved!
3. Perhaps m ore usefully, you can also sim ulate a delay in report respons e times to validate your performance testmeasurements.
Note that if the query is already in the presentation services cache then the delay wont be honoured, so include the reques tparameter Action=RefreshAll if you are us ing a URL call, or see ForceRefresh below.
You need to make s ure you have both Min and Max elements defined, otherwise it wont work.
Kibana
Random PostsCreate a Mobile BI App for iOS,
Android or BlackBerry w ithin 5Days!
Rittman Mead BI Forum 2014 Abstrac t Scoring Now Live - For 1 Week Only!
My Journey to ODI 12c
MDS XML versus MUDE Part 2:What is MUDE?
Getting The Users' Trust - Part 1
Tags
11g Big Data ApplianceBIP BI Publisher dw em12cEndeca exalyticsextremebi git
goldengatehadoop Hive init.d installlinux MDS XML monitoringnew features nqcmd OBIA
obiee odi odi12copatch Oracle Oracle BI
Applications oracle dataintegrator OracleEndeca Oracle EndecaInformation Discovery ow bperformance Real TimeDecisions replicationReportService RTD runReportsampleapp screen scriptingsecurity startup testingtraining XML
true
< TestAutomation > < RandomQueryDelayMinMilliseconds >15000 < RandomQueryDelayMaxMilliseconds >25000
?
?
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://www.rittmanmead.com/2014/11/analytics-with-kibana-and-elasticsearch-through-hadoop-part-3-visualising-the-data-in-kibana/http://www.rittmanmead.com/2013/09/create-a-mobile-bi-app-for-ios-android-or-blackberry-within-5-days/http://www.rittmanmead.com/2014/02/rittman-mead-bi-forum-2014-abstract-scoring-now-live-for-1-week-only/http://www.rittmanmead.com/2013/10/odi-12c-journey/http://www.rittmanmead.com/2013/06/mds-xml2/http://www.rittmanmead.com/2014/09/getting-the-users-trust-part-1/http://www.rittmanmead.com/tag/11g/http://www.rittmanmead.com/tag/big-data-appliance/http://www.rittmanmead.com/tag/bip/http://www.rittmanmead.com/tag/bi-publisher/http://www.rittmanmead.com/tag/dw/http://www.rittmanmead.com/tag/em12c/http://www.rittmanmead.com/tag/endeca/http://www.rittmanmead.com/tag/exalytics/http://www.rittmanmead.com/tag/extremebi/http://www.rittmanmead.com/tag/git/http://www.rittmanmead.com/tag/goldengate/http://www.rittmanmead.com/tag/hadoop/http://www.rittmanmead.com/tag/hive/http://www.rittmanmead.com/tag/init-d/http://www.rittmanmead.com/tag/install/http://www.rittmanmead.com/tag/linux-2/http://www.rittmanmead.com/tag/mds-xml/http://www.rittmanmead.com/tag/monitoring/http://www.rittmanmead.com/tag/new-features/http://www.rittmanmead.com/tag/nqcmd/http://www.rittmanmead.com/tag/obia/http://www.rittmanmead.com/tag/obiee/http://www.rittmanmead.com/tag/odi/http://www.rittmanmead.com/tag/odi12c/http://www.rittmanmead.com/tag/opatch/http://www.rittmanmead.com/tag/oracle/http://www.rittmanmead.com/tag/oracle-bi-applications/http://www.rittmanmead.com/tag/oracle-data-integrator-2/http://www.rittmanmead.com/tag/oracle-endeca/http://www.rittmanmead.com/tag/oracle-endeca-information-discovery/http://www.rittmanmead.com/tag/owb/http://www.rittmanmead.com/tag/performance-2/http://www.rittmanmead.com/tag/real-time-decisions-2/http://www.rittmanmead.com/tag/replication/http://www.rittmanmead.com/tag/reportservice/http://www.rittmanmead.com/tag/rtd/http://www.rittmanmead.com/tag/runreport/http://www.rittmanmead.com/tag/sampleapp/http://www.rittmanmead.com/tag/screen/http://www.rittmanmead.com/tag/scripting/http://www.rittmanmead.com/tag/security/http://www.rittmanmead.com/tag/startup/http://www.rittmanmead.com/tag/testing-2/http://www.rittmanmead.com/tag/training/http://www.rittmanmead.com/tag/xml/http://www.rittmanmead.com/wp-content/themes/rittman/#http://www.rittmanmead.com/wp-content/themes/rittman/# -
8/10/2019 Www Rittmanmead Com 2012 08 Advanced Presentation Services s
3/9
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
NewCursorWaitSeconds support for automated load test tools withOBIEEWe can use NewCursorWaitSeconds (which comes under Cursors , not TestAutomation) to delay how long beforeSearching is returned to the us er very handy if the user is a tool (Jmeter, LoadRunner, etc) which would takeSearching as erroneously indicating that the report had completed running and so record an invalid response tim e.
If all your reports are s o fast you never see this (congrats!) you can still sim ulate this, using the abo ve RandomQueryDelaysettings.
When set, a report will appear to do nothing until the data is returned, or the NewCursorWaitSeconds is exceeded. If the datahas not returned by the time NewCursorWaitSeconds is exceeded, then a Searching will be s hown. From a us er
experience (UX) point of view, this is absolutely the last thing we want, as a user m ust always get feedback from their actionsand see that a report is running hence the Searching text. So, use this option to help with performance testing, but alwaysmake s ure it is never present in an environment where real users have access to the system.
Also within Cursors you can use ForceRefresh to always bypass the Presentation Services cache. Combining both of thesegives us:
< WebConfig xmlns ="oracle.bi.presentation.services/config/v1.1" > < ServerInstance > [...] < Cursors > < NewCursorWaitSeconds >60 [...]
< NewCursorWaitSeconds >60 < ForceRefresh >True
?
?
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://www.rittmanmead.com/wp-content/themes/rittman/#http://www.rittmanmead.com/wp-content/themes/rittman/# -
8/10/2019 Www Rittmanmead Com 2012 08 Advanced Presentation Services s
4/9
pdfcro d comopen in bro ser PRO ersion Are you a developer? Try out the HTML to PDF API
InstrumentDashboardPageLoadThis is a really interesting one for understanding the time profile of a pa ge load. When enabled, it adds instrumentation intothe page sourcecode for various actions that take place whilst the page is loadin g. For example:
At the top of each page is a se t of links wh ich open u p the time p rofile.
The links give different options for viewing the data, including downlo ad to CSV.
CSV file for download
obips_profile.logPointInTime( "HTML Head" , "Start" ) ?
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://www.rittmanmead.com/wp-content/themes/rittman/# -
8/10/2019 Www Rittmanmead Com 2012 08 Advanced Presentation Services s
5/9
df di b PRO i Are you a developer? Try out the HTML to PDF API
The volume and density of the data here sugges ts to me that this function is more us eful for examining the is olatedperformance of an individual report or dashboard. It is not som ething that youd us e for volume testing pa rticularly given theinevitable overhead.
Enabling InstrumentDas hboardPageLoad is a bit more involved that the other options, because you also have to configurePresentation Services for the supp orting resource files (javascript and css ) through the URL elemen t. On my installation the
supporting files are located in this path$FMW_HOME/user_projects/domains/bifoundation_domain/servers/bi_server1/tmp/_WL_user/analytics_11.1.1/7dezjl/war/res/b_mozilla/common/test/pageprofileutils.jsThe path might vary if you have a sin gle WLS server (Simple) ins tallation, it will be AdminServer instead of bi_server1, andthe 7dezjl string may differ too. You need to determine the correct path for your installation and specify it inCustomerResourcePhysicalPath .
NB if URL / Cus tomerReso urcePhysicalPath and URL/ Cus tomerRes ourceVirtualPath arent set correctly then theinstrumentation wont work, and youll see the Dis play Log links at the b ottom of the page, ins tead of the top-left overlayingthe Oracle logo. If you examine the s ource code for the page, youll see Missing in the paths:
[] < TestAutomation > < InstrumentDashboardPageLoad >true
< CustomerResourcePhysicalPath >/u01/app/oracle/product/fmw/user_projects/domains/bifoundat < CustomerResourceVirtualPath >/analytics/res/b_mozilla []
?
?
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://www.rittmanmead.com/wp-content/themes/rittman/#http://www.rittmanmead.com/wp-content/themes/rittman/# -
8/10/2019 Www Rittmanmead Com 2012 08 Advanced Presentation Services s
6/9
df di b PRO i Are you a developer? Try out the HTML to PDF API
Other available optionsThere are some interes ting options, such as integration with the Weinre (WEb INspector REmote) development tool whichcould be very useful if developing advanced content for use with the new Oracle BI Mobile HD app. Other options I doubt areof use to those outside the products development team. Here is the list:
Possible errorsIf you us e these options, watch out that they are not documented or supported ! Dont be surpris ed if you get errors like this:
< InstrumentDashboardPageLoad >true
< OutputLogicalSQL >true < OutputReportXML >true < OutputChartXML >true < OutputXSLFO >true < OutputErrors >true
< DisablePromptsForUnsavedObjects >true
< MaxStylesheets >30
< SeleniumTest >false < QTPTestMode >false
< WebInspectorRemote > < Enabled >true < URL>http://weinre.server
?
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://people.apache.org/~pmuellr/weinre/docs/latest/?__hstc=150481449.d435fb5a17bfc5a18bd24a50ff418750.1415436955128.1415436955128.1415436955128.1&__hssc=150481449.1.1415436955129&__hsfp=1770896186http://people.apache.org/?__hstc=150481449.d435fb5a17bfc5a18bd24a50ff418750.1415436955128.1415436955128.1415436955128.1&__hssc=150481449.1.1415436955129&__hsfp=1770896186http://weinre.server/?__hstc=150481449.d435fb5a17bfc5a18bd24a50ff418750.1415436955128.1415436955128.1415436955128.1&__hssc=150481449.1.1415436955129&__hsfp=1770896186http://www.rittmanmead.com/wp-content/themes/rittman/# -
8/10/2019 Www Rittmanmead Com 2012 08 Advanced Presentation Services s
7/9
df di b PRO i Are o a de eloper? Tr o t the HTML to PDF API
Tweet 10 1Like
Related Posts:Built-In OBIEE Load Tes ting with nqcmd
Introducing obi-metrics-agent an Open-Source OBIEE Metrics Collector
OBIEE Regression Testing An Introduction
Tags: instanceconfig.xml , performance , sawserver , testautomation , testing , unsupported
Tags: instanceconfig.xml , performance , sawserver , testautomation , testing , unsupportedPosted in Oracle BI Suite EE , Performance , Testing | 3 Comments
Comments
GERARD Says:
August 12th, 2012 at 2:26 pm
Great article and new ins ights on the configuration of OBIPS (presentation services).
The link to the Johns webs ite is an in ternal link and not an external, then it doesnt work and return a 404 page.
CheersNico
Robin Moffatt Says:August 13th, 2012 at 7:28 am
Thanks for letting me know, Ive fixed the link.
Christian Says:August 13th, 2012 at 8:13 pm
Excellent work Robin. Youve highlighted som e very interesting forens ic features here.
Share 7
http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttps://twitter.com/intent/tweet?original_referer=http%3A%2F%2Fwww.rittmanmead.com%2F2012%2F08%2Fadvanced-presentation-services-settings-for-obiee-testing-development%2F&text=Advanced%20Presentation%20Services%20settings%20for%20OBIEE%20testing%20%26%20development&tw_p=tweetbutton&url=http%3A%2F%2Fwww.rittmanmead.com%2F2012%2F08%2Fadvanced-presentation-services-settings-for-obiee-testing-development%2F&via=rittmanmeadhttp://twitter.com/search?q=http%3A%2F%2Fwww.rittmanmead.com%2F2012%2F08%2Fadvanced-presentation-services-settings-for-obiee-testing-development%2Fhttp://www.rittmanmead.com/2014/03/built-in-obiee-load-testing-with-nqcmd/http://www.rittmanmead.com/2014/03/introducing-obi-metrics-agent-an-open-source-obiee-metrics-collector/http://www.rittmanmead.com/2014/01/obiee-regression-testing-an-introduction/http://www.rittmanmead.com/tag/instanceconfig-xml/http://www.rittmanmead.com/tag/performance-2/http://www.rittmanmead.com/tag/sawserver/http://www.rittmanmead.com/tag/testautomation/http://www.rittmanmead.com/tag/testing-2/http://www.rittmanmead.com/tag/unsupported/http://www.rittmanmead.com/tag/instanceconfig-xml/http://www.rittmanmead.com/tag/performance-2/http://www.rittmanmead.com/tag/sawserver/http://www.rittmanmead.com/tag/testautomation/http://www.rittmanmead.com/tag/testing-2/http://www.rittmanmead.com/tag/unsupported/http://www.rittmanmead.com/category/oracle-bi-suite-ee/http://www.rittmanmead.com/category/performance/http://www.rittmanmead.com/category/testing/http://gerardnico.com/?__hstc=150481449.d435fb5a17bfc5a18bd24a50ff418750.1415436955128.1415436955128.1415436955128.1&__hssc=150481449.1.1415436955129&__hsfp=1770896186http://www.rittmanmead.com/wp-content/themes/rittman/#comment-18397http://www.rittmanmead.com/http://www.rittmanmead.com/wp-content/themes/rittman/#comment-18407http://www.artofbi.com/?__hstc=150481449.d435fb5a17bfc5a18bd24a50ff418750.1415436955128.1415436955128.1415436955128.1&__hssc=150481449.1.1415436955129&__hsfp=1770896186http://www.rittmanmead.com/wp-content/themes/rittman/#comment-18412 -
8/10/2019 Www Rittmanmead Com 2012 08 Advanced Presentation Services s
8/9
df di b PRO i A d l ? T t th HTML t PDF API
Call us now to talk about your BI project:+44 (0) 1273 911 268 (UK) or (888) 631-1410 (USA)
or +61 3 9596 7186 (Australia & New Zealand) or
+91 997 256 7970 (India) or +32 280 882 11 (Belgium)
HomeAbout Us> About us> About our team> Contact us> Our clients
Services> Consultin g> Training> Support
ConsultingServices> Projects> Expert Services> OBIEE 11g> Sustainability> On Discoverer?> Oracle DW
Training> OBIEEBootcamp> OBIEE End-User > Exalytics> ODI 11gBootcamp> Oracle BI Apps
Resources> Articles> Blog> OBIEE 11g
Blog Author s> Mark Rittman> Venkat J> Peter Scott> Bo rkur S> Mike Vic kers> Robin Moffatt> Jon Mead
Rittman Mead Consulting ltd.Registered Office : Suite B,First Floor Moore House,13 Black Lion Street,Brighton, East Sussex,BN1 1ND, United KingdomCompany No. : 603 2852 VAT No. : 900 3839 48
Rittman Mead America, Inc.
Registered Office : 4550 North Point Parkway390 Alpharetta, Georgia 30022, USA
Rittman Mead Oceania Pty Ltd.Registered Office : 12 Moore Street,Brighton East,Victoria, 3187, Australia
Austral ian Company No. : 149 458 935
Rittman Mead Consulting Pv t Ltd.Registered Office : Unit 105-106 Regent PrimeWhitefield Main Road Whitefield Bangalore560066
Rittman Mead BelgiumRegistered Office : Chausse de Louvain 426 1380 LasneBelgium
2010-2011 Rittman M ead Con sult ing. | Privacy Policy | E: info@rit tm anme ad.com
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://www.rittmanmead.com/http://www.rittmanmead.com/about/http://www.rittmanmead.com/about/our-team/http://www.rittmanmead.com/about/contact-us/http://www.rittmanmead.com/clients/http://www.rittmanmead.com/consultinghttp://www.rittmanmead.com/traininghttp://www.rittmanmead.com/supporthttp://www.rittmanmead.com/consulting/expert-services/http://www.rittmanmead.com/consulting/expert-services/http://www.rittmanmead.com/consulting/obiee-11g-services/http://www.rittmanmead.com/consulting/prepare-build-and-sustain/http://www.rittmanmead.com/consulting/migrating-from-discoverer-to-oracle-bi-suite-enterprise-edition/http://www.rittmanmead.com/consulting/data-warehousing/http://www.rittmanmead.com/training/trn202-oracle-bi-ee-11g-bootcamp/http://www.rittmanmead.com/training/trn-205-oracle-bi-ee-11g-create-reports-dashboards-alerts-and-scorecards/http://www.rittmanmead.com/training/trn-701-exalytics-for-systems-administrators/http://www.rittmanmead.com/training/trn-403-odi-11g-bootcamp/http://www.rittmanmead.com/training/trn-40-oracle-bi-apps-bootcamp/http://www.rittmanmead.com/articleshttp://www.rittmanmead.com/bloghttp://www.rittmanmead.com/obiee11ghttp://www.rittmanmead.com/author/mark-rittman/http://www.rittmanmead.com/author/venkatakrishnan-j/http://www.rittmanmead.com/author/peter-scott/http://www.rittmanmead.com/author/borkur-steingrimsson/http://www.rittmanmead.com/author/mike-vickers/http://www.rittmanmead.com/author/robin-moffatt/http://www.rittmanmead.com/author/jon-mead/http://www.rittmanmead.com/privacy-policy/mailto:[email protected] -
8/10/2019 Www Rittmanmead Com 2012 08 Advanced Presentation Services s
9/9
fA d l ? T h HTML PDF API
Website Design & Build: tymedia.co.uk
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fwww.rittmanmead.com%2f2012%2f08%2fadvanced-presentation-services-settings-for-obiee-testing-development%2f&id=ma-141108035556-68eacb59http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://www.tymedia.co.uk/?__hstc=150481449.d435fb5a17bfc5a18bd24a50ff418750.1415436955128.1415436955128.1415436955128.1&__hssc=150481449.1.1415436955129&__hsfp=1770896186