-
公开(公告)号:US20230088655A1
公开(公告)日:2023-03-23
申请号:US17589586
申请日:2022-01-31
Applicant: Salesforce.com, inc.
Inventor: Bob O'DELL , Nicolas BATTIATO , Diego LARRALDE , Guido MARTINEZ
IPC: G06F11/36
Abstract: Disclosed herein are system, method, and computer program product embodiments for automatic non-code test suite generation of an application programming language (API) specification. An embodiment operates by receiving a specification of an API, wherein the API comprises a plurality of endpoints. The embodiment generates, using a parser, an abstraction model corresponding to the specification of the API, wherein the abstraction model comprises a plurality of entities corresponding to the plurality of endpoints. The embodiment identifies, based on the abstraction model, an operation that is applicable to an entity of the plurality of entities. The embodiment then generates a functional test based on a use case corresponding to the entity and the operation.
-
公开(公告)号:US20230089336A1
公开(公告)日:2023-03-23
申请号:US17479493
申请日:2021-09-20
Applicant: salesforce.com, inc.
Inventor: Nicolas BATTIATO , Diego Gabriel LARRALDE , Guido MARTINEZ , Christian VALLEJOS
Abstract: Disclosed herein are system, method, and computer-readable medium embodiments for providing the ability to automate the process of generating load tests used for benchmarking APIs. Rather than having to manually generate load tests for a web service API, a test developer can interact with a test service through a web browser and provide the service an API specification and testing parameters. The test service can analyze the API specification, automatically identified endpoints of the API, and generate load tests according to the expected input/output structures of the endpoints. The automatic load test generation can proceed by referring to a library of test instructions and extracting the portions of the test instructions that work for the identified endpoints.
-