interface automatic test method based on JMeter and Jenkins and a device thereof
A technology of automated testing and interface testing, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as the inability to generate statistical trend charts of test results independently, and JMeter test results that do not conform to TestAnythingProtocol, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Such as figure 1 As shown, a kind of interface automatic testing system based on JMeter and Jenkins of the present invention comprises use case module, JMeter operation unit, automatic signature module, server module, result output module, result judgment module and automatic execution module, wherein, use case The module is used to assemble the test data (use case data) and the use case code together into a test case without a signature, and output it to the JMeter operation unit; the JMeter operation unit is used to read the test case and send it through the HTTP request that comes with JMeter To the server module; configure the number of times JMeter runs the interface tests of the test cases according to the number of test cases. The automatic signature module is used to intercept the HTTP request, perform signature calculation on the parameters of the test case request, then reorganize the test case, and resend the test case with the signature to the server module;...
Embodiment 2
[0056] Such as figure 2 Shown, a kind of interface automation testing method based on JMeter and Jenkins of the present invention, this interface automation testing method comprises the following steps:
[0057] Step 1. Divide the business modules according to the actual business scenarios of the company, and prepare the use cases corresponding to each business module according to the use case modules;
[0058] Step 2. After JMeter runs, read the configuration files of each business module, obtain the code of the application case, read the relevant data of the use case, assemble the use case code and use case data into a test case without signature, and then use JMeter's own HTTP request Send, according to the number of test cases, JMeter can run the interface test of n test cases, n is greater than or equal to 1;
[0059] Step 3. Each time a test case is sent through JMeter’s built-in HTTP request, the signature-related algorithm code intercepts the built-in HTTP request, p...
Embodiment 3
[0082] Embodiment 3 of the present invention provides an electronic device, including a memory and a processor memory for storing one or more computer instructions, wherein one or more computer instructions are executed by the processor to implement the method described in Embodiment 2. Interface automation testing method based on JMeter and Jenkins.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com