Hi Thor,

I think tools like that are always a great addition to a
development/test toolkit. Due to similar requirements I wrote something
similar in Python with a GUI (as a means to improve my Python knowledge)
to assist me in doing some "pseudo realistic" load testing of our
server. It reads in packets to be sent from a file and sends them as
fast as it can. I like the scenario idea though. I've still got a few
bugs to sort out though, and its not really ready for distribution.

Interesting that you chose to use radclient to send the packets, rather
than one of the Perl Radius modules available from CPAN. I've written a
couple of perl scripts for testing purposes (one of them trickles
accounting packets into our radius server to test our accounting/billing
system. It randomly starts new sessions, which it then keeps track of.
It sends periodic "alive" packets with the input/output octets and
session times incremented accordingly, and randomly stops open
sessions).

I used Authen::Radius, which seems to be pretty good. It read the
freeRADIUS dictionaries no problems, supports vendor specific
attributes, etc, etc. Great thing about using the Perl modules is that
it then platform independent, so I can test from any client that I want
without having to have freeRADIUS compiled for that client.

Keep up the good work!

Regards,
Michael



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Thor Spruyt
> Sent: Wednesday, 13 October 2004 5:15 AM
> To: FreeRadius Users
> Subject: Interested in a script to simulate user sessions?
> 
> Hi,
> 
> I have written a perl script that simulates user sessions read from a
> scenario file.
> You can have a look at it here: http://www.thor-spruyt.com/radscenario
> The reason I wrote it is that I didn't find a good solution 
> to automate
> several test scenarios.
> At the top, there's some information on how scenarios are constructed.
> 
> Please let me know if something like this is found usefull or not.
> Any suggestions are welcome.
> 
> --
> Regards,
> 
> Thor Spruyt
> E: [EMAIL PROTECTED]
> W: www.thor-spruyt.com
> M: +32 (0)475 67 22 65
> 
> 
> - 
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to