Changeset 2824
- Timestamp:
- 02/02/09 13:00:04 (19 months ago)
- Location:
- stressing
- Files:
-
- 2 modified
-
config.sample.py (modified) (1 diff)
-
requester.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
stressing/config.sample.py
r2821 r2824 16 16 # Deployer 17 17 # 18 SERVER_HOST = 'localhost' 18 SERVER_PORT = 80 19 SERVER_HOST = 'server' 19 20 CLIENT_HOSTS = ['client1', 'client2'] 20 21 -
stressing/requester.py
r2821 r2824 37 37 c.setopt (pycurl.HTTPHEADER, HEADERS) 38 38 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)) 40 40 try: 41 41 c.perform()