jump to navigation

xstress – xk0derz SMTP Stress Testing Tool November 15, 2007

Posted by xk0der in : Programming , trackback

xstress is a tool developed by me, that allows users to stress test (their) SMTP Mail servers. The tool is pretty straight forward (and very simple too). It creates multiple connections to the mail server and pumps e-mail traffic on those connection. That’s it.

The good thing is that you can configure lots of parameter to simulate different kind of traffic, like virus traffic and spam traffic for instance.

You may use the links below to get sample (un-harmful) virus file and spam file respectively.

http://en.wikipedia.org/wiki/EICAR_test_file
http://en.wikipedia.org/wiki/GTUBE

The tool contains a README file explaining how to build and run it.

Complete source is available at the following link: http://sourceforge.net/projects/xstress

xstress Home Page : http://xstress.sourceforge.net

Hope this tool is useful to some ( or all ;) )

Like this post?

Comments»

1. Sunitha Kurivella - August 20, 2010

Hi,

How can i configure, like username and password to send a mail to the recipient.

2. xk0der - August 20, 2010

@Sunitha: Have a look at the example xstress.conf file included with the sourcecode. It’s also available online here: http://github.com/xk0der/xstress/blob/master/xstress.conf

Search for “Authentication data” , uncomment USERNAME, and PASSWORD fields and set desired values for these variables.

In short, all configuration goes into xstress.conf file.

IMPORTANT: Do note that xstress checks for the configuration file in the current directory only! … so if you are running xstress from inside the bin folder, place or edit the xstress.conf file in bin folder.

I would suggest you go through the README file once as well.