Sproxy FAQ

FREQUENTLY ASKED QUESTIONS

What Is It? ^

Sproxy is the Siege PROXY server. It is designed to harvest URLs into a file that can be read by siege. To create a siege urls.txt file, just configure your browser to use sproxy then browse the website you want to test.

How Does It Work? ^

Sproxy is the Siege PROXY server. This program is a perl daemon that sits between your browser and a web server. After you start the sproxy server, you configure your browser to use it as a proxy. With sproxy as your proxy, all you need to do is click on the URLs you want to siege. Sproxy will harvest the URL along with all the page elements, style sheets, images, javascript, etc. BE CAREFUL. Sproxy will harvest external elements as well. Before you feed the URL list to siege, make sure you edit it. You don’t want to siege your partners.

Does Sproxy Work With HTTPS? ^

Unfortunately, no. In order to support HTTPS, sproxy needs to establish a secure tunnel between itself and the web server. Thus far, we haven’t had the need to incorporate this feature. If you hack HTTPS support, please send us the code and we’ll get it into the base.

 

Posted in | 6 Comments

6 Responses to “Sproxy FAQ”

  1. M Nair says:

    Jeff

    Great product ! My question is how do you configure the browser to use the sproxy when its running locally ? Thanks

    • Jeff Fulmer says:

      When sproxy comes up, it should tell you which host it’s bound to. That will either be the hostname or localhost. If no hostname is mentioned, that means its set to “any”. In that case, you should be able to use localhost.

      NOTE: At some point I’ll delete these comments and make this part of the FAQ.

  2. m nair says:

    Jeff

    Thanks for reply. But I am still confused … Lets say my apache server runs on localhost port 80. I will run >sproxy localhost…. Now I open up the browser and go to http://localhost and I see the apache home page. How would I route the http get through from browser through the sproxy ?

    are you saying I select ‘sproxy’ and port 9001 in the PROXY tab in browser before I access the site?

    Thanks

    • Jeff Fulmer says:

      You have to configure your browser to use sproxy as your PROXY server. On Chrome, for example, it’s Wrench => Preferences => Under the hood => Change Proxy Settings…

  3. M Nair says:

    Jeff

    I have a load balancer which has my dev box as a node in a pool. Lets say the IP of the VIP is 10.10.10.10 . I tried running the sproxy against the host 10.10.10.10 but it gave an error in line 56…and I have no clue what it stands for….My question is does sproxy work with a VIP ?

  4. M Nair says:

    Jeff

    I started my sproxy on my mac as follows listening on default port to my local host (127.0.0.1)

    GC-MNAIR-ML1:Documents mnair$ sproxy
    SPROXY v1.02 listening on port 9001
    …appending HTTP requests to: /Users/mnair/urls.txt
    …default connection timeout: 120 seconds

    In Chrome I change my web proxy(http) setting to SPROXY PORT 9001.

    Then I go to Chrome and try http://127.0.0.1 and i get this proxy connection error.

    Unable to connect to the proxy server
    A proxy server is a server that acts as an intermediary between your computer and other servers. Right now, your system is configured to use a proxy, but Google Chrome can’t connect to it.
    Here are some suggestions:
    If you use a proxy server, check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don’t believe you should be using a proxy server, adjust your proxy settings: Go to Applications > System Preferences > Network > Advanced > Proxies and deselect any proxies that have been selected.
    Error 130 (net::ERR_PROXY_CONNECTION_FAILED): Proxy server connection failed.

Leave a Reply