Locrust performance test method and device, electronic equipment and storage medium

The invention provides a Locust performance test method and device, electronic equipment and a storage medium, for an obtained target py file, a script file of an atomic service can be disassembled from the target py file, and then a target atomic service for performance test is determined from the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: CHANG AILING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a Locust performance test method and device, electronic equipment and a storage medium, for an obtained target py file, a script file of an atomic service can be disassembled from the target py file, and then a target atomic service for performance test is determined from the disassembled atomic service, so that the performance of the target atomic service is tested. And further combining the script files of the target atomic service into a temporary py file, and executing the temporary py file according to the test parameters to obtain a performance test result after the test parameters for the performance test are obtained. Based on the method and the device, the disassembled atomic service can be used as the public atomic service to be repeatedly called by a user, and when the performance test is executed every time, only the script file of the unavailable atomic service needs to be supplemented, and the code of the public atomic service does not need to be repeatedly written, so tha