Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def accounts = [[username:'account1', password:'changeme'],[username:'account2',password:'changeme']]
- def threads=100
- while(true){
- GParsPool.withPool(threads){
- accounts.eachParallel {
- //authenticate
- //post tweat #dadiawards
- }
- }
- }
Add Comment
Please, Sign In to add comment