I am trying to test a web application, part of which includes creating ~ 10K requests, taking a few <1K that return 200 OKand view their data. Webapp is faulty, and there are false positives, so every 200 OK should be checked at least three times.
Working in Python I tried to do this with threading and urllib, but on linux I get thread errors after ~ 920 threads. (My theory is this /proc/sys/kernel/threads-maxdivided by thirty, which is terribly accurate, but this contradicts the fact that each thread is registered as 30 threads with os). In any case, I am looking for a good solution to this problem. I looked at Twisted, but it looks like I will still be thread bound.
Any ideas?
source
share