Use JSON payload type
What does this MR do?
Migrates benchmarking to use the JSON API of the SAST scanner service.
Note: a number of other issues were addressed in the course of debugging the addition. Commits are broken down so that issues are addressed first and the new feature is added last. Issues are linked below.
What are the relevant issue numbers?
- Primary objective of this MR: Update benchmarks to use JSON API (gitlab-org/gitlab#494972 - closed) • Jason Leasure • 17.5
- At least partially addressed by this MR: Make cleanup of allocated GCP resources more ro... (gitlab-org/gitlab#495642 - closed) • Jason Leasure • 17.5 • Needs attention
- These changes make error reporting from the service more visible