X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 08FA8D1C4D6 for ; Fri, 15 Aug 2003 13:12:34 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 47849-07 for ; Fri, 15 Aug 2003 10:12:26 -0300 (ADT) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by svr1.postgresql.org (Postfix) with ESMTP id AD0C0D1C4CD for ; Fri, 15 Aug 2003 10:12:06 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 19neNF-000HpO-0U; Fri, 15 Aug 2003 14:12:10 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id D1E3917297; Fri, 15 Aug 2003 14:12:08 +0100 (BST) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 3600017296; Fri, 15 Aug 2003 14:12:08 +0100 (BST) From: Richard Huxton To: mixo@coza.net.za, pgsql-performance@postgresql.org Subject: Re: Benchmark Date: Fri, 15 Aug 2003 14:12:08 +0100 User-Agent: KMail/1.5 References: <3F3C7ED5.7050807@coza.net.za> In-Reply-To: <3F3C7ED5.7050807@coza.net.za> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308151412.08155.dev@archonet.com> X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/274 X-Sequence-Number: 3090 On Friday 15 August 2003 07:33, mixo wrote: > I have the following setup : > Apache 2 + mod_perl 2 > Postgres 7.3.2 > > I am looking for a benchmark utilty that the simulate a user session. > For example, a user login in, displaying a ticket and searching for > tickets; all these invlove a user connecting to the a url, like for search, > a user needs > to open "somehost.domain/path/to/search.html?with=arguments". The > utiltly needs > to simulate these actions. > > The following tools currently have so far caught my attention: > Apache Jmeter > ab Depending on how complex things are, you may be able to use Tomka's suggestion of a batch of wget commands. However, if you want to be able to fill in forms, handle cookies and react to results you might want to look at something based on Perl's LWP bundle (LWP::UserAgent is a good start point). If you want to see how many users can be supported, don't forget to include plausible delays in the test sequence where the users would be reading/entering data. If you do find some flexible, scriptable web testing system that can read/fill out forms etc please post to the list - I've had no luck finding anything I like. -- Richard Huxton Archonet Ltd