Changeset 2824

Show
Ignore:
Timestamp:
02/02/09 13:00:04 (19 months ago)
Author:
alo
Message:
 
Location:
stressing
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • stressing/config.sample.py

    r2821 r2824  
    1616# Deployer 
    1717# 
    18 SERVER_HOST   = 'localhost' 
     18SERVER_PORT   = 80 
     19SERVER_HOST   = 'server' 
    1920CLIENT_HOSTS  = ['client1', 'client2'] 
    2021 
  • stressing/requester.py

    r2821 r2824  
    3737        c.setopt (pycurl.HTTPHEADER, HEADERS) 
    3838        c.setopt (pycurl.WRITEFUNCTION, b.write) 
    39         c.setopt (pycurl.URL, "http://%s/%s"%(SERVER_HOST, path)) 
     39        c.setopt (pycurl.URL, "http://%s:%d/%s"%(SERVER_HOST, SERVER_PORT, path)) 
    4040        try: 
    4141            c.perform()