How to record user action?

Dear All,
I am trying to build a performance testing tool like jmeter. I want to know how jmeter or any HTTP performance tool records user action. I don't know how to write the action recording code. If anybody knows please help me out.
The following are the logic behind the jmeter action recording
1. Turn on the proxy (HTTP in this case). Jmeter starts listening to HTTP traffic to/from the specified URL. It basically acts like a sniffer for the traffic between your client (the browser) and the server IP address.
2. User starts performing his business process (the activities/requests to the server).
3. When a request is sniffed/captured by the tool, it immediately creates a code to send the same request (basically an HTTP GET/POST method created).
4. At the same time it monitors the response from the server and creates a checking code for verifying that the response obtained is correct (This is used further by the tool when we run the test). The response includes the complete HTML data including the Header and Body sections.
5. All the requests and corresponding responses are captured by the tool and the corresponding code generated automatically.
6. Once the recording ends, it puts together these snippets to create a complete code which could be further modified by the users so that they can run it in a multi-threaded environment.
7. Users run the code specifying the number of users (basically threads) to perform a load test on the server. (The code generated would be thread-safe so that there are no overlaps)
Thanks & regards

So why not using Jmeter and make you own modification when required
This is the great benefit of open source community
Regards,
Alan Mehio
London,UK

Similar Messages

  • CAN YOU PLEASE TELL ME HOW TO RECORD AN ACTION IN PSE 7?  I WANT TO DO SAME ACTION ON WHOLE BATCH.

    COULD YOU PLEASE EXPLAIN  HOW TO RECORD AN ACTION IN PSE 7?  I AM WANTING TO PUT MY BUSINESS NAME ON ALL MY PHOTOS & WANT TO DO IT @ THE SAME TIME INSTEAD OF INDIVIDUALLY.  I KNOW IT WILL SAVE A LOT OF TIME.  THANKS SO MUCH!!

    Check this out:
    http://www.easysector.com/index.php

  • [HELP] How to records user who use SQLPlus or SQL editor?

    Dear Gurus,
    Is onyone know how to record user who use SQLplus or any SQL editor?
    for instance...
    user1 using SQLplus on monday august 9.30.21 PM...and I have table which record this for audit user.
    Or..
    Can I block user who connect to oracle using SQLPlus?
    If anyone know how to do this..please inform me...
    Thanks and Regards
    Erie

    You can enable Auditing (AUDIT_TRAIL) and audit at the Session Level to record Logon and Log off of a required user. This can be enabled to be recorded in the audit table or operation system file. You can also audit user statements etc.
    For example, to enable auditing connect for user UGONIC
    SQL>audit connect by UGONIC;
    TO disable it
    SQL>noaudit connect by UGONIC;
    Check in the SQL Reference for the AUDIT statement and requirements.
    If you do not want the user to connect at all via SQL*Plus, you can use PRODUCT_USER_PROFILE to disable a users access to SQL*Plus or at the lower level, disable specified SQL*Plus and SQL commands for the user. You need to run the PUPBLD.SQL script as system user (if not run yet) and add records to it as required.
    Example: After running PUPBLD.SQL. This entry stops the user UGONIC from using the drop command at the backend in SQL*Plus.
    INSERT into product_user_profile (product,userid,attribute,char_value,date_value)
    values('SQL*Plus','UGONIC','DROP','DISABLED',NULL);
    Note that if a user is already connected by the profile entry, it is not activated on that session, but on subsequent logons. Again read the requied security documentations for this.
    For both auditing, you need to set the required database intialisation parameters and know where to get the audit records (in tables, views or OS file). For instance, when using tables, you maintain and query tables like audit$ to view the logs. When using OS type logging, it is recorded on the path specified in the AUDIT_FILE_DEST init parameter (In Windows, it is logged in the Windows Event and you can view it from the event viewer).

  • How to handle user action on messageChoice component ?

    Dear all,
    I create a OAF page and put a messageChoice component on it. And then setup its property as following:
    ID: myChoice
    Item Style: messageChoice
    Action Type: fireAction
    Event: changeChoice
    Submit: true
    and I set it a new controller, add the following code in it:
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    if ("changeChoice".equals(oapagecontext.getParameter(EVENT_PARAM)))
    throw new OAException("call my function", OAException.INFORMATION);
    In my opinion, when I re-choose a new option in choice component, the page should be submitted immediately, and my custom event "changeChoice" should be raised.
    Unfortunately, I cannot catch my exception when my page is refreshed.
    So I want to know how to catch the user action for this situation.
    Any advice is appreicated.
    Thanks.
    Kenny

    Kenny,
    Any page action can be caught only in processFormRequest.
    --Shiv                                                                                                                                                                                   

  • How to find user action

    Hi Guys,
    I want to perform two different action if the user save a new record OR if he modifies an existing record.
    How can i capture what user have done?? i just want to know the action of user how can i do so??
    i have only one button with label save on my form that performs both new records insertion and updation of existing record and i want to keep one button.
    i want to get record status , dont want to use pre-insert or post-insert, or pre and post update.
    please help, Imran Baig

    :SYTEM.RECORD_STATUS should give you the information you need. Online help lists the four values this system variable can have:
    CHANGED: Indicates that a queried record's validation status is Changed.
    INSERT: Indicates that the record's validation status is Changed and that the record does not exist in the database. NEW: Indicates that the record's validation status is New. QUERY:Indicates that the record's validation status is Valid and that it was retrieved from the database.
    So the added records should have a status of INSERT, while the edited records have a status of CHANGED.

  • How to record 'select' action in alv report using BDC technique

    hi guys, u r the best;)
    my question is: when u select one line in alv report, the line will be high-lighted, right? and suppose there's a button for further processing, then u can click the button to process only this line. ok now, using BDC technique, the system doesn't record the 'select' action! even i go to menu-->select all, it still doesn't work.
    or if anybody knows how to release customer expected price except t-code v.25? cuz, i'm trying to record actions in v.25.
    thx in advance, u helped me a lot.

    Hi :
       you cannot record ALV using BDC.According to ur req., after u enter data in selection screen, it goes to ALV list , there u select particular record and process further rite, say create in bck ground or foreground.
    While doing recording, in selection screen if u have any check box which displays ALV List , uncheck it and continue ur recording.
    In the bdc program u can see a field some thing like p_alvlist ' ', mark it as p_alvlist ' / '.
    If not, copy the program along with includes,  in ur  program comment all the alv part, and  call that particular FM where this selection takes place from ur main program.
    Hope this helps.
    Reward points if this is useful.
    Thx.
    Raghu

  • Recording user actions

    I would very much like to record which buttons the user presses in a ServletFilter. When I log the parameters, I see the button is being pressed but the id is a key rather than a value and is different every time. Is there any way to record which button or link the user clicked?
    I am using JSF as the underlying framework which sometimes even generates the ids itself, but for the most part I can specify the button ids at least(not sure about links just yet or how to do that though). thanks for any ids here. This is very frustrating as it would make the log files much easier to follow.
    thanks,
    dean

    Hi,
    Are you talking about the Fusion Middleware Console? If yes with respect to which product? I wasn't able to find to the location mentioned by you.
    Regards,
    Neeraj Sehgal

  • How to initiate some action when user clicks a field in CRViewer?

    <p><span style="font-family: Courier"><font size="1">ReportObjects doesn't expose click event despite the fact that a field can get focus frame, you can even tab from field to field. </font></span><span style="font-family: Courier"><font size="1">Drill() event works only on group names.</font></span><span style="font-family: Courier"><font size="1">So, how to initiate some action (based on a clicked field value) when user clicks a field in CRViewer?</font></span><span style="font-family: Courier"><font size="1">After doing some googling, have found that something similar exists but it's FoxPro API</font></span></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">From some PDF: </font></span></strong><strong><span style="font-size: 12pt; font-family: Courier"><font size="1"> </font></span></strong></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> Report objects events</font></span></strong> </p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Report object events occur when you click or double-click a field, </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>heading, or label in a report.</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Doing this creates the EventInfo object. This object contains </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>information about the event and</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>passes as a parameter to the event method. </span><strong><span style="font-size: 10pt; font-family: Courier">Table 3 </span></strong><span style="font-size: 10pt; font-family: Courier">lists the</span></font></p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> </font></span></strong>EventInfo object properties.......</span></font></p>

    The article you found refers to the ActiveX viewer which is used with the COM-based tool called Report Designer Component. Since you have posted to the .NET forum, I'm assuming you're not using the RDC and therefore this article will not apply.
    Recently, Click events were added to the Windows Form Viewer to get similar functionality as the ActiveX viewer. Take a look at the following link for more information....
    [http://diamond.businessobjects.com/node/2109 | /node/2109]
    However, if you are using the CR Web Forms Viewer in an ASP.NET app, then this functionality is not available.

  • After recording text using the dragon dictation app, it is converted, it can be copied to the iOS system clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    after recording text using the Dragon dictation app, it can be copied to the iOS systme clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    You need to do a long-press in any data entry field, then select Paste.

  • How to create new actions ? in the interaction record screen

    Hi all,
    I'm working with the IC web client.
    In the interaction record screen the is a link to actions.
    But how to create new actions ? schedule actions ?
    Component "ICCMP_BT_INR"
    View "InrHeaderViewSet"

    Hi Eran,
    Gret is absolutely right ..The actions are transaction type specific and can be attached along in the customizing as mentioned above by gret , these can then be tested in the SAP gui first for their scheduled and start conditions and then in the ICWC.
    There is no special settings for actions in ICWC if they are there in your transaction they will come in the ICWC.
    Hope this helps
    Regards
    Raj

  • How to I record an Action to Save As that doesn't include a file name??

    Hi -
    I have an Action that will crop and scale a PDF file then Save As a JPG to a destination folder.  The problem is that when I recorded the Action I did so with a file named ABC.PDF and Saved it as ABC.JPG - and now every file saved with this
    Action is named ABC.JPG
    This makes it impossible to use with a bunch of different files.  One file gets overwritten multiple times with the same name.  The  file name ABC.JPG is "burned" into the Action.
    SO - how do I record an Action to Save As without including a file name??
    TIA your help on this crazy problem -
    Josh
    CS5 on Windows7

    PeterK - thanks for the reply.  I tried that already - initially actually. 
    I even tried blanking out the field so I would save a file with NO name.  PSD added it's own .jpg and saved it like that.  Every file after that over wrote that one too so after using the Action on 6 files I still only had one ".jpg" in the folder.
    I was hoping that there was a setting or preference somewhere.  SInce this is Windows might it be OS related?

  • How can I localize the text of process names, task names and user actions within a process?

    I'm very interested in using the capabilities of Adobe LiveCycle Process Management for my project, however I have one rather large concern...   I hope someone here can tell me whether there's a way to address it.
    Since I work for the Government of Canada, I have to meet certain requirements relating to bilingualism of the user interface.  It's my understanding that the Workspace portion of LiveCycle has already has support for French.
    But what about the design of my processes?  How can I display text to a user in the language of their choice when they're interacting with my processes? ... in particular, I'm thinking about the process name, task names, and user actions.
    I hope that this is possible without too much pain.  I imagine this must be a pretty common requirement!
    Thanks in advance to all who respond.

    You can completely change the content of whole pdf by using "renderPDFForm" operation under service "FormsService". in this operation there is Template category where you can set the Locale.
    And if you need to change the other workspace options like Complete, Save as Draft , you can then import workspace ui project and then change apppropriate values.
    Thanks,
    Prashast

  • How to pause while document printing and wait for user actions.

    How to pause while document printing and wait for user actions. (for sample: pressed button). Pause after each printed pages.

    Print page by page after considering the user actions!

  • How to programmatically mimic the user action of selecting a button ?

    I am using JAVA Swings to build a desktop application. The application has many buttons, lists and text boxes etc. I have created actionPerformed methods that monitor the source for user action. I am able to execute the code whenever an action is performed by user manually.
    I also require to save the choices, and texts entered by a user during his active run with the application. This is to avoid user to re-enter all the information once again.
    The problem is to programmatically select those buttons and lists which were saved during users earlier session. How can I perform the action event of selecting a radio button from my java code.

    Kiran,
    Your approach is missing the whole idea of Model-View-Controller. I suspect that somewhere you are saving the data of the user's choices. For example, if you have a checkbox, I suspect you have a java bean somewhere containing a boolean value that is set to true when the checkbox is selected, and false when the checkbox is unselected. This process is mediated by a controller, which has a references to the model (the data) and the view (the UI). The controller sets up as a listener to the actions within the UI, and, when notified, sets the appropriate properties of the data, usually into one or more java beans.
    So, on the reverse side of things, the data is read into the java bean(s), and the controller uses that data to set the state of the UI elements. So, your controller can do something like this:
        uiThing.initUI(yourBean);And in the initUI method you have:
        public void initUI(DataBean data) {
             cbxBlue.setSelected(data.isBlue());
             txtLastName.setText(data.getLastName());
             // etc...
        }If you take that general approach, you'll find you don't need to simulate user actions.
    In the few cases within the UI where you think you do, you really don't. An ActionListener is just a receiver of when something like a button is pressed. If your program needs to do the same thing as when the button is clicked, create a method to perform the processing, and invoke it directly, rather than trying to figure out how to programmatically press a button.
         public void actionPerformed(ActionEvent e) {
              if (e.getActionCommand().equals("BlueButton"))
                  this.setBlue();
              //... etc.
         private void setBlue() {
             // whatever
         // somewhere else in the code
         private void someProcess() {
              // other work
              // other work
              if (someCondition) this.setBlue();  // rather than forcing an action event
              // other work
              // other work
         }

  • How do you do action recording in Photoshop Elements like you can in regular photoshop?

    How do you do action recording in Photoshop Elements like you can in regular photoshop?
    One of my clients is a club promoter and they would like to put their logo on the bottom left of their photos from their events. Usually I can do this by opening the logo (which has like 50% opacity), copying the logo, recording an action set, pasting the logo i copied to memory into the photo, resize the photo and export and close the photo, save the action set and then just batch- automate and choose all currently opened images to run the action on.
    *I mentioned the 50% opacity because I want to put the logo on the photos but not totally hide what's underneath the logo.
    How do I do the same with photoshop elements?
    -Line

    Just another option that may work for you there are a number of relatively cheap and a couple of freeware programs that are listed here, there are many others I am sure.
    http://shareme.com/showall/Batch-Watermark.html
    I have not used any of these so I can not recommend of course but most have trial versions.
    Good Luck,
    Don

Maybe you are looking for