Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Escape character for URL #28

merged 1 commit into from

2 participants


If the URL string is not in double quotes, the tool is truncating the URL by passing only one value of the post data. With this change the URL is not truncated and the complete URL is sent to the web server.

@JoeGermuska JoeGermuska merged commit c5d3789 into newsapps:master

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2012
  1. Escape URL in ab shell command

    Suneel Vana authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  beeswithmachineguns/
2  beeswithmachineguns/
@@ -186,7 +186,7 @@ def _attack(params):
print 'Bee %i is firing his machine gun. Bang bang!' % params['i']
- stdin, stdout, stderr = client.exec_command('ab -r -n %(num_requests)s -c %(concurrent_requests)s -C "sessionid=NotARealSessionID" %(url)s' % params)
+ stdin, stdout, stderr = client.exec_command('ab -r -n %(num_requests)s -c %(concurrent_requests)s -C "sessionid=NotARealSessionID" "%(url)s"' % params)
response = {}
Something went wrong with that request. Please try again.