Results 1 to 3 of 3

Thread: stresstest and tracking time opening webpage

  1. #1
    Join Date
    Mar 2009
    Posts
    92

    stresstest and tracking time opening webpage

    Hello everyone,

    My intention is to test the time required for a server for processing a Web page. In short I want java code to implement a solution similar to the following:
    start = timestamp
    load website
    end = timestamp

    I need these values to track the average time to access the web resource. The process will run a variable number of times, so you can have a collection of data to be produced.
    Using:
    Code:
    URLConnection conn = myUrl.openConnection (); 
      BufferedReader input = new BufferedReader (new InputStreamReader (conn.getInputStream ())); 
      input.close ();

    I get times around 60ms, when the web page from browser takes about 2.5 second, to open up. Could you recommend how to better manage the open / download page by simulating a web browser. Taking into account that I can not afford to open the default browser.

    If the solution via code is not workable some knows tools to integrate a java?
    I hope to be clear, Thanks for the help

  2. #2
    Join Date
    Apr 2008
    Posts
    2,572

    Re: stresstest and tracking time opening webpage

    hi,
    If you want the HTML is rendered (and the Javascript code executed) you need to use some force rendering engine (in. NET is the WebBrowser control that relies on IE, not so in Java).

  3. #3
    Join Date
    May 2008
    Posts
    2,792

    Re: stresstest and tracking time opening webpage

    OpenSTA is a distributed software testing architecture designed around CORBA, it was originally developed to be commercial software by CYRANO. The current toolset has the capability of performing scripted HTTP and HTTPS heavy load tests with performance measurements from Win32 platforms. However, the architectural design means it could be capable of much more.
    The applications that make up the current OpenSTA toolset were designed to be used by performance testing consultants or other technically proficient individuals. This means testing is performed using the record and replay metaphor common in most other similar commercially available toolsets. Recordings are made in the tester's own browser producing simple scripts that can be edited and controlled with a special high level scripting language. These scripted sessions can then be played back to simulate many users by a high performance load generation engine. Using this methodology a user can generate realistic heavy loads simulating the activity of hundreds to thousands of virtual users.

Similar Threads

  1. Pages take few seconds of time while opening in aurora
    By Ham in forum Technology & Internet
    Replies: 8
    Last Post: 14-09-2011, 10:56 AM
  2. Replies: 4
    Last Post: 27-07-2011, 01:36 AM
  3. Real Time GPS tracking for Cars?
    By Susquehannock in forum Technology & Internet
    Replies: 4
    Last Post: 06-12-2010, 10:18 PM
  4. Dreamerweaver CS3 get closed every time after opening
    By Cassey in forum Windows Software
    Replies: 5
    Last Post: 28-01-2010, 03:58 PM
  5. How can I display system date & time on my webpage?
    By JangoRap in forum Software Development
    Replies: 3
    Last Post: 16-02-2009, 07:40 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,718,146,422.33454 seconds with 17 queries