You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/04/22 07:49:20 UTC

DO NOT REPLY [Bug 44851] New: ApacheBench: Rudamentary PUT and DELETE support

https://issues.apache.org/bugzilla/show_bug.cgi?id=44851

           Summary: ApacheBench: Rudamentary PUT and DELETE support
           Product: Apache httpd-2
           Version: 2.2.8
          Platform: All
               URL: http://www.martini.nu/
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mahlon@martini.nu


Created an attachment (id=21842)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21842)
ApacheBench PUT and DELETE

Hey there.

We're working on a modest REST framework, and wanted to wrap automatic
benchmarking into our continuous build process.  I'm honestly a little
surprised by the lack of benchmarkers out there that output in a machine
parsable format.  'ab' is pretty ubiquitous, but we needed DELETE and PUT in
addition to GET/HEAD/POST.

This small patch represents about 15 minutes of pokin' at it.  It seems to do
the right thing.  Taken from a 2.2.8-stable tarball.

I tried to keep it within the existing code style.  Comments welcome.

I'd appreciate your consideration with committing this to the core codebase --
it'd be great to round out ApacheBench's RESTy verbs a bit.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 44851] ApacheBench: Rudamentary PUT and DELETE support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44851

Roman Jurkov <wi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Roman Jurkov <wi...@gmail.com> ---
change from 56604 was merged to trunk, and covers requirements from this ticket
also

*** This bug has been marked as a duplicate of bug 56604 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44851] ApacheBench: Rudamentary PUT and DELETE support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44851


Mahlon E. Smith <ma...@martini.nu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21842|0                           |1
        is obsolete|                            |




--- Comment #1 from Mahlon E. Smith <ma...@martini.nu>  2008-04-22 07:23:04 PST ---
Created an attachment (id=21845)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21845)
ApacheBench PUT and DELETE patch, take 2

Minor change:  'posting' variable was arguably overloaded before (not just a
boolean, but -1 for HEAD, 0 for GET, and 1 for POST) -- just renamed it to
'method', but kept numerical mapping logic:

-2 DELETE
-1 HEAD
0 GET
1 POST
2 PUT

'posting' implied a boolean (is this a posting request?) before, I think
'method' is a little more readable.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44851] ApacheBench: Rudamentary PUT and DELETE support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44851


Mahlon E. Smith <ma...@martini.nu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.2.8                       |2.2.9




--- Comment #2 from Mahlon E. Smith <ma...@martini.nu>  2008-06-19 22:50:25 PST ---
Updated patch against ApacheBench 2.3, which shipped with Apache 2.2.9-stable.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44851] ApacheBench: Rudamentary PUT and DELETE support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44851


Mahlon E. Smith <ma...@martini.nu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21845|0                           |1
        is obsolete|                            |




--- Comment #3 from Mahlon E. Smith <ma...@martini.nu>  2008-06-19 22:51:26 PST ---
Created an attachment (id=22150)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22150)
ApacheBench PUT and DELETE patch (Apache 2.2.9 AB 2.3)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org