HTTP Load Test - Stop Proxy info to be set by open Script
Created a HTTP Load testing script in OpenScript. As soon as the browser(Firefox) opens up, the HTTP proxy settings were set to localhost: 7777.
Our application would not work on that proxy. Please help on how we can override the proxy details.
I tried the option in View -> OpenScript Properties -> Record(HTTP)-> Use broswer's proxy. It did not work either.
Please help.
Hi
Port 7777 is the proxy that OpenScript uses to record the HTTP traffic, if you are using a proxy to access the application you will need to chain it.
Regards
Alex
Similar Messages
-
Linux Load test Fails to start agent due to authentication errors
I have a brand-new install of 12.2.0.1.223 on a Linux machine.
After the install I
1) Created a user in the administrator application with the name of my Linux login and granted full permission to that user
2) Logged in to the load testing tool as that user
3) Imported an open script zip file (which just has a simple single GET URL call)
4) Added that to a new scenario
5) Attempted to run the test.
When running the test, after 90 seconds it fails saying that there is an Error communicating with the Oracle Load Testing Agent Manager on oats-am://localhost:9001: Timed out after 90 seconds
The AgentManager is running on localhost. But from the agentmanager_auth.log I see that the oats-agent user wasn't able to start the actual agent:
2012-12-06 16:38:31,951 WARN [URL:t3://adc2201760.us.oracle.com:8088;Requestor Username: oats-agent;Requestor Key:71ec0e9e-ea8f-4f25-bd48-e6b6e0a15e62;Requestor Queue:oracle/oats/queue/AgentPoolNotificationQueue;Request ID:11;Request:startagent;] - authentication failed
I haven't done anything with passwords other than specify the password on install. I did go into the WebLogic console as user oats and make sure that the user oats-agent is in the security realm and put in the same password that I used for the install. In the load testing tool, I also looked into setting the password for VU Agent Systems; there is of course one defined there for OLT Server/Localhost , though the user is JMSAdmin and the port is 9001 so I don't think will help with that the the oats-agent connecting via t3 to port 8088. If there is some place else to verify the oats-agent password in the load testing tool, I didn't see it.
How to I get the oats-agent user the correct credentials?Hello
Try to use OLT Agent Authentication Manager: <oats_install>/jdk/jre/bin/javaw -jar <oats_install>/agentmanager/AMAuthManager.jar
and let us know
JB -
Oracle Load testing- Open script at the end of recording gives this error
I am recording a script for R12 in Open scirpt , but at the end of finish record Open script Load testing gives this error"Failed to correlate script has encountered a problem"
Steps I followed. Open Open script-New Script. Select Load testing Protocol(Automation) - Select Oracle EBS/Forms- Create a script. Now start recording. I have EBS R12 instance and the test I am doing is just login / open a form . After that I click Stop recording. Open script pops up a Window "Exception occured while correlating script:oracle.oats.scripting.transforms.TransformException:transfrom rule threw exception in TransformStep:oats.otas.scripting.modules.formsLT.correlationformsHttpVarSubstitution.Refer to the Error Log for Details". The tool is installed on Windiws 7 64 bit and using IE8 as a browser.
Any help?Hi
Thanks JB/Glen
My Answers
Stupid, but have you tried to create a new script?
ANS-Yes JB . Always try with New one only not using the same. Also before I record first I try the same steps in browser to make sure it work/oepns all.The do the same via recording)
Is that the only script that doesn't work?
ANS-Every script that I record has this issue on this Windows - x 64 Laptop.
Have you tried another one? Just a simple web one?
ANS- Open script functional recording works fine.
Have you ran the Diagnose Tool (Help Menu)?
ANS- Yes- All came out Green
Have you put a specific name for the script? Special characters?
ANS-No my script name is Test1, Test2 etc
Restart OpenScript?
ANS- Yes Tried several times. Also I completely uninstalled/removed registry/folders, re-installed also.
But I have another Windows XP machine where I installed now that works fine. Only issue now on this Laptop - Why /where is the issue on this Laptop?
Open the error view which will show in the lower pane. You may find more details.
ANS- More details shows only "Exception occurred while correlating script." a one liner
When you manually run the "Correlate Script" option as JB has mentioned, first un-check all but one correlation rule. This is an additional choice in "Correlate Script" menu. If no error, "Revert to recorded" again, and then "Correlate Script" again though this time un-check all but two correlation rules. Continue this effort until you narrow down the correlation rule which throws the error.
ANS- This is a simple out of the install and I ccan see only two Rules. HTTPS Libraries and Oracle Load Form Libraries. If we leave Oracle Load form libraries checked and correlate that is where it is failing. I believe we need that Library correct?
Thanks -
ATS Load Testing and adf.view.rich.automation.ENABLED for ADF apps
In oder to test ADF applications with Load Testing Module, is it required to set the adf.view.rich.automation.ENABLED clause to True in web.xml file or it's only for Functional testing?.
Thanks,
Carlos.Hey Carlos ^^
You only need to set the web.xml for functional test script.
JB -
Proxy issue in OpenScript Load Testing Protocol(Web/HTTP) during PlayBack
Hi All,
I am new to OATS and I recorded a sample script on OATS for Load Testing protocol(Web/HTTP) in OpenScript but when I Playback it then it is giving the following as the result:
"*Invalid response received from proxy server: HTTP/1.1 502 Proxy Error ( The ISA Server denied the specified Uniform Resource Locator (URL). ).*
*Comparable WinInet error code: Error 12033: ERROR_INTERNET_INVALID_PROXY_REQUEST.*"
In ErrorLog following errors are mentioned:
"*eclipse.buildId=unknown*
*java.version=1.6.0_07*
*java.vendor=Sun Microsystems Inc.*
*BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IN*
*Command-line arguments: -os win32 -ws win32 -arch x86*
*Error*
*Thu Apr 25 12:00:17 IST 2013*
*fireActiveProjectChanged*
*java.lang.IllegalStateException: Error getting Parent Element Id for element-id: 9*
* at oracle.oats.scripting.models.store.util.db.ModelDBPersistence.getElementParentId(ModelDBPersistence.java:283)*
* at oracle.oats.scripting.models.stores.database.DatabaseStore.getParentId(DatabaseStore.java:287)*
* at oracle.oats.scripting.models.stores.database.ResultOverviewStore.getParentId(ResultOverviewStore.java:550)*
* at oracle.oats.scripting.models.ModelElement.getParentId(ModelElement.java:275)*
* at oracle.oats.scripting.models.ModelAccessor.findParent(ModelAccessor.java:146)*
* at oracle.oats.scripting.models.ModelElement.findParent(ModelElement.java:289)*
* at oracle.oats.scripting.ui.views.results.ResultsContentProvider.getParent(ResultsContentProvider.java:49)*
* at org.eclipse.jface.viewers.AbstractTreeViewer.getParentElement(AbstractTreeViewer.java:1646)*
* at org.eclipse.jface.viewers.TreeViewer.getParentElement(TreeViewer.java:601)*
* at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1573)*
* at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2456)*
* at org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(StructuredViewer.java:1680)*
* at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2864)*
* at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1636)*
* at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1104)*
* at oracle.oats.scripting.ui.views.results.ResultsDisplayView.setSelection(ResultsDisplayView.java:584)*
* at oracle.oats.scripting.ui.views.results.ResultsDisplayView.onActiveScriptingProjectChanged(ResultsDisplayView.java:266)*
* at oracle.oats.scripting.ui.internal.editors.openScript.OpenScriptEditorRegistry.fireActiveProjectChanged(OpenScriptEditorRegistry.java:377)*
* at oracle.oats.scripting.ui.internal.editors.openScript.OpenScriptEditorRegistry.access$8(OpenScriptEditorRegistry.java:371)*
* at oracle.oats.scripting.ui.internal.editors.openScript.OpenScriptEditorRegistry$EditorListener.partActivated(OpenScriptEditorRegistry.java:121)*
* at org.eclipse.ui.internal.PartListenerList2$1.run(PartListenerList2.java:68)*
* at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)*
* at org.eclipse.core.runtime.Platform.run(Platform.java:880)*
* at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)*
* at org.eclipse.ui.internal.PartListenerList2.firePartActivated(PartListenerList2.java:66)*
* at oracle.oats.scripting.ui.internal.TailoredPartService.firePartActivated(TailoredPartService.java:310)*
* at oracle.oats.scripting.ui.internal.TailoredPartService.setActivePart(TailoredPartService.java:344)*
* at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:124)*
* at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)*
* at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)*
* at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)*
* at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)*
* at org.eclipse.core.runtime.Platform.run(Platform.java:880)*
* at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)*
* at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)*
* at oracle.oats.scripting.ui.internal.TailoredPartService.firePartDeactivated(TailoredPartService.java:323)*
* at oracle.oats.scripting.ui.internal.TailoredPartService.setActivePart(TailoredPartService.java:338)*
* at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)*
* at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)*
* at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3491)*
* at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3034)*
* at org.eclipse.ui.part.MultiEditor.activateEditor(MultiEditor.java:178)*
* at oracle.oats.scripting.ui.internal.editors.openScript.OpenScriptEditor.activateEditor(OpenScriptEditor.java:1247)*
* at org.eclipse.ui.part.MultiEditor$1.handleEvent(MultiEditor.java:81)*
* at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)*
* at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)*
* at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)*
* at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)*
* at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1353)*
* at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2443)*
* at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2266)*
* at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:4414)*
* at org.eclipse.swt.widgets.Tree.WM_SETFOCUS(Tree.java:6846)*
* at org.eclipse.swt.widgets.Control.windowProc(Control.java:3855)*
* at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5791)*
* at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)*
* at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)*
* at org.eclipse.swt.widgets.Control.forceFocus(Control.java:974)*
* at org.eclipse.swt.widgets.Control.setFocus(Control.java:2811)*
* at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:927)*
* at oracle.oats.scripting.ui.editors.tree.TreeEditor.setFocus(TreeEditor.java:230)*
* at org.eclipse.ui.part.MultiEditor.setFocus(MultiEditor.java:139)*
* at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)*
* at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:127)*
* at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:846)*
* at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:829)*
* at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:139)*
* at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)*
* at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)*
* at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)*
* at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)*
* at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:87)*
* at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)*
* at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)*
* at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)*
* at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)*
* at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)*
* at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3242)*
* at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)*
* at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)*
* at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)*
* at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)*
* at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)*
* at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)*
* at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)*
* at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)*
* at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)*
* at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)*
* at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)*
* at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)*
* at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)*
* at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)*
* at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)*
* at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)*
* at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)*
* at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)*
* at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)*
* at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
* at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)*
* at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)*
* at java.lang.reflect.Method.invoke(Method.java:597)*
* at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)*
* at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)*
* at org.eclipse.equinox.launcher.Main.run(Main.java:1236)*
* at org.eclipse.equinox.launcher.Main.main(Main.java:1212)*
*Caused by: oracle.oats.utilities.db.exceptions.DisconnectDbException: Verify if database connection exists for C:\OracleATS\OFT\iTube3\results\Session3\data*
* at oracle.oats.utilities.db.JavaDbSystem.executeQuery(JavaDbSystem.java:335)*
* at oracle.oats.utilities.db.core.ElementDao.selectParentId(ElementDao.java:215)*
* at oracle.oats.utilities.db.DatabasePersister.getParentIdFor(DatabasePersister.java:89)*
* at oracle.oats.scripting.models.store.util.db.ModelDBPersistence.getElementParentId(ModelDBPersistence.java:278)*
* ... 104 more*
*Caused by: java.sql.SQLNonTransientConnectionException: No current connection.*
* at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)*
* at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)*
* at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)*
* at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source)*
* at org.apache.derby.impl.jdbc.EmbedConnection.checkIfClosed(Unknown Source)*
* at org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown Source)*
* at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)*
* at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)*
* at oracle.oats.utilities.db.util.SQLUtils.prepare(SQLUtils.java:307)*
* at oracle.oats.utilities.db.StatementFactory.makeStatement(StatementFactory.java:20)*
* at oracle.oats.utilities.db.PreparedStatementCache.addStatement(PreparedStatementCache.java:38)*
* at oracle.oats.utilities.db.JavaDbSystem.executeQuery(JavaDbSystem.java:316)*
* ... 107 more*
*Caused by: java.sql.SQLException: No current connection.*
* at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)*
* at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)*
* ... 119 more*
And in Debug tag I am getting the following errors:
*"<disconnected>org.eclipse.equinox.launcher.Main at localhost:59115"*
I am working with OATS on company network and also I am using the correct proxy setting(confirmed). When i tried recording a company internal web application(No Proxy Required) its still giving same proxy errors.
Error results are always changeing when I change my Port No. for proxy setting (Default Port No for my network is 8080).
For port No 8080 following error is displayed result tab:
*"Failed HTTP response code: 407 Proxy Authentication Required ( Access is denied. ) "*
For port no 7777 & 443 following error is displayed in the result tab: (Have changed the proxy server address to "xyz"):
*Failed The attempt to connect to the server xyzproxy.xyz.com on port 7777 failed.*
*Comparable WinInet error code: Error 12029: ERROR_INTERNET_CANNOT_CONNECT. Caused by: java.net.ConnectException occurred. Error Message:Connection timed out: connect*
I have just disabled the cookies from my script, no other changes have been made(no parametrization and no correlation as of now).
I have tried everything with port numbers and also with Playback settings in openscript preference for proxy, tried to playback the script with proxy, without proxy for both the type of applications, company internal and external but still the same errors.
Anyone please suggest me a solution to this problem.
Thanks,
Abhi.
Edited by: 1002084 on Apr 25, 2013 12:12 AMHi,
I think your password is encrypted. Try replace password "a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6" with your password.
Or Get output of obfuscate("your password") and replace "a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6" with {{@deobfuscate( output of obfuscate("your password") )}}
Regards,
Deepu M -
VSTS load test QUESTION : While recording the webPerformanceTest, is it is possible to clear / force to clear cache without stopping or closing the IE on recorder?
I am facing issue, while recording the webtest, our application first time loading any screen calls some requests and 2nd time when browsed the same information if it is available at cache then it will not
call the requests again.
How can i force the VSTS to clear cache while recording, so that i can record those requests which gets called at the first time.
Regards
SatishKHi SatishK,
Thanks for your reply.
>>but my question was while recording (During recording using web test recorder) i want to clear cache.
Based on your issue,
I did some research about it,
but I still find the official document about it. Generally, I know that if we want to clear the web performance test by the
Cashe Control properties, so I think that it is not possible to clear the cashes when we are recording the web performance.
If you still want to this feature for web performance test, I suggest you could submit this feature request:
http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You
can send your idea there and people can vote. If you submit this suggestion, I hope you could post that link here, I will help you vote it.
Thanks for your understanding.
Best Regards,
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. -
How to set Proxy for IE 8.0 on doing Load Testing with OATS 12.1.0.2
I have tried adding proxy server by adding the address to "Localhost" and Port as 8080.
but nothing is working out, for recording an EBS instance its working fine ,no need to setup anything in the OATS tool, eg, Proxy settings.
But when it comes to BPM with ADF technology , the recorder is not starting the Recording even the pointer navigation also not wokring.
So, is there way to record the ADF applications in BPM ?
Thanks in advance.Hi Wayne,
Thing is do we need to add the proxy server here?, as for doing Load testing on EBS application,there is no need of adding a proxy server,
So the same way it should work with the ADF application too, but its not showing any mouse pointer in the Browser tool bar or recording
the navigation.
Point to be noted is, we need to connect to VPN in order to access the Application.
is it because of VPN connection that its not recording?
But while doing the functional testing I didn't face anyproblem though as its recording everything even if we are connected to VPN.
In Functional testing also i found ,all the input fields where we add the "username" or any input data via a "text box" the tool is not able to
record the field information along with the input we enter.
If you could let me know ,how to do a Load testing for ADF application using BPM , it would be helpful
Thanks
Atish -
Lync mobility and HTTP authentication test failed. Is reverse proxy required?
I currently have the following setup.
1 x 2013 edge server lync1.local.com
has 3 dmz ips for external names
has 1 internal ip
2 x 2013 std front end servers lync2 & lync3.local.com
Ive read that in 2013 the mobility service is installed automatically on the front end servers and i do see it running on both.
All my clients can connect from the windows and mac clients(internally and externally) but not from phone or windows app store client (internally or externally)
running the exchangeconnectivity test on the website i get the following error
Testing HTTP authentication methods for URL https://lyncdiscover.external.com/Autodiscover/AutodiscoverService.svc/root/user.
HTTP authentication test failed.
Additional Details
A Web exception occurred because an HTTP 404 - NotFound response was received from Unknown.
HTTP Response Headers:
X-MS-Server-Fqdn: lync1.local.com
Connection: close
Content-Length: 64
Content-Type: text/plain
Server: RTC/5.0
Elapsed Time: 427 ms.
After some reading I notice that many people refer to a reverse proxy when dealing with mobility.
I do not have a reverse proxy server installed. Is this required for the mobility to work correctly? I cant just use the edge server?
Thanks in advance for any help.Take a look at Georg Thomas' blog: http://www.lynced.com.au/2014/04/configure-citrix-netscaler-vpx-as.html also the Citrix official documentation: http://www.citrix.com/global-partners/microsoft/netscaler.html
Please mark posts as answers/helpful if it answers your question.
Blog
Lync Validator - Used to assist in the validation and documentation of Lync Server 2013. -
How to monitor Http Request and Response when load testing is going on
Hi,
can any one please let me know how to monitor http request sent and response received for each virtual ID when a load test is going on ?
Thanks,You used to be able to see what the VUs "see" using the "VU Monitor" (it would only do a simple rendering of the HTML but it served it's purpose). However this was replaced (in v12 I think?) by the "VU Log". While this offers simlilar functionality, I have had problems getting to see the same level of detail. You may need to use the "debug" modes. Also check the "Content" tab within the VU Logs (it is the closest equivalent to the HTML you would see in the responses in the old VU Monitor).
-
Load testing with concurrent users on HTTP Web
Hello,
I am trying to do load testing my PHP Web Application.
I record (with Firefox) and developed the testing script with OpenScript,
but I found that I could only test with "Iteration" feature.
Is there any way to do load testing with concurrent users ( multi users login at the same time ) which defined in databank?
Thanks for help.Hi
You need to load the script into OLT (Oracle Load Testing) you can download it from here you need the first link Oracle Application Testing Suite and run the OATSxxx.exe to install OLT.
Regards
Alex -
Info required on load testing the portal
Dear friends,
We are working on EP 7.0.
I have the how to guide on load testing. What I need is the ideal values to which the various test results must tend. I mean I want the specific number values which can be reasonable for optimum system performance.
Regards,
Pawan.There are two meaning to this
ex- material A and product B
In the BOM of B, A is assigned as a BOM component
1. Material (A)is not costed at all
2. If the material (A) in question is costed wih error, then give a warning message or error message when costing its product B.
I hope you are clear. -
OATS - Playback is not working in OpenScript for Load Testing with Web/Http
Hi,
I am able to record the script in Open Script successfully, but when I try to playback the same without making any changes....its fails with error : Failed to solve variable web.input.Submit using path .//input[@name='Submit']/@value
I have already commented the part where password will be matched in the code....thus, login/bad credentials related issues is ruled out as well.
Please help with me some solution.
Following is the recorded script:
import oracle.oats.scripting.modules.basic.api.internal.*;
import oracle.oats.scripting.modules.basic.api.*;
import oracle.oats.scripting.modules.http.api.*;
import oracle.oats.scripting.modules.http.api.HTTPService.*;
import oracle.oats.scripting.modules.utilities.api.*;
import oracle.oats.scripting.modules.utilities.api.sql.*;
import oracle.oats.scripting.modules.utilities.api.xml.*;
import oracle.oats.scripting.modules.utilities.api.file.*;
public class script extends IteratingVUserScript {
@ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
@ScriptService oracle.oats.scripting.modules.http.api.HTTPService http;
public void initialize() throws Exception {
http.setUserAgent("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.2)");
http.setAcceptLanguage("en-US");
* Add code to be executed each iteration for this virtual user.
public void run() throws Exception {
beginStep("[1] FLEXCUBE - PRIVATE BANKING", 0);
http.window(2, "window[@index='0']").get(
"http://10.180.59.185:9500/wm", null, null, true, "UTF8",
"UTF8");
http.solveXPath("web.input.Submit", "/window[@index='0']",
".//input[@name='Submit']/@value", "Sign In", 0,
EncodeOptions.None);
http.solveXPath("web.input.strutstokenname",
"/window[@index='0']",
".//input[@name='struts.token.name']/@value",
"struts.token", 0, EncodeOptions.None);
http.solveXPath("web.input.strutstoken", "/window[@index='0']",
".//input[@name='struts.token']/@value",
"CFSZKA9Z6RSWJTW8TT35GXCNIOIGMJGA", 0,
EncodeOptions.None);
endStep();
beginStep("[2] FLEXCUBE - PRIVATE BANKING - Home", 8538);
http.form(
14,
"window[@index='0']//form[((@id='formLogin' and @name='formLogin') or @action='http://10.180.59.185:9500/wm/j_spring_security_check;jsessionid=B8396BEC73D829538F5E55FEE125330D') and @index='0']")
.submit(null,
http.postdata(
http.param("j_username", "HOHEAD1"),
http.param("j_password",
"a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6"),
http.param("Submit",
"{{web.input.Submit,Sign In}}"),
http.param("struts.token.name",
"{{web.input.strutstokenname,struts.token}}"),
http.param("struts.token",
"{{web.input.strutstoken,CFSZKA9Z6RSWJTW8TT35GXCNIOIGMJGA}}")),
null, true, null, null, null, null, null);
endStep();
beginStep("[3] FLEXCUBE - PRIVATE BANKING", 9875);
http.link(
28,
"window[@index='0']//a[@text='Logout' and (@href='http://10.180.59.185:9500/wm/logout.jsp?logoutToken=0.1189281079747162' or @index='159')]")
.click();
endStep();
public void finish() throws Exception {Hi,
I think your password is encrypted. Try replace password "a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6" with your password.
Or Get output of obfuscate("your password") and replace "a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6" with {{@deobfuscate( output of obfuscate("your password") )}}
Regards,
Deepu M -
Which tool do you use for load testing?
Which tool do you use for load testing for J2EE application?
hi,
i use jmeter for without issues..
first make sure that the system from where you are doing load testing is in the same lan(without firewall) to that of server. Here you are testing the capacity of server and not the network bandwith.
So assuming very good network connection what is the servers performance level...
If u have to decide which tool is decent enough to load testing,
i would suggest go for jmeter. its reliable and i have used it without problems.
Here is my quick tutorial for jemeter which i made for my teams reference.
REFERENCE
For Getting Started refer to any tutorial for Jmeter
You can refer to introduction on
http://jakarta.apache.org/jmeter/usermanual/
RUNNING LOAD TEST
Extract jakarta-jmeter-2.3RC4.zip in c:
install jdk-1_5_0_12-windows-i586-p.exe
Run C:\jakarta-jmeter-2.3RC4\bin\jmeter.bat
In Test Plan add Thread Group
Right Click Thread Group -> Add->Sampler->HTTP Request
Select HTTP Request added fill details
Serverip:www.xyz.com
Port:80
Path:/xyz-webapp/index.jsp
Use KeepAlive: Checked
Retrive All Embeded images from HTML: Checked(For geting images inside html)
Right Click Thread Group -> Add->Listner->Graph Results
Click on Thread Group Fill details
No of Threads:3(This means no of simultaneous users)
Ramp Up Period:1(3 Request will be made in 1 second period)
Loop Count:5(Above process should be repeated how many times)
Save TestPlan
Run -> Clear All
Run -> Start
Click on Graph Results for Output
Try adding different listener in Thread Group
Thread Group -> Add->Listner->Summary Report
Listeners coud be added at thread group level or HTTP Request Level
RECORDING A TEST.
Add a HTTP proxy server in workbench by right clicking on it and selecting Add->Non test Element->HTTP Proxy Server.
In Test Plan Add Thread Group
In HTTP proxy server select Target Controller as Test Plan > Thread Group.
Go to Internet Explorer and go to internet settings and set proxy server as localhost and the port
which is configured in Jmeter proxy server.Save Settings.
In Jeter proxy server start by Clicking on Start button in the HTTP Proxy Server Flap.
In browser navigate the application which you want to test.
The nodes will be added in the Thread Group.
Once Navigation is done stop the proxy server and save the test plan from file menu.
LOGGING INTO APPLICATION.
When we have to login into system and then navigate the system
we need a cookie to be tracked after login. This could be achieved
simply by Add -> Config Element -> HTTP Cooie Manager.
After adding the HTTP Cooie Manager simply run the test.
LOOPING COUNTER.
When a request is made multiple parameter is sent to server.
Parameters are sent from the HTTP Request node added in the Thread Group
in "Send Parameter with the request" table.
If we run the loop count 10 times the parameters will be sent same in every request.
If you have to send parameters like user1,user2,user3,user4....
then add -> Pre processor -> Counter.
Put start as 1 and and Maximum as 10 or whatever required.
Put Referene name as iCtr or whatever.
In the "Send Parameter with the request" in value column put user${iCtr} -
Basic Authentication for load testing WSDL Web Service
I'm trying to load test a web service; the WSDL URL is behind a username and password, using the basic http authentication. I can add the WSDL URL without issue with the username and password, but when I playback the script, I get "401 Unauthorized" errors
I looked at Preferences > Record > Web Services > Proxy Configuration, which then refers you to Preferences > Record > HTTP > Proxy Settings. I also looked at similar settings under Preferences > Playback.
I am running OpenScript (9.1), how do I configure this ... ?
Many thanks!
KM
Edited by: KM on Sep 14, 2011 12:12 PMHello
You can right click on the initialize section of your script then:
Add -> Other -> HTTP -> Authentication.
You need 3 parameters:
A url - http://someurl - that will authenticate any url that contains the http://someurl string e.g http://someurl.com/index.html
A password
A user
The following code should be added in your script:
http.addAuthentication("http://someurl", "username",
deobfuscate("5blNah5kX/XuZnepYwInFw=="));Hope this helps
Alex -
Pages are slow to load or stop loading
Once I'm connected to wi-fi, my pages are slow to load or stop loading and tell me 'I'm not connected".
If you are having the problem on more than one computer it would appear not to be a computer fault or your browser that is the problem.
The first thing I would do is a factory reset of the homehub by pressing a pin into the recess button on the rear for about 20 seconds. This can often sort out problems and will also give you a "clean sheet" to start some diagnostics from.
If this doesn't help please post what Infinity package you are on, I assume with 18Mbps it's Infinity 1 but please confirm, and do you have an Openreach modem and what homehub you have.
Also run this checker and post back a screen shot of the results
http://www.dslchecker.bt.com/adsl/adslchecker.welcome
and use this speed tester then carry out the further diagnostics and post back a screen shot of all the results including your IP profile for up and down. This test must be done with a wired connection.
http://speedtest.btwholesale.com/
Maybe you are looking for
-
I on a website trying to copy and paste a resume and I get the above message. %APPDATA%\Mozilla\Firefox\Profiles. This I put in my program folder. Per your instructions in your security preferences web page.
-
Is there a way to make my HP 6400 printer/fax compatible with WIndows 8.1?
I have tried to install my printer software for my HP all-in-one 6400, but have gotten a message that it is not compatible with Windows 8.1. Is there any type of "patch" or anyhting I can do short of purchasing a new printer?
-
I have a scenario in which a Webservice is called from PI; as the webservice request some specific fields in the SOAP-header I have found that I should check the "Do not use SOAP envelope" option in the SOAP-receiver channel. I have searched the foru
-
Please help qt just closes on me
ok so i wanna export a movie, so i click, export, choose my file, then go into settings the change around the h.264 settings, once i hit video settings on the options window. quicktime just closes, and goes away anyone know the answer? when i checked
-
HT204053 how do i sync my iphone to my new ipad
How do i sync my new ipad 4 with my iphone 4s