US 11,755,468 B2
Automated generation of load tests for API testing
Nicolas Battiato, Buenos Aires (AR); Diego Gabriel Larralde, Buenos Aires (AR); Guido Martinez, Buenos Aires (AR); and Christian Vallejos, Buenos Aires (AR)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by salesforce.com, inc., San Francisco, CA (US)
Filed on Sep. 20, 2021, as Appl. No. 17/479,493.
Prior Publication US 2023/0089336 A1, Mar. 23, 2023
Int. Cl. G06F 11/36 (2006.01); G06F 11/32 (2006.01); G06F 11/30 (2006.01); G06F 11/34 (2006.01)
CPC G06F 11/3688 (2013.01) [G06F 11/3072 (2013.01); G06F 11/324 (2013.01); G06F 11/3414 (2013.01); G06F 11/3692 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
receiving, by one or more computing devices, a specification of an application programming interface (API) and parameters for one or more load tests, wherein:
the parameters comprise a number of parallel requests to the API and a duration for the one or more load tests, and
the one or more computing devices comprise a library comprising test instructions;
analyzing, by the one or more computing devices, the specification of the API and the parameters;
generating, by the one or more computing devices, a load test by importing at least a portion of the test instructions from the library based on the analyzing; and
executing, by the one or more computing devices, the load test on an endpoint of the API for the duration.