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
Similar Messages
-
Load Testing with different users
I have scripts that require certain roles to run. I also have a bank of users all grouped for which scripts they can run. I have the user names in which I want to run the script under in my db. How do I set the load test to launch the test under an
"instance" of a browser with a specific user (impersonation)?
In other words, I have a script that looks at the next row in the db, gets that user name, launches a browser as that user and runs the load test script selected.
Any ideas?Hi Countrysideflair,
Based on my understanding, you have multiple tests in your load test scenario, the first test may launch a browser with users, and then you expect a way that specific tests will be executed based on the specific user.
If I understand correctly, there is no built-in feature in load test to meet your requirement. My suggestion is that you make a test to launch browser with a specific user and add the test and the specific tests which the user
can run into one load test scenario, then add a new load test scenario, add the test which launch a browser with another specific user and another set of specific tests which this user can run into the second scenario.
Thanks,
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. -
OHS restarts automatically with a load test of 1500 users
Hi All,
We have performance issue with OAM 11.1.1.5.
We have integrated with peoplesoft with OAM. When we test the users with a load of 1800 concurrent users, OHS gets restart Automatically.
Can anyone let me know are there any performance tuning parameters for OHS that needs to be performed either from OHA or OAM end.
Below are the env details
OAM 11.1.1.5
OHS11.1.1.5
DB11.2.0.1
Hardware Architecture: Linux x86-64Hello NM. It sounds like you are trying to do a 'fix and continue' type operation but Websphere is restarting with the new code instead of just continuing with it.
This forum is about the underlying JDK technologies that are used by debuggers such as Websphere. Your problem is probably with Websphere itself. You said you cross-posted to devworks. I presume that means you posted here:
http://www.ibm.com/developerworks/forums/wsdd_forums.jspa
I hope someone there can help you. You might verify that you are using the same JDK and Websphere as is your freind on whose machine it works ok.
- jjh -
How do we can start Load Testing with e-Load
How do we can start Load Testing with e-Load?
Please help?
GajananHi,
if you allready have the software and a license, i would recomend that you try to get a training from Empirix. this is the best way of ensuring that the investment you did with the software gets maximum payback. training offers is something you can get from your empirix sales rep.
if you DONT have the software and license, the first step is to get in touch with Empirix for an offer (for software and a training as well)
the training helps you to unserstand how to work with the product and how to unserstand the results
I hope that this helps you further
/m -
A quick question about WebDynpro SLD and R/3 with concurrent users
Hello ,
I have a very quick question about Webdynpros and SLD connecting to an R/3 system, when you configure a webdynpro to connect to an R/3 system using SLD, you configure a user name and password from the R/3 for the SLD to use. What I would like to know is when I have concurrent users of my webdynpro, how can I know what one user did in R/3 and what another user did? Is there a way for the users of the web dynpro to use their R/3 credentials so SLD can access the R/3? Like dynamically configuring the SLD for each user?
- I would like to avoid leaving their their passwords open in the code ( configuring two variable to get the users username and password and use these variables as JCO username and password )
Thanks Ubergeeks,
GuyHi Guy
You will have to use Single Sign On to achieve this. In the destination you have defined to connect to R/3 , there is an option to 'useSSO' instead of userid and password. This will ensure that calls to R/3 will be with the userid that has logged into WAS. You wont need to pass any passwords because a login ticket is generated from WAS and passed on to R/3. The userid is derived from this ticket.
For this to happen you will have to maintain a trust relation ship between R/3 and your WAS ,there is detailed documentation of this in help files. Configuration is very straight forward and is easy to perform
Regards
Pran -
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 -
Error with concurrent users- Activation Passivation Bind variable ?
I have a programmatic view object based on procedure call that returns a ref cursor.
Application Module has a function that exposes get Method for this View object using client interface.
Everything works good until many users call the same Method ,for many concurrent users i got the below error intermittently :
JBO-27122: SQL error during statement preparation.
Attempt to set a parameter name that does not occur in the SQL: bussId
For 1 or 2 users this works perfectly fine.
bussId is a bind variable defined at View object of type Array.
I understand this should be because of activation/passivation as many users calling same function comes to picture.
To solve this I overloaded activateState/passivateState in View implementation for the bind var.
But i don't see those methods getting invoked ever.
I also enabled connection pool/AM pool and kept the default pool values high enough for concurrent users.
Nothing works .
Appreciate any help in this regard.
-SamHi,
See
http://antonis-antoniou.blogspot.com/2012/02/ensuring-that-your-adf-application-is.html -
Load Testing with onpremises TFS
Hi,
I have an on premises TFS.I would like to do Load Testing. Pls suggest me convenient ways.
(Can we run load testing of onpremises apps on VSO if we have one VSO license?)
Thank you
SuHi
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 -
Hi,
I would like to know the procedure to make Load Testing Using eCATT... I have got very less information on this using ST30. Also I have some information that we can do load testing using solution manger. But can anyonw explain me using a test case.
You can also post your answers to [email protected]
Thanks in advance.Hi Harsha,
Load test cannot be done via ST30 at all. Please try Load Runner.
Kind Regards, Qian -
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 -
FMS Load Balancing With RTMP User Pairing
Hey All,
I'm running into an issue with scaling an FMS environment to what we need.
We need to create an RTMP environment that can support up to 1 Million
simultaneous connections. Just so you get an idea of the scale I'm talking
about.
I'm looking to have multiple FMS servers running behind a switch that interprets
the incoming RTMP request and redirects to the appropriate server.
My current test environment has one switch with three FMS servers behind it.
I'm sending the switch a URL like "rtmp://111.111.111.111/s1/". The "s1" is
passed by the RTMP call to the switch, but the switch doesn't see the variable
to determine the redirect path.
There are two reasons we are using variables for a switch to interpret:
1. Without the switch interpreting the variable, it can only do a round robin
approach and we need to be able to precisely target FMS servers since we
are pairing users over RTMP for conferencing.
2. We don't want to make the FMS server IPs public.
When testing, I've noticed that the RTMP variable "s1" isn't in the inital
handshake header that is sent by the client and that this may be why the "s1"
isn't interpreted by the switch.
Any and all input would be greatly appreciated.
Thanks,
RobertHello,
First time logon request :
When a new login request comes, it comes to message server. message server pass this request to best available application server dispatcher.
then dispatcher distributes the requests one after the other to the available work processes. Data is actually processed in the work process, whereby the user who created the request using the SAP GUI is not always assigned the same work
process. There is no fixed assignment of work processes to users.
Once user is already logged in :
Now, new transaction request for already logged on user will be always processed by same application server where he logged in first time. His transaction request from GUI comes to Dispatcher of the application server then dispatcher distributes the requests one after the other to the available free work processes(may be different). (means already logged on user may get different work process but from same application server)
also read this :
http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2e8a358411d1829f0000e829fbfe/content.htm
How dispatcher works
thanks
ashish
Edited by: ashish vikas on Aug 22, 2011 12:06 AM -
STS load hierarchy with responsible users
Hi,
I want to load the organizational hierarchy in STS with relative responsible user. Sap says that this is possible with a BADI UPS_NAME_RESOLVE; if someone have implemented this Badi, could send me the relative code?
Thanks in advance.data: is_hierarchy type upc_ys_hie_str,
is_resolve type ups_ys_resolve,
it_chasel type table of UPC_YS_API_CHASEL,
"type UPC_Yt_API_CHASEL,
is_chasel type upc_ys_api_chasel,
it_atrval type table of UPC_Ys_API_ATRVL,
is_atrval type upc_ys_api_atrvl,
is_to_chadep type UPC_YS_CHADEP.
loop at it_hierarchy into is_hierarchy.
if is_hierarchy-chanm = '0FUNDS_CTR'.
clear is_chasel.
is_chasel-chanm = is_hierarchy-chanm.
is_chasel-sign = 'I'.
is_chasel-option = 'EQ'.
is_chasel-low = is_hierarchy-NODENAME.
insert is_chasel into table it_chasel.
loop at is_hierarchy-to_chadep into is_to_chadep.
clear is_chasel.
is_chasel-chanm = is_to_chadep-chanm.
is_chasel-sign = 'I'.
is_chasel-option = 'EQ'.
is_chasel-low = is_to_chadep-chavlint.
insert is_chasel into table it_chasel.
endloop.
endif.
endloop.
sort it_chasel.
delete adjacent duplicates from it_chasel.
CALL FUNCTION 'API_SEMBPS_CHA_VALUES_GET'
EXPORTING
I_AREA = i_area
I_CHANM = '0FUNDS_CTR'
I_READ_ATTR = 'X'
IMPORTING
E_SUBRC =
ES_RETURN =
TABLES
ITK_CHASEL = it_chasel
ETK_CHAVL =
ETK_ATRVL = it_atrval.
sort it_atrval.
loop at it_hierarchy into is_hierarchy.
if is_hierarchy-chanm = '0FUNDS_CTR'.
clear is_resolve.
is_resolve-nodeid = is_hierarchy-nodeid.
read table it_atrval with key chavlext = is_hierarchy-nodename
atrnm = '0FMRESPO'
into is_atrval binary search.
if sy-subrc = 0.
is_resolve-name = is_atrval-atrvlext.
insert is_resolve into table et_resolve.
endif.
endif.
endloop. -
Performance issue with BW Reports for concurrent users
All:
I notice that one BW report that runs in few seconds will take upto 3.5 minutes when multiple users run it at the same time.
We are in BW 3.5 and we run reports for portal.
Does anyone have any suggestion about how to handle performance issue with concurrent users?
Thanks,
PranabHi,
use the OLAP-cache and/or aggregates and consider using load balancing to distribute the users to several servers.
Kind regards
/martin -
Tools for load testing SharePoint 2007
Please advice a tools, which i can use for load testing a SharePoint 2007. We had one issue with performance and want now to detect a reason. So i need to simulate a load testing with 500-600 users for one SharePoint page.
I have found some information, that i can use a Visual Studio Test Edition, but my level of MSDN subscriber has just a Visual Studio. May be there is another free tools for this...Hi Evgeny,
SharePoint test data load tool (WSSDW.exe) can be used for your scenario, this article should help you to start with-
Tools for performance and capacity planning (Office SharePoint Server)
http://technet.microsoft.com/en-us/library/cc262198(v=office.12).aspx
To download the tool - http://sptdatapop.codeplex.com/
Bill Baer has good blog on this -
http://blogs.technet.com/b/wbaer/archive/2007/08/02/stress-testing-microsoft-office-sharepoint-server-2007-windows-sharepoint-services-3-0.aspx
http://blogs.msdn.com/b/sanjaynarang/archive/2009/04/18/sharepoint-performance-stress-load-testing.aspx
http://blogs.msdn.com/b/edglas/archive/2007/02/17/sharepoint-load-tests.aspx
another tool to consider - Web Capacity Analysis Tool
http://technet.microsoft.com/en-us/magazine/2008.04.utilityspotlight.aspx?pr=blog
http://support.microsoft.com/kb/231282/en-us
http://blogs.iis.net/thomad/archive/2010/05/11/using-the-wcat-fiddler-extension-for-web-server-performance-tests.aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you -
Load Test Results - time series request data for by URL in VS2013
I am trying to figure out how to export and then analyze the results of a load test, but after the test is over it seems I cannot find the data for each individual request by url. This data shows during the load test itself, but after it is over it seems
as if that data is no longer accessible and all I can find are totals. The data that I want is under the "Page response time" graph on the graphs window during the test. I know this is not the response time for every single request and is probably
averaged, but that would suffice for the calculations I want to make.
I have looked in the database on my local machine (LoadTest2010, where all of the summary data is stored) and I cannot find the data I'm looking for.
My goal is to plot (probably in excel) each request url against the user load and analyze the slope of the response time averages to determine which requests scale the worst (and best). During the load test I can see this data and get a visual idea but when
it ends I cannot seem to find it to export.
A) Can this data be exported from within visual studio? Is there a setting required to make VS persist this data to the database? I have, from under Run Settings, the "Results" section "Timing Details Storage" set to "All individual
details" and the Storage Type set to "Database".
B) If this data isn't available from within VS, is it in any of the tables in the LoadTest2010 database where all of the summary data is stored?
Thanks
LukeHi Luke,
Since the load test is used to
simulate many users accessing a server at the same time, it is mainly verify a wev server load stress.
As you said that you want to find the data
for each individual request by url, I know that generally we can analyze the url request from the Summary like the following screen shot.
>>I
have looked in the database on my local machine (LoadTest2010, where all of the summary data is stored) and I cannot find the data I'm looking for.
I suggest you can try to add the
SQL Tracing Connect String in the Run Setting properties to trace the data.
Reference:
https://social.msdn.microsoft.com/Forums/en-US/74ff1c3e-cdc5-403a-b82f-66fbd36b1cc2/sql-server-tracing-in-visual-studio-load-test?forum=vstest
In addition, you can try to create an excel to analyze the load test result, for more information:
http://msdn.microsoft.com/en-us/library/dd997707.aspx
Hope it help you!
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.
Maybe you are looking for
-
We have two offices with two different Unity Servers for voicemail. I would like to transfer a voicemail from my office to the second office, unfornatually the two unity servers dont know about each other's numbers. What would I need to setup to al
-
Create in S_ALR_87012284 one variant default
Hi specialist I would like to call the transaction S_ALR_87012284 and if it is possible appear with one variant by default. Is it possible? Thanks
-
Calling SQL*Loader from OCCI
Hi All, I need to access SQL*Loader from C++. I know there is an interface for OCI to access SQL*Loader. I also know there is a gnu project of a c++ wrapper to the OCI-SQL*Loader interface (odpd). According to the OCCI documentation it is just a C++
-
How do I get rid of "(iPhoto)" keyword?
Years back, when I migrated from iPhoto to Aperture, I imported tens of thousands of pictures that I had at that point. I've since been tagging all the new pictures with initials of my kids, but have run into a keyword problem I can't solve: approx 1
-
Hello, I have bought a N72 that has been made in Beijing in Bangladesh, but the only languages available on the phone are English, Philipino, Indonesian and Malaysian. I have asked in a Nokia Care Center today but they said they can't install a Germa