Loadtesting/eTester recording of AMF

hey,
I need to write some loadtest scripts that uses AMF protocols (using weborb) for a RIA project that we're doing but i'm having some problems using eTester with capturing any data when i record. Does eTester support this? I've tried to use the proxy recorder but to no avail (using application/x-amf in the proxy command settings).
Any help would be much appreciated.
cheers
david
David Carter
Test Lead
LBi

hey,
Thanks. I've managed to capture the AMF steps but i forgot to mention that i also need to paramterise some of the data in the form submission (essentially some steps need this for registering and logging in etc). I cant see the forms individual field data, is eTester capable of capturing this or can i manually send parametised data in AMF? Or is it only possible to send static AMF requests? Or perhaps there's is another angle im neglecting to consider?
cheers for all your help so far.
David
David Carter
Test Lead
LBi

Similar Messages

  • Recording a thick java client app

    Can eTester record a thick java client application? I've tried using proxy but that doesn't appear to work.

    James
    eTester can record thick client app HTTP requests, you should use:
    A external proxy recorder:
    - Options -> Current Script -> Recording -> Proxy and select record navigations in a external application.
    - Remove the ;application/* from the exclude statement
    - Set the proxy of the thick Java app to point to, localhost on port 7777
    If the thick java app is a Java Applet you will need to set the JVM to point to the porxy at locahost 7777 to do so:
    - Start -> Control Panel -> Double click on Java -> under the general tab select network settings, select use proxy server and enter the proxy settings.
    Happy recording !!!!
    Alex
    Edited by: aamat on Dec 10, 2008 9:42 AM
    Edited by: aamat on Dec 10, 2008 9:43 AM

  • OpenScript not recognizing Oracle Forms while recording loadtesting scripts

    Hello folks,
    I am trying to record loadtesting scripts for Oracle R12 forms, but OpenScript is unable to record the actions.
    And yes, i did select EBS/Forms as the type of script :)
    OpenScript Version: 12.1.0.1 Production
    Regards,
    Nishant

    Hello Nishant
    If you can properly record standard http application but not the forms part of EBS this is probably because something's wrong with the setup/link with JRE/Jinitiator.
    What is the web browser you use?
    What is the JRE / JInitiator version you use to access EBS?
    Can you access without recording EBS from this desktop where you face the problem?
    Can you please:
    1/ run the diagnose tool (OpenScript Menu -> Help -> Diagnose) and tell us the resultl
    2/ make sure you navigate once to EBS without OpenScript
    Cheers
    JB

  • Zend Amf & Flex 3, problem when many records returned

    I have a project with a start dateField (calendar) and an end dateField (calendar). The user chooses a start date and an end date and the database pulls latitude and longitude coordinates for events that occurred between those dates. If the user chooses dates that produce fewer than roughly 11,200 records, it works perfectly.  If the user chooses dates that produce more than that, it produces the following error message:
    faultCode:Client.Error.DeliveryInDoubt
    faultString:'Channel disconnected'
    faultDetail:'Channel disconnected before an acknowledgement was received'
    The server is my local machine (localhost). I'm running:
    MAMP   (which has  Apache 2.0.59)
    Flex 3
    I tried editing the my.cnf (mySQL options file) and increased the max_allowed_packet to 32M, but that didn't work.
    It's a strange problem as the same code works when a relatively small amount of data is returned, but doesn't work when more data is pulled. Could it be some sort of memory or packet limit or a time-out that is called?
    If anyone has any suggestions, please let me know. 
    -Laxmidi

    Richard Bates of flexandair.com figured it out. In my php.ini file, I had the memory limit set at 8M. After, changing it to 32M, it worked. Thank you, Richard!
    -Laxmidi

  • How to record MVG popups in Emprix eTester

    We are trying to record the siebel scenario using Empirix (e - Testing suite)
    We are using Siebel 8.1.1 build BLK_811_10 SIA
    Following are the steps that we have followed :
    * Copied the ssdtcorr.dll (siebel correlation liberary) to the e-testing directory.
    * We have checked the "Use the siebel correlation library" options in the Recording settings.
    With this above settings we are facing the following issues
    * It is unable to record the pop up by the siebel URL . It only pops up the windows and it does not allow has to click on the botton on that.
    Following is the scenario steps we tried to record using Emprix
    Scenario steps
    Login
    CC1_Iter1_101_ClickContacts
    CC1_Iter1_102_QueryLastName
    CC1_Iter1_103_ClickGo
    CC1_Iter1_104_GotoContactScreen
    CC1_Iter1_105_ClickNewContact
    CC1_Iter1_106_SaveContact
    CC1_Iter1_107_GotoContactOpty
    CC1_Iter1_108_NewOpty =======> At this step when i click on New button it popsup a MVG and i am not able to click on new button in MVG.
    Please helps us on this ,If we are missing any setting or we are missing any of the steps to be followed .
    NOTE: If you have any docs on the siebel recording or setting specific for the siebel .Please share docs .

    try recording after doing following setting
    Options-> Setting Manager -> Siebel -> Set Siebel External window as True

  • Playback is not working in OpenScript for loadtesting web/http wizard

    hi gems...
    i am facing another issue with OATS 12.1.0.1 while playing back the recorded scripts for load testing. But this time i dont know whether the remedy will come from our application or from OATS.
    I have recorded some simple steps in our application for loadtesting.
    My navigations in OpenScript:
    New > Load Testing(Protocol Automation) > Web/HTTP > Default Repository > Opened a blank script > started recording > Browser window got opened > hit the url of our application > logged in with a username/pasword > logged out.
    Scripts got recorded successfully. Now when i started playback, then it got failed with the error:
    +Failed to solve variable web.input.Submit using path .//input[@name='Submit']/@value+
    In our application, every sessionid gets captured and may be because of that recorded script and playback script made two different sessionids for login.
    Because when i did the comparison between the recorded and playback script, then i got the below line which is not matched between those two:
    +<form method="POST" id="formLogin" name="formLogin" action="/wm/j_spring_security_check;jsessionid=C9D732999E78008EC5CB3B77A6B703A4" onsubmit="return validateForm(this)">+
    jsessionid value is not matched between the recorded script and playback script.
    But when i did functional/regression testing of the same, then it worked perfectly without any failure.
    Kindly give your views. Thanks in advance.
    Edited by: gogol on May 23, 2012 12:44 AM

    below is the java code for the run block generated while recording:
    public void run() throws Exception {
              http.get(2, "http://ulx098.mazitek.com:8080/escort", null, null, true,
                        "ISO8859_1", "ISO8859_1");
                   http.solve("http.jsessionid", "jsessionid=(.+?)(?:\"|&)", "", true,
                             Source.Html, 0, EncodeOptions.None);
                   http.solveXPath("web.input.Submit",
                             ".//INPUT[@name='Submit']/@value", "Sign In", 0,
                             EncodeOptions.None);
                   http.solveXPath("web.input.strutstokenname",
                             ".//INPUT[@name='struts.token.name']/@value",
                             "struts.token", 0, EncodeOptions.None);
                   http.solveXPath("web.input.strutstoken",
                             ".//INPUT[@name='struts.token']/@value",
                             "G6CH0685ZPGKE6TUQUQRDES62AZRAT8J", 0, EncodeOptions.None);
                   http.solveRefererHeader("referer.httpulx098mazitekcom808_1",
                             "/escort/");
              http.get(9, "http://ulx098.mazitek.com:8080/favicon.ico", null,
                        null, true, "GB18030", "GB18030");
              http
                        .post(
                                  13,
                                  "http://ulx098.mazitek.com:8080/wm/j_spring_security_check;jsessionid={{http.jsessionid,9098A5983C686471BE1D2FCD7295CF40}}",
                                  null,
                                  http
                                            .postdata(
                                                      http.param("j_username", "escortadmin1"),
                                                      http
                                                                .param("j_password",
                                                                          "70300886ea87fade932332926317f269598827246763436004b79e4f16c60813"),
                                                      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,G6CH0685ZPGKE6TUQUQRDES62AZRAT8J}}")),
                                  http
                                            .headers(http
                                                      .header(
                                                                "Referer",
                                                                "http://ulx098.mazitek.com:8080{{referer.httpulx098mazitekcom808_1,/escort/}}",
                                                                Header.HeaderAction.Modify)),
                                  true, "ISO8859_1", "ISO8859_1");
                   http.solveXPath("web.link.Logout", ".//A[@title='Logout']/@href",
                             "logout.jsp?logoutToken=0.5167720505173382", 0,
                             EncodeOptions.None);
                   http.solveRefererHeader("referer.httpulx098mazitekcom808_5",
                             "/wm/globalLandingPoint.action");
              http.get(21, "http://ulx098.mazitek.com:8080/favicon.ico", null,
                        null, true, "GB18030", "GB18030");
              http
                        .get(
                                  25,
                                  "http://ulx098.mazitek.com:8080/escort/{{web.link.Logout,logout.jsp?logoutToken=0.5167720505173382}}",
                                  null,
                                  http
                                            .headers(http
                                                      .header(
                                                                "Referer",
                                                                "http://ulx098.mazitek.com:8080{{referer.httpulx098mazitekcom808_5,/wm/globalLandingPoint.action}}",
                                                                Header.HeaderAction.Modify)),
                                  true, "ISO8859_1", "ISO8859_1");
              http.get(31, "http://ulx098.mazitek.com:8080/favicon.ico", null,
                        null, true, "GB18030", "GB18030");
         }

  • Populating a Combobox using Remoting with AMF and PHP

    Hello all
    I am using Zend framework and Flex 3.4 to create a webapp. I am stuck at how to populate a combobox dynamically using the service I created in PHP.
    In some of examples I saw that result of database query was being converted into XML and then sent to Flex. This seems a little too time-consuming if I have to do it every time. I saw some examples in Adobe Docs about Remoting with AMF and PHP. That seems like a better approach although how it would be applicable here is beyond me right now.
    Can somebody guide me in correct direction?
    Thanks and Regards
    Shivik

    Try this: http://code.google.com/p/as3flexdb/ is very easy to use and it
    will help.
    All you need to populate a combo is:
    <mx:ComboBox dataProvider="{query.Records} /

  • Loadtest recoding with proxy chain

    Hi,
    I am trying to record loadtesting script with OpenScript Version: 9.3.0.0 (Build ID: 2.6.0.0272). When I start recording in IE8 I get certificate error message "There is a problem with this website's security certificate.". When I click on "Continue to this website (not recommended)" link, I get "Internet Explorer cannot display the webpage" error message.
    Same problem occured, when I tested softver on intranet, but turning off proxy chain solve the problem.
    Both case the connection is SSL.
    Proxy settings are correct, because I can reach another pages in recording mode.
    How can I record script?
    Br,
    Tamas

    I've exactly the same problem, and I repost it to this forum. You can show the new Topic on the first page witch title is : [URGENT] Source code for https proxy.
    Have you found the solution?

  • Function return single record

    create or replace function etest
    (dep in number)
    return varchar2
    is
    dept number:= 0;
    cursor c1 is
    select deptno
    into dept
    from emp
    where deptno = dep;
    begin
    open c1;
    loop
    fetch c1 into dept;
    exit when c1%notfound;
    end loop;
    close c1;
    return dept;
    end;
    Dear all
    the above function return only one return ,,,but i want to display all record that belong to department 10
    it just i idea that what i want to do....!
    and Secondly
    how i fetch multiple column like i enter department 10 and it give output like
    empno ename sal
    7782 CLARK 2450
    7739 KING 5000
    7934 MILLER 13000
    Thanks to all

    You could use a REF CURSOR:
    PL/SQL 101 : Understanding Ref Cursors
    http://www.oracle-base.com/articles/misc/UsingRefCursorsToReturnRecordsets.php
    or maybe a pipelined function....
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:19481671347143
    http://www.oracle-base.com/articles/9i/PipelinedTableFunctions9i.php
    depending on what client is fetching.

  • Zend AMF Slow Response

    I am getting slow response times when using Zend AMF in Flash Builder 4.  It is taking between 1.5s to 2s to return the results, which is much slower than when I am returning XML.  However its about the same no matter if no records are returned or if 1000 records are returned. It seems like it is taking a while to make the connection to the gateway.php file. Anyone else noticing issues like this?  All the examples I have seen online use Apache instead of IIS, could that be part of my problem?
    Thanks,
    Justin

    I experienced the same with Zend and switched to coldfuion as a result. Its better matched
    to Flex, and you can go as far as Life Cycle Data services with it if you want. It is also a superior
    design to php but works pretty much the same way.
    The communications with Flashbuilder have several gotchas which are not explained but are covered here now.
    The old php 4 AmfPhp was really impressive performer on speed. But it just took a dive when it went
    to zend and 5.
    Dan Pride

  • Open Script Loadtesting for Peoplesoft application

    Hi,
    I have recorded a Web/HTTP loadtesting script for peoplesoft using Open Script *9.0.0.0 Service Release 1*.
    When i replay the script at one of the steps where i provide the user input i receive this message.
    Failed to solve variable web.option. using path .//OPTION[text()='=']/@value
    oracle.oats.scripting.modules.http.api.exceptions.SolveException: Failed to solve variable web.option. using path .//OPTION[text()='=']/@value
         at oracle.oats.scripting.modules.http.api.exceptions.SolveException.createSolveExceptionPath(SolveException.java:94)
         at oracle.oats.scripting.modules.http.api.HTTPService.solveXpath(HTTPService.java:578)
         at script.run(script.java:268)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:268)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:645)
         at java.lang.Thread.run(Thread.java:619)
    It would be great if someone can direct me in the right direction.
    -Nishant

    So the real question is when you playback is the element referenced in the error there on the page sent back by the server. A fail to solve issue is a parsing problem as the script looks for a potentially dynamic value. If that value can not be found then the exception is generated. I generally try to get to the bottom of this type of error by examining the returned page and comparing it to the page seen during the originally recorded. If they are different then I look to the navigation that brought me to the page - perhaps the error is the side effect of a bad navigation, perhaps there is a data dependency, etc .....
    So, are the pages the same?

  • Anyway to run etester scripts in proxy mode thru eME?

    Our E-tester scripts were recorded thru proxy. Is there a way to have eME run these tests, but in navigation editor mode? The tests are failing when I kick the off in eME because they are playing back in Etester mode.

    Hi Jim,
    Interesting question! You're right that we will always try to use e-Tester to play back the scripts in eMe and that Navigation Editor playback is not a supported feature. I got together last night with some of our developers and kicked around some ideas about getting to the point you need to be at. That is, playing proxy based scripts back in eMe. One idea we came up with was to use a "Third Party Test" in eMe to kick of a java agent playback of a script. This would play back the proxy script in a thin client mode using Java agent (meaning that you would need to turn on the generate java agent script option in e-Tester and re-save the file). Before I get to the specifics of how this may be done, let me ask a couple questions:
    1.) The first natural question is "Why is there a need to play proxy based scripts in eMe"? I would think for regression testing there would be more of a need for event based automation rather than http playback
    2.) What level of detail are you looking for in the results reporting?
    The answer to those questions will certainly help us here at Empirix understand some of the requirements that are out in the market.
    OK, so let's get to the details of how to do the thin client playback. Remember also that just because we can do something doesn't mean we should and also remember that what I am about to discuss is not an "officially supported" feature so the correct forum for troubleshooting will be here on QAZone and not in the support call center. Also take note that if the following details look too involved that we can always do the work for you in a consulting engagement. Please discuss that with your Account Manager.
    I created a basic script against one of our demo applications and called it "script2". I saved this script in my "User_Day" workspace. My options were set to create a java agent thin client script (script2.jwg) in addition to the standard thin client script (script2.wg). I can now do a command line playback of this script by going to the c:\empirix\etest directory and typing the following line at the command prompt:
    C:\Empirix\eTEST>c:\empirix\empappserver\jre\bin\java -cp c:\empirix\etest\jagen
    t\jars\EntryPointWrapper.jar com.empirix.jagent.EntryPointWrapper com.empirix.jw
    gPro.JWGLauncherEntryPoint -jwg c:\empirix\etest\User_Day!\script2.jwg
    By incorporating this command into a batch file we can now set up a "Third Party Test" for execution. Now this will only execute the test but will not tell you if the test passed or failed. In order to get the pass/fail condition we need to modify some of the property files of the java agent to create a log file that we can also type to the command line output in our batch file or parse in some other way. To do that we need to edit the log4jJavaAgentDebug.xml file:
    We need to change the entry: "<category name="com.empirix.lbrowser.http.RSyncConnection.Socket.ResponseContent">
    <priority value="warn"/>"
    to read: " <category name="com.empirix.lbrowser.http.RSyncConnection.Socket.ResponseContent">
    <priority value="DEBUG">"
    and change the entry: "<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <param name="Threshold" value="INFO"/>"
    to read: " <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <param name="Threshold" value="DEBUG"/>"
    The warning here is that you don?t want to do this on a machine that would be acting as a load testing agent as the debug logging will cause load performance problems and generate a ton of data. The changes will result in an "agent.log" file being created. If playback goes well and everything passes then the result will be a blank file. If there are problems on playback then there will be exceptions listed in the log file.
    There are ways to change the pass condition to create something other than a blank file for successful playback but it would require edits to the scriptCallback.java file ... something along the lines of:
    Logger log=Logger.getLogger("myScriptCallback);
    log.info("EverythingPassed")
    Let's not worry about that for now. The bottom line is that there are ways to get around the playback problems you are seeing in eMe. This is just one approach ... As I mentioned before another approach, and maybe better approach would be to determine why the scripts are proxy based scripts and not standard e-Tester automation based scripts.
    Let me know what you think or if you have any questions or comments ....
    -Rick

  • How do you remove/delete sub steps in the navigation editor/eTester?

    hey,
    I have recorded a script in eTester for a load test (without proxy recorder on) and the step has recorded the correct url that i want as step 14.1, but also added a subtep 14.2 which is linking to an advert. I dont want this step in the script, how do i remove it (there doesnt seem to be an easy way to remove it in eTester or the navigation editor)? Or am i recording in the wrong mode?
    cheers
    david
    David Carter
    Test Lead
    LBi

    Cordial
    We can not delete navigations from a step as they are part of that page, however we can tell eLoad to skip that navigation.
    To do so highlight the navigation bit that you would like to skip e.g [2] Navigation 1 -> window(name="mother" | index=0) then form the properties window set the skip in eload property to true
    Hope this helps
    Message was edited by: aamat

  • When i am doing proxy recording it is not creating any parameters

    Hi All,
    When i am doing proxy recording in e-tester and it is not capturing parameters and finally i am not creating any databank inorder to do Auto Map or Auto Bind.Please help.
    Thanks
    Vsk

    HI
    If you are doing an external proxy recording eTester will not record the parameters, however Navigation Editor will have them, and since you only need that for load testing that wont be a problem.
    Regards
    Alex

  • Way to record only HTTP requests

    Hi All,
    Is there anyway to record only record HTTP requests, I don't want to record any navigation or frames etc.
    please let me know.
    Regards,
    Ashok Chava.

    Ashok,
    The tool will record everything that the browser requests, and this includes all redirections and frame requests. There is a way to record a 'pure' http level script and ignore all the browser events that are usually used to create the script. In the Options->Recording->Proxy settings there is a "Record Navigations in external applications" checkbox. Please turn this on, and press the Start Button.
    Start IE or Firefox. I recommend you start firefox since it is much easier to manager multiply configurations. You can have IE and one firefox profile for day-to-day browsing, IM, ect..., and one firefox for e-tester recording. When firefox starts you should create a new "Proxy Recording" profile. In this profile change the firefox connection settings to use a Proxy Server localhost, port 7777
    Always start Firefox this way:
    "\Program Files\Mozilla Firefox\firefox.exe" -ProfileManager -no-remote
    Now when you start your regular script recording, and you have the etester proxy recorder turned on, you will get only raw http requests from the browser. As Dave mentioned, it is easiest to view these requests from the Navigation Editor.

Maybe you are looking for

  • How to transfer data in table control in bdc

    hi how to transfer data in table control in bdc . I need the theory regarding this bye

  • ACROBAT 8 - HOW TO CONNECT AND USE THE LiveCycle Policy Server?

    Hello everybody!!! I've just bought the ACROBAT 8.0, and I'm trying to use the LiveCycle Policy Server. The point is, I couldn't connect to the server.... is there any especific way to do it? It is the same configuration to connect to a normal web si

  • Geforce 780m graphics card

    I have a new imac 27" with GeForce 780m graphics card, it's apparently one of the cards that adobe accepts for GPU Acceleration but the option in After effects doesn't allow it? Can it be done or am I getting it all wrong, any help would be great.

  • End of a session

    Hi, I want to redirect the user of my page to the index.jsp page when the session ends. How can i do ?

  • How to make a new row as selected in adf table

    Hi, I am adding a new row to my table as below. DCBindingContainer bindingContainer = (DCBindingContainer)ADFUtil.evaluateEL("#{bindings}"); DCIteratorBinding iter = bindingContainer.findIteratorBinding("IfwSystemBrandView1Iterator"); ViewObject vo =