Verified Commit 777962c1 authored by Johannes Visintini's avatar Johannes Visintini
Browse files

Debugging output now contains responses

parent c8c1e0ac
......@@ -56,7 +56,11 @@ def perform_requests(test_requests, args):
if r.status_code != 200 or args.debug:
tqdm.write('{} {}: {}'.format(request['method'], r.status_code, r.url))
if request['method'] == 'POST':
tqdm.write(' → {}'.format(request['parameters']))
tqdm.write(' → {:.200}'.format(str(request['parameters'])))
if args.debug:
tqdm.write('Output')
tqdm.write(r.text)
tqdm.write('-'*50)
t.set_description('')
return status_codes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment