Test method for realizing curl request concurrency through proxy mode
The invention discloses a test method for realizing curl request concurrency through an agent mode. Comprising the steps of starting a 302 scheduling system and preparing test data, carrying out a test of curl request response on a virtual machine, setting an agent and packaging an http request, cre...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a test method for realizing curl request concurrency through an agent mode. Comprising the steps of starting a 302 scheduling system and preparing test data, carrying out a test of curl request response on a virtual machine, setting an agent and packaging an http request, creating a thread pool and submitting the packaged http request to the thread pool needing to execute a task, waiting for an execution result and returning the execution result, extracting related data needed by the test according to the request result, and executing the task according to the extracted related data. The method has the beneficial effects that compared with the prior art, the technical scheme greatly shortens the execution time of a large batch of requests, improves the stability and execution efficiency of automatic scripts, reduces the workload and cost investment of testers, further saves the labor cost, and improves the efficiency of the automatic scripts. According to the technical scheme, the step |
---|