Load Scripts for stress testing any OAF related application

This may not be the correct forum. However, i'm sure many of you might have used load scripts to stress test your OAF related application.
Can any of please shed some light on how to make these load scripts for automated testing for finding the performance of OAF appls (like iPro or iExpense)? What tool do we use for these type of Self Serv appls? How can we parameterise some of the session related values inside load scripts?
Any of your experiences will give me a good start....Thanks

Answers to these questions are generally dependent on the application server to which you will be deploying, as each application server has its own means of tuning for performance.
For tuning Sun's App Server 8, see the online Performance Tuning Manual, at http://docs.sun.com/app/docs/doc/819-2561
// Gregory

Similar Messages

  • Cannot load script for execution.

    hi 
     iam creating  the  sisi package  with in script task . script task   was  build successful .  but when i was executive the ssis packages vs 2012.
     it get  error :Cannot load script for execution..
     the code is 
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    using System.IO;
    namespace ST_8cdbf584a74b48abb384d8f03cf42f4d.csproj
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
    The execution engine calls this method when the task executes.
    To access the object model, use the Dts property. Connections, variables, events,
    and logging features are available as members of the Dts property as shown in the following examples.
    To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
    To post a log entry, call Dts.Log("This is my log text", 999, null);
    To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
    To use the connections collection use something like the following:
    ConnectionManager cm = Dts.Connections.Add("OLEDB");
    cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
    Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
    To open Help, press F1.
            public void Main()
                byte[] dataByte = null; String errInfo = "";
                try
                    String sDirectory = Dts.Variables["User::Directory"].Value.ToString();
                    String CreatePartitionFileXMLA = sDirectory + "\\partitionssales20010701to20010731.XMLA";
                    String ProcessPartitionFileXMLA = sDirectory + "\\partitionssales20010701to20010731.XMLA";
                    // Create XMLA Script
                    Dts.Variables["User::CreatePartitions"].Value = ReadFile(CreatePartitionFileXMLA, errInfo);
                    if (errInfo.Length > 0)
                        Dts.Log("Error while reading XMLA file: " + errInfo, 0, dataByte);
                        Dts.TaskResult = (int)ScriptResults.Failure;
                    //Process XMLA Script
                    Dts.Variables["User::ProcessPartitions"].Value = ReadFile(ProcessPartitionFileXMLA, errInfo);
                    if (errInfo.Length > 0)
                        Dts.Log("Error while reading XMLA file: " + errInfo, 0, dataByte);
                        Dts.TaskResult = (int)ScriptResults.Failure;
                    Dts.TaskResult = (int)ScriptResults.Success;
                catch (Exception ex)
                    Dts.Log("Error Message: " + ex.Message, 0, dataByte);
                    Dts.TaskResult = (int)ScriptResults.Failure;
            public String ReadFile(String FilePath, String ErrInfo)
                String strContents;
                StreamReader sReader;
                try
                    sReader = File.OpenText(FilePath);
                    strContents = sReader.ReadToEnd();
                    sReader.Close();
                    return strContents;
                catch (Exception e)
                    MessageBox.Show(ErrInfo);
                    ErrInfo = e.Message;
                    return "";
     how to solve this issue
     pleasse help me..

    Hi sheshu0022,
    Based on my research, the issue can be occurred due to something get corrupted in the script task. To fix this issue, please copy the code in the task, then rebuild the script task with the same code to test again.
    The following similar thread is for your reference:
    http://stackoverflow.com/questions/15165760/ssis-script-task-fails-on-server-with-error-cannot-load-script-for-execution
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Cannot load script for the required change in butt...

    I got the email saying Skype will be changed after 15 March.  It says we need the new buttons.  So I go the site, and then there is a big box which says: "cut and paste this" which is:
    <script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
    <div id="SkypeButton_Call_[Removed for privacy]_1">
    <script type="text/javascript">
    Skype.ui({
    "name": "call",
    "element": "SkypeButton_Call_[Removed for privacy]_1",
    "participants": ["[Removed for privacy]"],
    "imageSize": 32
    </script>
    </div>
    So where do I paste this script. Plus I get we need to do on our Ipads as well.

    Hi sheshu0022,
    Based on my research, the issue can be occurred due to something get corrupted in the script task. To fix this issue, please copy the code in the task, then rebuild the script task with the same code to test again.
    The following similar thread is for your reference:
    http://stackoverflow.com/questions/15165760/ssis-script-task-fails-on-server-with-error-cannot-load-script-for-execution
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Creating SQL-Loader script for more than one table at a time

    Hi,
    I am using OMWB 2.0.2.0.0 with Oracle 8.1.7 and Sybase 11.9.
    It looks like I can create SQL-Loader scripts for all the tables
    or for one table at a time. If I want to create SQL-Loader
    scripts for 5-6 tables, I have to either create script for all
    the tables and then delete the unwanted tables or create the
    scripts for one table at a time and then merge them.
    Is there a simple way to create migration scripts for more than
    one but not all tables at a time?
    Thanks,
    Prashant Rane

    No there is no multi-select for creating SQL-Loader scripts.
    You can either create them separately or create them all and
    then discard the one you do not need.

  • Need data loader script for Buyer Creation for R12

    Hi ,
    Anybody has data loader script for Buyer creation in R12. Please copy paste one line in the reply on this message.
    Thanks

    Hi ,
    Anybody has data loader script for Buyer creation in R12. Please copy paste one line in the reply on this message.
    Thanks

  • IDOC massive loading (for stress tests purposes)

    Team,
    Is there a clean and easy way to load (tons) of IDOC into SAP XI ?
    Using the WE19 tcode ? Write an ABAP pgm that will loop ?
    We are looking for a method to do our IDOC stress test.
    Merci !

    Hi,
    in WE20 put IDOCs in collect mode (outbound profile)
    then record WE19 and create a few 1.000
    then bd87 and here we go
    or BD10 and you can create many at once (materials)
    Regards,
    michal

  • Please recommend a tool for stress-testing ?

    Could anyone please recommend a (free) tool to do multi-threaded stress-test, on plain java classes ?
    In more detail: I'd like to do unit-test for some plain java methods (only mathematical calculations. No web interface, no swing).
    The emphasis is stress test: i need to launch multiple threads, all of them repeately invoking my method. Under these conditions, I need to report correctness (has the method yielded the expected return value), and statistics on response time.
    Any recommendations would be appreciated . Thanks !

    alex888 wrote:
    Working on a project that need me read data from delimited text file, the data will be converted to a tree-structure. So it's better parse the data into XML format first.What??? Why? You've got a text file and need an object tree, why do you think going to XML in between is a good idea?
    Besides j2se or jdom, any fast tool for it?What do you mean with "j2se", that's not a XML handling tool (it contains several, 'though).
    SAX sounds good for building object trees from XML, but there are several XML mapping libraries out there (try google).

  • Batch load script for Order Management with Oracle R12 EBS

    Hello,
    I am looking for a way to load a million dummy test records into Order Management. For example, I would like to automate a batch process to generate a million new sales orders for Oracle 12.1.1 EBS on Linux platform. If anyone has an idea on how to script this, would appreciate your help.

    Two questions:
    1. How would I modify the following script to generate a million new orders for OM:
    2. How can I register and create a concurrent program with the script?
    SET SERVEROUTPUT ON;
    DECLARE
    v_api_version_number NUMBER := 1;
    v_return_status VARCHAR2(2000);
    v_msg_count NUMBER;
    v_msg_data VARCHAR2(2000);
    -- IN Variables --
    v_header_rec oe_order_pub.header_rec_type;
    v_line_tbl oe_order_pub.line_tbl_type;
    v_action_request_tbl oe_order_pub.request_tbl_type;
    v_line_adj_tbl oe_order_pub.line_adj_tbl_type;
    -- OUT Variables --
    v_header_rec_out oe_order_pub.header_rec_type;
    v_header_val_rec_out oe_order_pub.header_val_rec_type;
    v_header_adj_tbl_out oe_order_pub.header_adj_tbl_type;
    v_header_adj_val_tbl_out oe_order_pub.header_adj_val_tbl_type;
    v_header_price_att_tbl_out oe_order_pub.header_price_att_tbl_type;
    v_header_adj_att_tbl_out oe_order_pub.header_adj_att_tbl_type;
    v_header_adj_assoc_tbl_out oe_order_pub.header_adj_assoc_tbl_type;
    v_header_scredit_tbl_out oe_order_pub.header_scredit_tbl_type;
    v_header_scredit_val_tbl_out oe_order_pub.header_scredit_val_tbl_type;
    v_line_tbl_out oe_order_pub.line_tbl_type;
    v_line_val_tbl_out oe_order_pub.line_val_tbl_type;
    v_line_adj_tbl_out oe_order_pub.line_adj_tbl_type;
    v_line_adj_val_tbl_out oe_order_pub.line_adj_val_tbl_type;
    v_line_price_att_tbl_out oe_order_pub.line_price_att_tbl_type;
    v_line_adj_att_tbl_out oe_order_pub.line_adj_att_tbl_type;
    v_line_adj_assoc_tbl_out oe_order_pub.line_adj_assoc_tbl_type;
    v_line_scredit_tbl_out oe_order_pub.line_scredit_tbl_type;
    v_line_scredit_val_tbl_out oe_order_pub.line_scredit_val_tbl_type;
    v_lot_serial_tbl_out oe_order_pub.lot_serial_tbl_type;
    v_lot_serial_val_tbl_out oe_order_pub.lot_serial_val_tbl_type;
    v_action_request_tbl_out oe_order_pub.request_tbl_type;
    BEGIN
    DBMS_OUTPUT.PUT_LINE('Starting of script');
    -- Setting the Enviroment --
    mo_global.init('ONT');
    fnd_global.apps_initialize ( user_id => 123
    ,resp_id => 456
    ,resp_appl_id => 789);
    mo_global.set_policy_context('S',785);
    -- Header Record --
    v_header_rec := oe_order_pub.g_miss_header_rec;
    v_header_rec.operation := oe_globals.g_opr_create;
    v_header_rec.order_type_id := 1005;
    v_header_rec.sold_to_org_id := 7157;
    v_header_rec.ship_to_org_id := 5480;
    v_header_rec.invoice_to_org_id := 5181;
    v_header_rec.order_source_id := 0;
    v_header_rec.booked_flag := 'N';
    v_header_rec.price_list_id := 7018;
    v_header_rec.pricing_date := SYSDATE;
    v_header_rec.flow_status_code := 'ENTERED';
    v_header_rec.cust_po_number := '99478222532';
    v_header_rec.sold_from_org_id := 83;
    v_header_rec.salesrep_id := -3;
    v_header_rec.transactional_curr_code:= 'GBP';
    v_action_request_tbl (1) := oe_order_pub.g_miss_request_rec;
    -- Line Record --
    v_line_tbl (1) := oe_order_pub.g_miss_line_rec;
    v_line_tbl (1).operation := oe_globals.g_opr_create;
    v_line_tbl (1).inventory_item_id := 27893;
    v_line_tbl (1).ordered_quantity := 1;
    v_line_tbl (1).unit_selling_price := 2000;
    v_line_tbl (1).calculate_price_flag := 'Y';
    DBMS_OUTPUT.PUT_LINE('Starting of API');
    -- Calling the API to create an Order --
    OE_ORDER_PUB.PROCESS_ORDER (
    p_api_version_number => v_api_version_number
    , p_header_rec => v_header_rec
    , p_line_tbl => v_line_tbl
    , p_action_request_tbl => v_action_request_tbl
    , p_line_adj_tbl => v_line_adj_tbl
    -- OUT variables
    , x_header_rec => v_header_rec_out
    , x_header_val_rec => v_header_val_rec_out
    , x_header_adj_tbl => v_header_adj_tbl_out
    , x_header_adj_val_tbl => v_header_adj_val_tbl_out
    , x_header_price_att_tbl => v_header_price_att_tbl_out
    , x_header_adj_att_tbl => v_header_adj_att_tbl_out
    , x_header_adj_assoc_tbl => v_header_adj_assoc_tbl_out
    , x_header_scredit_tbl => v_header_scredit_tbl_out
    , x_header_scredit_val_tbl => v_header_scredit_val_tbl_out
    , x_line_tbl => v_line_tbl_out
    , x_line_val_tbl => v_line_val_tbl_out
    , x_line_adj_tbl => v_line_adj_tbl_out
    , x_line_adj_val_tbl => v_line_adj_val_tbl_out
    , x_line_price_att_tbl => v_line_price_att_tbl_out
    , x_line_adj_att_tbl => v_line_adj_att_tbl_out
    , x_line_adj_assoc_tbl => v_line_adj_assoc_tbl_out
    , x_line_scredit_tbl => v_line_scredit_tbl_out
    , x_line_scredit_val_tbl => v_line_scredit_val_tbl_out
    , x_lot_serial_tbl => v_lot_serial_tbl_out
    , x_lot_serial_val_tbl => v_lot_serial_val_tbl_out
    , x_action_request_tbl => v_action_request_tbl_out
    , x_return_status => v_return_status
    , x_msg_count => v_msg_count
    , x_msg_data => v_msg_data
    DBMS_OUTPUT.PUT_LINE('Completion of API');
    IF v_return_status = fnd_api.g_ret_sts_success THEN
    COMMIT;
    DBMS_OUTPUT.put_line ('Order Import Success : '||v_header_rec_out.header_id);
    ELSE
    DBMS_OUTPUT.put_line ('Order Import failed:'||v_msg_data);
    ROLLBACK;
    FOR i IN 1 .. v_msg_count
    LOOP
    v_msg_data := oe_msg_pub.get( p_msg_index => i, p_encoded => 'F');
    dbms_output.put_line( i|| ') '|| v_msg_data);
    END LOOP;
    END IF;
    END;
    /

  • RPC FAILURE: For stress test

    I am working with Sun Rpc for providing the client server interface in my project. I have observed that during stress testing after approx 3 hour client start taking a lot of time to process and give back the result. Although server side time stamp is still in microseconds, whereas client side gone in secs.Do any body face such problem previously if yes please let me know the solution.

    Hi Tim.
    Did you figure this problem out?
    I'm having some kind of the same problem.
    And is curious about how you solved it.

  • Tools for stress testing

    Does any one have any idea if there are any oracle tools to perform stress test on App Server for a given application.

    There are tools to perform the performance analysis of BPC, one is loadrunner.  But be careful when defining the "hundreds of users using the application simultaneously"; There are many scenarios in my mind, where you could have several hundred users using BPC, but not sending or retrieving data at the exact same time.  You might check the SAP sit eto see if any presentations are posted from the Sapphire conference this Spring.
    Hope this helps.

  • Username password required for stress testing of 10G ESB process

    Hi I have an 10G ESB process.
    while stresstesting ESb process,getting the prompt saying server(name) requires authencation.SOASuit10G is installed in HP-UX server.
    have tried my HP server username/ pwd,windows login credentials,oc4jadmin..ect but no luck
    can you pls let me know what username/pwd its expecting..?
    Regards,
    Narasimha.

    My ESB process enqueues messages into the JMS queue.when I select stress test option,its prompting me to enter details of username/pwd.

  • How to stress test VC 7.0 applications ?

    Hello,
    I'm a sap basis guy, our developers team will very soon deploy Visual Composer 7.0 applications on our Portal Production environnement.
    I have been asked to to check whether the current portal configuration will be able to handle the additional worload ...
    In my opinion, the only way to determine the impact on the portal of the iviews executed on the Visual composer Runtime is to perform a stress test. 
    I've proposed the Microsoft Web Application Server Tool to our developement team, but I've been answered that this tool can't help measuring user interaction
    Apparently, the MWAS tool is just simulating user interaction with a web application by crafting POST and GET HTTP requests. On the other hand, the flash application doesnu2019t care about HTTP requests it is just a Flash Virtual Machine hosted by a single web page.
    Unless we can emulate user interaction in the stress test, Ithe results of the tests will be meaningless.
    Do you know any other way to measure user interaction and therefore to perform a relevant stress test ?
    Thank you
    Any help would be highly appreciated.
    Best Regards.

    I've been answered by Marcel Salein on his blog : ask SAP for a GoLive check

  • Reverse Proxy and Load Balancer for SMP 2.3 and Agentry Application

    Hi Expert,
    I'm putting in place a mobile solution composed by SMP 2.3 SPS 4 and SAP ECC 6.0. In the SMP 2.3 I created the agentry server and I have deployed my agentry application.
    My SMP/Agentry infrastructure is composed by two servers therefore I need a load balancer for balance the load into the several servers. Furthermore I need to use a reverse proxy in my DMZ zone.
    Based on what indicated in the SAP note "1904213 - SAP Mobile Platform Server Release Information" the Apache Reverse Proxy is not supported for Agentry clients. Agentry uses nginx for Reverse Proxy.
    I also found the following document How-to-Guide for Reverse Proxy and Load Balancing in SAP Mobile Platform 3.x that explain how to set-up a reverse proxy and load balancer with nginx and apache.
    Both the SAP note and the HOW to document are refereed to SMP 3.0 and not to SMP 2.3.
    I would know if the NGINX must be used also for SMP 2.3.
    Any suggestion/information is appreciated.
    Thanks in advance
    g.

    Please see Agentry Network Landscapes

  • Using "sapbi://" URL in web browser for stress-testing

    Hello,
    I want to test the connection limits of the deployed MobileBIService in the CMC, as I've experienced some sluggish connections.
    I've checked, and the "sapbi://" URI points directly to the SAP BI app, which then opens the requested report. A link example is:
    sapbi://OpenDoc/?
    ConnectionType=BOEConnection&connection_name=123&server_url=10.10.10.10:8080&cms=10.10.10.10&Type=webi&iDocID=AXtcyDP4u09Jn1_P9BSR9H0
    Is it possible to mask http data coming from a web browser, as coming from a mobile device (via the SAP BI app), in order to test the mobile service/server?
    If not, what is the http data request used in the app that can be used in a web browser, and still go through the MobileBIService?
    Is there a way to trace the data, to make sure that that server is being stressed?
    I am using:
    Android SAP BI app;
    SAP BO 4.1 SP04, with Mobile CMS deployed.
    Thanks in advance for the insights!
    Best Regards,
    Hugo Afonso

    On the other hand, my users want this. I just pushed out the Reader 8.2.3 update with the 8.2.0 install. Unfortunately, I had erroneously set the mst to "Make Reader default if both Acrobat and Reader are installed." They all want Acrobat to be their default. Can I use this same registry setting? I'm going to try it for a few people and see if it works.
    Thanks,
    E Powell
    Austin, TX

  • After upgrading to 12, I am not able to scroll in a tab until the tab is finished loading. For multiple tabs: any tab can be loading and all others lock.

    Since upgrading to 12, I am unable to scroll in a tab until that tab finishes loading. Worse yet, I'm unable to scroll in ANY tab if one of multiple is loading. Further: I cannot even switch tab views if ANY tab is loading. I have not changed any settings. This only started when upgrading to 12. Oh how I would love to roll it back to 11. Is anyone else seeing this happen?

    Please make sure that your settings are correct for session restore:
    [https://support.mozilla.org/en-US/kb/restore-previous-session#w_troubleshooting]
    If the feature has changed, this may have affected thesession. However for good measure I would also recommend an add on like Session Manager to keep back ups.
    As for the back up you have access too, in order to restore sessions please see the profile restoration kb: [[Recovering important data from an old profile]]

Maybe you are looking for

  • Admin problem activating Firevault in User a/c

    Have activated FireVault in my Admin a/c & in one user a/c, no problems. However in the last a/c  , my partners its refusing to acknowledge my admin password which is valid. There's is plenty of HD space available. Any Suggestons? There's is nothing

  • Recording back to tape

    I was just wondering if someone can point me to some instructions on how to write a previously "captured" MiniDV tape back to a MiniDV tape. I imported them all into iMovie '08, as that was where I was doing my editing. I made the mistake of taping o

  • Is it possible to resize individual slides?

    Hi! I'd need some help with my movie: I'm recording a program that opens multiple windows in different sizes, some of these are non-resizeable dialog boxes. What I'd like to do is to always show the current window in the height of my movie. In the re

  • Cant create policys zenworks 10.3.1

    everything looks good until i hit the last finnish button. Review the information and click "Finish" to create the new policy. The wizard cannot continue for the following reason(s): Unable to complete your request for the following reason: com.novel

  • Workspace Customization in OPBM Enterprise for WLS

    All, Has anyone modified the default workspace layout in OBPM on WLS? We have made a couple of small modifications based on the guide, but when these are deployed to the webroot foder in OBPM-HOME, and the engine re-started, the changes do not appear