Created
January 28, 2022 15:28
-
-
Save nevercodealone/16b39d3749e4d61658a8c793da278518 to your computer and use it in GitHub Desktop.
Well formatted output for locust text response in python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
.... | |
parsed = json.loads(response.text) | |
print(json.dumps(parsed, indent=4, sort_keys=True)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment