Testing Oracle Portal's applications using Apache JMeter
Hello!.
I'm writing to yours, because I am using Apache JMeter to test Web Applications. I can test web applications which are called by WWW, but when I called web applications which are in Oracle Portal, JMeter does not test it. I don´t know becuase I have to use http://plsportal/ . . . and I don't use WWW.
Could yours help me, if I can use JMeter with Oracle Portal?!.
Thanks in advance.
Greetings.
You should be able to use JMeter with Oracle Portal. I have followed the directions in this blog post to get it to work with Portal 11.1.1.2 : http://rreddy.blogspot.com/2009/07/how-to-use-jmeter-to-load-test-portal.html
Thanks,
EJ
Similar Messages
-
Migration of oracle portal contents/applications to Weblogic portal
I have a website running on oracle portal. I want to migrate all those contents (applications/portlets) to weblogic portal. I dont know where to start from. Can somebody please guide me and give me some tutorials for this.
Thanks
JosephHi Ajay,
If the configtool is showing the old information of instances , it has got two things
1. JMT phase of your migration has not been performed correctly.
2. If you are using the same hostname , SID , instance name , then it will calculate the same instance number.
In JMT phase it should delete all the information of dialog instance and calculated the new instance id
on the basis of box number calculated from the file cluster_id_switch.properties while migrating the CI.
checked the JMT folder inside sapinst_dir.
Checked the below parameter in cluster_id_switch.properties
src.ci.sid=
src.ci.instance.number=
src.ci.instance.name=
src.ci.host=
Checked the logs for java migration tool phase and java configuration parameter phase.Also do check the box number of the system.If the box number is not correct as per your input then you will not able to patch your system further.
Now in second case, If you are keeping the same hostname , instance name and SID , then it will calculate the same instance id so you don't need to worry in this case.
1644265 - "How to determine the correct box number of the instance"
With Regards
Ashutosh Chaturvedi -
Oracle Portal -- Installed pages use LOCALHOST
Did I miss a configuration step..
All the pages generate with http://localhost/.... in there
so if you are accessing from
another machine the graphics dont show.
[email protected]Hello,
yes, it work's perfectly ! I' am using the Apache HTTP-Server which is installed in the midtier of IAS (Portal) together with PHP 5.1.2 ( not the 4.x original version ). I also use SSO funtionality of IAS in my PHP scripts and smarty for template engine.
1.: install your preferred PHP version in a seperate folder of the machine where Portal runs.
2.: Rename the original php.ini file and move the new php.ini with your settings file from your installation to the folder ..\Apache\Apache\conf.
3.: change the httpd.conf entries for the php-dll to use your own php version
LoadModule....
AddModule...
As I know, changing the original version of the php installation in the midtier to a newer version is not officially supported by Oracle.
Hope i could help you
HJ. Alles -
Oracle with service web using apache axis
hello,
I'don't know where can i put this question .
My problem is :
i've done web services using JAVA, my program in JAVA use Oracle , and it works well, but when it could not connect to oracle, it stoppes in this instruccion : DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Can you help me ?
thanksmake sure the classes related to jdbc are reachable withit the scope of your CLASSPATH environemnt variable.
Regards. -
How to use servlets in portal web application in Weblogic Portal 4.0
We are developing a Portal Web application using Weblogic Portal 4.0 where in we
have the following scenario. one JSP in webflow of a portlet calls the PipeLine
which does some processing and calls the servlet which is having the typical download
functionality. The servlet is supposed to read the data from the pipeline session
and create a CSV String that is dumped to the client browser. The problem is even
we are doing response.setContentType("application/save") in the servlet it is
still displaying the content as html in the portlet. I guess since all our request
are send to the webflow contolling servlet and it is setting the content type
and hence our servlet is not working. How do I solve this problem? Thanks YogeshHi Renu
Please go through the SAP Content Management here you find the documents related to Wab page Compoer and knowledge mangement. Also search for article / blog for more details.
[http://www.sdn.sap.com/irj/sdn/nw-ecm|http://www.sdn.sap.com/irj/sdn/nw-ecm]
Hope it will helps
Best Regards
Arun Jaiswal -
Testing WD Java Applications using eCATT tool
Hi All,
We are trying to simulate the runtime tests of WD java Applications using the tool eCATT. I would like to know the current procedure followed to achieve the same.
We have ample users using eCATT tool for testing their WD ABAP Applications. Do you have any information about the team or users using the eCATT tool for the WD Java Applications?
Also, i need some information about the WD Java Runtime team.
Could you please provide me with some inputs?
Thanks in Advance.
Best Regards,
Yogi
Edited by: Yoganand P on Mar 11, 2011 11:20 AM
Edited by: Yoganand P on Mar 11, 2011 11:21 AMHi Thanks for u r reply Dude,this is the simple algo ,could you tell me how can i test my algo using junit in eclipse only rather every time deploye and test in ccb. Your help will be appreciated.
package com.splwg.cm.domain.bills;
* @author *
@AlgorithmComponent ()
public class CMGoodCustomer_Impl extends CMGoodCustomer_Gen implements
DepositClassGoodCustomerAlgorithmSpot {
private static final Logger logger=LoggerFactory.getLogger(CMGoodCustomer_Impl.class);
private Account account;
private DepositClass depositClass;
private Bool customerStatus;
private boolean flag;
@Override
public void invoke() {
// TODO Auto-generated method stub
CustomerClass customerClass=account.getCustomerClass();
CustomerClass_Id customerClass_Id=customerClass.getId();
if(customerClass_Id.toString().trim().equals("CAT-VIII")||customerClass_Id.toString().trim().equals("HT- VIII")||customerClass_Id.toString().trim().equals("SCATVIII")||customerClass_Id.toString().trim().equals("SHT-VIII"))
flag=true;
else
flag=false;
@Override
public Bool getIsGoodCustomer() {
// TODO Auto-generated method stub
if(flag==true)
return Bool.TRUE;
else
return Bool.FALSE;
@Override
public void setAccount(Account accoutnt) {
// TODO Auto-generated method stub
this.account=account;
@Override
public void setDepositClass(DepositClass depositClass) {
// TODO Auto-generated method stub
this.depositClass=depositClass;
} -
Oracle portal and session tracking
Friend I am working in JDeveloper in my PC and my statements in with setAttribute and getAttribute does work ,but the same statement doesn't work when I use this jsp as my portlet.The error is given below.So portal doesnot support this method's ?
Method getAttribute(java.lang.String) not found in interface javax.servlet.http.HttpSession.
OConnect = (Connect)Session.getAttribute("OConnect");
Method getAttribute(java.lang.String) not found in interface javax.servlet.http.HttpSession.
OMainMenu = (MainMenu)Session.getAttribute("OMainMenu");
Method setAttribute(java.lang.String, ccrspackage.Connect) not found in interface javax.servlet.http.HttpSession.
Session.setAttribute("OConnect",OConnect);
Method setAttribute(java.lang.String, ccrspackage.MainMenu) not found in interface javax.servlet.http.HttpSession.
Session.setAttribute("OMainMenu",OMainMenu);
please help
Note : below is my jsp code as it is.
**************my jsp code**************
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<%@page import = "oracle.portal.provider.v1.*, oracle.portal.provider.v1.http.*, oracle.portal.utils.v1.*, java.sql.*, ccrspackage.*" %>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
<META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
<TITLE>
CCRS Application
</TITLE>
</HEAD>
<BODY BGCOLOR = #FFCC00 FONT SIZE = "+2" >
<FORM NAME="CCRSMenu " action="CCRSMenu.jsp" METHOD="POST" target ="NewWindow">
<%
//create session for connection
HttpSession Session = request.getSession(true);
//set the connection to the database variable null
Connect OConnect = null;
MainMenu OMainMenu = null;
if (request.getMethod().equals("POST"))
OConnect = (Connect)Session.getAttribute("OConnect");
OMainMenu = (MainMenu)Session.getAttribute("OMainMenu");
//throws the page returned by the method
String LoadJsp = OMainMenu.ReturnLoadJsp(request);
response.sendRedirect(LoadJsp);
else
OConnect = new Connect();
OConnect.ConnectDatabase();
OMainMenu = new MainMenu();
OMainMenu.InitialSetting();
Session.setAttribute("OConnect",OConnect);
Session.setAttribute("OMainMenu",OMainMenu);
%>If Oracle Portal is running on Apache/Jserv, which is the only application server it runs on as far as I know, then that's your problem. JDeveloper uses one of the newer Servlet specificatione, 2.1 or 2.2, where as Jserv is using a very old one. 2.0, which doesn't support the session.setAttribute() method.
I happen to know a little bit about portal and the JPDK. You do have the option of using the ProviderSession object that is provided by the JPDK PortletRenderRequest.getSession() method. I believe they have a setAttribute() method in there. In fact, if you want this object in the user's session, then you HAVE to use the ProviderSession from the JPDK.
There are some other configurations you have to set to use this, you must specify to use session in your provider.xml, and you must also set the login frequency on the provider registration page to "Once per user session".
Check out the discussion boards on http://technet.oracle.com for more info. -
Where the public folder htdocs in Oracle Portal 11g for custom files ?
hi ,
In oracle portal 10g I used the folder xxxxx/Apache/Apache/htdocs for css, js, img.
In Oracle 11g portal where this folder ?
tks
Carlo
Edited by: cgiorgi on Dec 15, 2009 2:48 PMhi carlo,
in portal 11g, this folder is in Oracle Instance and not in Oracle home, here.
config/OHS/<ohs_name>/htdocs
hope that helps!
AMN -
Upload and displaying document file and image file with oracle portal
Dear All,
Could anyone please tell me how to displaying document file and image file that I've stored to database (8.1.7) using oracle portal. (I use intermedia data type).
I've tried to follow the instruction given by Oracle LiveDemo, but it came with failure. (the image or document won't show up).
Thanks for support.
MozaPlease repost this question in the appropriate section of the Discussion Forum.
This forum is for general suggestions and feedback about the OTN site. For technical question about an Oracle product,
For customers with paid support (Metalink) please go to:
http://www.oracle.com/support/metalink -
Oracle Reports Builder X Oracle Portal - Integration
Hi everybody
I've created some reports with Oracle Reports Builder. Then I saved them as a JSP file.
I can view these reports in a normal WEB page, without problems. All that I need is to call the page with the parameters.
Now I need to deploy this report as a portlet, inside the Oracle Portal.
So, I've read the document "Publishing Reports to the WEB" (http://otn.oracle.com/products/reports/htdocs/getstart/docs/a92102_01.pdf) and I've followed the steps to run the report (JSP file) as a Portlet.
I've done the following:
- I've created a Database Provider
- I've created the "Report Server Access"
- I've created the "Report Definition File Access"
Until this point, everything is ok, I can "Run" and "Run as a Portlet" the report.
So, in the next class, "Adding the Report Portlet to a Page" (Page 8-8), the report portlet simply doesn't appear in the Portal DB Provider to wich it belongs!!! :-(
Has someone had this kind of problem?
Any hint will be welcome!
P.S: The Oracle Portal, the Application Server, and the Reports Server are in a SUN Machine.
The Portal version is 2 (release 2).
Thanks in advancehi adriano,
here is what you have to do:
1. navigate to the db provider which holds the reports. click
on grant access: check the expose as provider
2. builder - administer - oracle reports security -
edit the reports definition file access you created for
your report.
click on the access tab - check publish to portal.
now you can see your report portlets for selection
in portal.
regards,
christian hi,
I can run the report as portlet but I can't see the "Access" tab under Customize. I know the option "Publish to Portal" is available in other object, but the "Access" tab does not appear in any of the Report Defitinion file acess page. Only "Develop" and "Manager" is available. I'm running on 9iAS R1.02.2.2a.
Thanks
Vincent -
Oracle portal use in different application servers
Instead of Oracle 9iAS, can Oracle Portal run on other Application Server?
Hello,
When you using JDBC resource in a J2EE container you should use a DataSource that will be an abstraction layer to your code.
Are you doing that?
This will simplify the integration to the development, test and production machines.
You can take look the the data source how-to on OTN.
Regards
Tugdual Grall -
USING APACHE STURUTS BRIDGE WITH ORACLE PORTAL FOR STRUTS - JSR 168 PORTLET
I am trying to develop a JSR - 168 compliant portlet which uses struts framework.I am using APACHE STRUTS BRIDGE to run the application in my ORACLE 10.1.4 Portal server.While doing the configuration accoring to the documentation given in URL http://www.ja-sig.org/wiki/display/PLT/Struts+Bridge
(apache struts bridge), i was asked to add an <init-param> entery in the portlet.xml file to get the ServletContext.So i need to know where is the ServletContextProvider implementation class which implements ServletContextProvider available in Oracle AS so that i can use that to get the ServletContext and use it furthur.
Thanks
Deepakyou could write your own implementation class for the ServletContextProvider interface and fill in the portlet.xml with the class you class
It could be written as follows:
package Edmunds.com.portal.bridges;
import javax.portlet.GenericPortlet;
import javax.portlet.PortletRequest;
import javax.portlet.PortletResponse;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;
/* note that PortletApplicationImpl is oracle version of portletContextImpl */
import oracle.webdb.wsrp.server.PortletApplicationImpl;
import org.apache.portals.bridges.common.ServletContextProvider;
* PortalServletContextProvider supplies access to the Servlet context of Oralce Portal Portlet.
public class PortalServletContextProvider implements ServletContextProvider {
public ServletContext getServletContext(GenericPortlet portlet)
return ((PortletApplicationImpl) portlet.getPortletContext()).getServletContext();
public HttpServletRequest getHttpServletRequest(GenericPortlet portlet, PortletRequest request)
return (HttpServletRequest) ((HttpServletRequestWrapper) request).getRequest();
public HttpServletResponse getHttpServletResponse(GenericPortlet portlet, PortletResponse response) {
return (HttpServletResponse) ((HttpServletResponseWrapper) response).getResponse();
} -
Test scripts for oracle applications using qtp testing tool
hi
i want some test scripts for oracle applications using qtp testing tool
regardsYou will need to create separate scripts for Load testing. The functional scripts cannot be used in OLT. The exceptions to this would be the "General" items (Java Code Script & Web Services) which can also be used in OLT.
e.g. Instead of selecting "Functional Testing - Oracle EBS/Forms"
select "Load Testing (Protocol Automation) - Oracle EBS/Forms"
Once you get into load testing you'll realise that you want to create very specific scripts and won't want to try re-using functional scripts. I know a lot of such tools are 'sold' on the fact that functional scripts can be re-used for load, but when it comes down to it you'll want to design your load scripts seperately anyway! -
Use 11g portlet in Oracle Portal or WSRP1 in WebCenter application fails
Hi,
I build a portlet as in the example at http://download.oracle.com/otndocs/tech/webcenter/files/owc_r11_portlet_bridge_demo.html and try to consume it from Oracle Portal. This is failing with a connection to the server failed error in the browser. I then tried to consume it in a webcenter application as wsrp2 and it works correctly. If i change to wsrp1 it fails with the same error. In the logging i see the following error:
4-jan-2008 12:10:01 com.evermind.server.ServerBase log
WARNING: WebcenterTest-ViewController-webapp: Servlet error
oracle.security.jazn.JAZNRuntimeException: Method not supported
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:480)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Method not supported
at oracle.portlet.wsrp.v1.ServerToWSRPv1.getResource(ServerToWSRPv1.java:7727)
at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getResource(ActivityServerWrapper.java:1519)
at oracle.portlet.client.techimpl.wsrp.WSRPResourceOperationPipe.execute(WSRPResourceOperationPipe.java:116)
at oracle.portlet.client.techimpl.wsrp.WSRPResourceOperationPipe.pre(WSRPResourceOperationPipe.java:43)
at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:531)
at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:418)
at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:23)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:391)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:416)
... 1 more
Does this mean wsrp1 is no longer supported with 11g because of client side ajax? Would this mean that Oracle Portal consuming 11g portlets is out of the question?
Kind Regards,
Andre JochemsThank you for the clear answer. Just curious .... if Portal 11g supports wsrp 2 will it be possible to have a portlet generate events and link those in portal to page parameters which in turn can be linked to portlet input parameters as is possible with a pdk java portlet? In other words, ... can the inter portlet communication be set/edited/wired at runtime in Portal instead of design time as is the case with WebCenter?
Also if Portal 11g will have these features what is the added value of WebCenter, aside from not needing the extra infrastructure to run Portal?
While i am at it, ... how will the skin and stylesheets be handled when a 11g rich faces portlet is rendered in Portal, will it keep its nice looks? Can they be mapped to portal defined styles for portlets to adapt the style to the surrounding portal?
Kind Regards,
Andre Jochems -
Oracle Portal and EJB Web application
Hi,
Can anyone tell me how to make portlets in Oracle Portal from the jsp files which are a part of EJB application ?
Problem here is OC4J is accessed behind Apache so the provider testing url(eg http://localhost/servlet/xxxx) gives page not found error.So portlets cannot be made.
Hope somebody has some solution on this.
Regards,
Mandar.Hi Christopher,
I am trying to do the same as you have said,I am trying to access the EJB from JSP's that run on JServ.However I am getting this error when I try to use RMI
com.evermind.server.rmi.OrionRemoteException: Invocation error: java.lang.ClassNotFoundException: com.crm.Dao.Customer.CustomerDataHome; nested exception is: java.lang.ClassNotFoundException: com.crm.Dao.Customer.CustomerDataHome
But the same code runs fine if run the jsp from Orion server.
My code in jsp -
Properties env = new Properties();
env.put("java.naming.provider.url","ormi://localhost/autoglobal");
env.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
// env.put("java.naming.factory.initial","com.evermind.server.ApplicationClientInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL,"admin");
env.put(Context.SECURITY_CREDENTIALS,"j2ee");
InitialContext ictx_t = new InitialContext(env);
CustHom = (CustomerDataHome)ictx_t .lookup("CustomerData");
CustRem =CustHom.create();
The above error is when I am using com.evermind.server.rmi.RMIInitialContextFactory .
If I use com.evermind.server.ApplicationClientInitialContextFactory I get the following error
javax.naming.NamingException: Error reading application-client descriptor: No location specified and no suitable instance of the type 'com.crm.Dao.Customer.CustomerData' found for the ejb-ref CustomerData
Hope to get some solution on this.
Regards,
Mandar
Maybe you are looking for
-
R/3 table for the corresponding BW Cube Request details
Hi BW Gurus, What is the R/3 table which staores all the details of the BW cubes request details like, Info package that is being loaded, what is the start time, date, no. records loaded, selection conditions, type of data update, Info source, d
-
How to embed a You Tube video into Keynote slide?
Hi there, I am wanting to go further than simply making a hyperlink. How can I embed a you tube video in the slide? I am going to save as powerpoint for presentation on PC so hoping it will still work as well. P.S This question has been asked previou
-
JPopupMenu for the Toolbar Item.
When I click on the button on the Toolbar I have to display the menu items under it like a popup. Is it the JPopupMenu that I have to create? Do I have to set it's position to display exactly below the button? How do I go about doing this. Thanks.
-
When going to the SELL area of ebay, I can use every part except the description area. I hover the mouse over , the arrow is there but you can't click on it to start typing. Ta Jan.
-
Is there a way using itunes to copy only a portion of a song? Thanks for any help.