Improving Jmeter - Implemeting Virtual IPs

Discussion in 'Java' started by replayit@post.cz, Jan 27, 2005.

  1. Guest

    Hello Java programmers,

    It will be nice to have in Jmeter (open source test software writen in
    Java) emulation of User speed connection. However to do this task in
    Java can be not practical and easy.

    Another approach to this problem can be to add support for virtual IP
    addreses in clients (per thread ???). Most testing is done in
    laboratory conditions and block like 192.168.x.x or 10.x.x.x can
    be easily used.

    Implemeting Virual IPs are not OS dependent (Works OK in Un*x and all
    MS Windows)

    --------------------------------------------------------------
    Java have on java.net.Socket parameter for it:

    public Socket(InetAddress address, int port, InetAddress
    localAddress, int localPort) throws IOException

    Its also part of org.apache.commons.httpclient.HttpConnection

    as

    setLocalAddress(InetAddress localAddress)

    Set the local address used when creating the connection.
    ---------------------------------------------------------------

    For getting valid virtual IP addreses module for reading User
    parameter from file can by modified.

    Using virual IP addesses give to tester posilibty to use Linux
    kernel based shaping utilites to emulate client bandwidth.

    I can test this feaure with tpcdump and ethereal if jmeter team
    will impement it. I can also write small howto use it, including
    configuring Virtual IPs for various OS, if somebody
    will check my english in it :)

    Ethereal - The world's most popular network protocol analyzer
    Ing Rudolf Kutina
    Practical tester
    Prague
     
    , Jan 27, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?S2xvbSBEYXJr?=

    Table of dynamic buttons implemeting IPostBackEventHandler

    =?Utf-8?B?S2xvbSBEYXJr?=, Jun 17, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    680
    avnrao
    Jun 17, 2004
  2. Joe
    Replies:
    0
    Views:
    1,687
  3. Replies:
    0
    Views:
    1,563
  4. Replies:
    1
    Views:
    2,305
  5. Adam Funk
    Replies:
    12
    Views:
    673
    Adam Funk
    Jul 5, 2005
Loading...

Share This Page