Skip to content

Instantly share code, notes, and snippets.

@marklit
Created February 14, 2013 13:51
Show Gist options
  • Save marklit/4952958 to your computer and use it in GitHub Desktop.
Save marklit/4952958 to your computer and use it in GitHub Desktop.
import requests
for x in xrange(0, 40000):
r = requests.get('http://127.0.0.1:8080/solr/select')
assert r.status_code == 200, r.status_code
print r.content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment