Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Improving Jmeter - Implemeting Virtual IPs

Reply
Thread Tools

Improving Jmeter - Implemeting Virtual IPs

 
 
replayit@post.cz
Guest
Posts: n/a
 
      01-27-2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HSRP: virtual IPs without real IPs? Martijn Lievaart Cisco 4 02-15-2012 08:16 AM
Improving Jmeter - Monitoring throw SNMP replayit@post.cz Java 1 01-18-2009 12:30 PM
Checking IP addresses against lists of IPs, partial IPs, and netmasks. Adam Funk Perl Misc 12 07-05-2005 01:49 PM
Improving Jmeter - User Agent Switching for HTTP replayit@post.cz Java 0 01-28-2005 08:38 AM
Table of dynamic buttons implemeting IPostBackEventHandler =?Utf-8?B?S2xvbSBEYXJr?= ASP .Net 5 06-17-2004 06:49 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57