search cancel

API call for Max Number of Virtual Users

book

Article ID: 215976

calendar_today

Updated On:

Products

BlazeMeter

Issue/Introduction

 
 

Hi,

I see that in the Usage Report for the Workspaces of which I am a part there is now a metric called Max Number of Virtual Users
Is it possible to obtain this value via an API call to Blazemeter? 
If so can you please provide an API call example / syntax? 
I did not see this specific item in the API docs.

Environment

 

Release :

Component : BLAZEMETER PERFORMANCE TESTING

Resolution

 

the IP call to get this information would be the following:

Api Explorer (blazemeter.com)

https://a.blazemeter.com/api/v4/explorer/#!/workspaces/workspacesRetrieveReportMaxUsage

example:

https://a.blazemeter.com/api/v4/workspaces/1234567/reports/usage/tests/maxUsage?fromDate=1619395200&toDate=1622073599&chargeType=vu&daysInterval=1&filterByActivePlatform=false&groupBy=testType

the code on the web page does the actual summary.
The Jason that is returned just has the values for the time period in question.

The FromDate and the ToDate are in epoch time.

Attachments