The accompanying code of my white paper about Project Server 2007 Performance Testing has been published and is available here: http://code.msdn.microsoft.com/ps07PLT.
The Project Server 2007 Performance Lab Kit contains two Visual Studio solutions/tools to help you test your farm environment for capacity planning purposes: the “EPMTestTools” and the “EPM Stress Test” solution.
“EPMTestTools” is a command line utility that can be used for preparing the environment for your performance tests. To get a list of all available operations and command line parameters, just execute the tool without passing any parameter.
The "EPM Stress Test" solution contains all web and code-based tests used with Visual Studio to collect performance data are included in this solution.
Let me know if you use this, your feedback and possible improvements!