tools that can make HTTP connections to a PHP-based

Looking for recommendations about available command line tools that can make HTTP connections to a PHP-based
application that’s on top of a WAMP stack.

Can anyone share past experiences with this?

Post to Twitter Tweet This Post

5 Comments so far »

  1. Chris said,

    Wrote on October 23, 2008 @ 8:15 pm

    I find siege to be a particularily good open source load testing tool while w3m and links are great command line web browsers and curl provides an awesome library for interfacing from code.

  2. Mariano Peterson said,

    Wrote on October 23, 2008 @ 8:18 pm

    If you’re simply trying to ping a URL from the command line, use curl.

    Example:
    curl http://www.gamespot.com -o /tmp/output.txt

    Selenium isn’t designed for *load* testing. My understanding is Selenium runs a bit slow, but is fantastic for automated testing of functionality on a web based UI. Selenium makes it very easy to record and playback user interactions with your UI, but doesn’t do a great job of simulating numerous simultaneous connections. The Selenium grid, I believe, is more geared towards running your test suite as quickly as possible and is not geared towards simulating load. On the topic of executing the test suite quickly, Sauce Labs looks like an interesting approach:

    http://saucelabs.com/

    For proper load testing, I’ve had a good experience using Siege to play back logs and simulate read-only load. Perhaps adding Selenium to the mix to simulate cache-clearing events would be helpful for load testing as well.

    Hope this helps.

  3. fuad said,

    Wrote on October 23, 2008 @ 8:20 pm

    you can use Siloenium or Load Runner. Also fiddler 2.0 is a good tool.

  4. fuad said,

    Wrote on October 23, 2008 @ 10:21 pm

    for HTTP connection testing I usually built a small script that loads up a bunch of cURL instances.

  5. Stefan said,

    Wrote on October 23, 2008 @ 10:25 pm

    Just a small note on the side since i read WAMP in the original post – curl doesn’t come with the standard windows command shell (not sure about powershell though). So if you want to use command-line curl on a windows box then you would need to install it extra. I’d recommend a unix-tool-collection like CYGWIN:
    http://www.cygwin.com/

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment: