Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
testa_advanced_dash2
#!/usr/bin/env ruby
require 'cgi'
json = "{'action':'UpdateTicketPriority', 'params':{'TICKETID':'1001','INTERNAL_PRIORITY':'1'}}"
base_url = "http://10.1.1.172:7001/advdash2data/ActionService?json_req="
encoded_json = CGI.encode(json)
full_url = base_url + encoded_json
request_number = 10
requests = [full_url] * request_number
sh "echo #{requests.join(' ')} | xargs -P #{request_number} wget"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.