CN108563571A - Software interface test approach and system, computer readable storage medium, terminal - Google Patents
Software interface test approach and system, computer readable storage medium, terminal Download PDFInfo
- Publication number
- CN108563571A CN108563571A CN201810320466.8A CN201810320466A CN108563571A CN 108563571 A CN108563571 A CN 108563571A CN 201810320466 A CN201810320466 A CN 201810320466A CN 108563571 A CN108563571 A CN 108563571A
- Authority
- CN
- China
- Prior art keywords
- test
- result
- request
- user
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/366—Software debugging using diagnostics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3644—Software debugging by instrumenting at runtime
Abstract
A kind of software interface test approach and device, computer readable storage medium, terminal, the method includes users to generate corresponding test plan by browser end, request is executed when receiving test assignment, obtain the test assignment in the test plan, and according to the acquired corresponding test configurations information of test assignment, corresponding test case execution request Concurrency is generated to send to server end, test case executes request described in the received server-side, it obtains corresponding test case and executes, corresponding test is obtained to return the result, and the test is returned the result and is sent to the browser end, the test is received by the browser end again to return the result, and the test received is returned the result into output and is shown to the user.Above-mentioned scheme can improve the efficiency of software test.
Description
Technical field
The present invention relates to technical field of measurement and test, can more particularly to a kind of software interface test approach and device, computer
Read storage medium, terminal.
Background technology
Software interface test is a kind of test of test system components interface, mainly for detection of external system and system
Between and internal subsystems between interaction point.
The emphasis of software interface test is the exchange of data to be checked, is transmitted between control management process and system
Mutual logic dependencies etc..
But existing method for testing software the problem of there is inefficiency.
Invention content
Present invention solves the technical problem that being how to improve the efficiency of software test.
In order to solve the above technical problems, an embodiment of the present invention provides a kind of software interface test approach, the method packet
It includes:
Browser end receive user addition the corresponding test case library of software interface to be tested configuration information and storage, and to
The user exports the catalogue for showing the test case library;
The browser end receives test assignment addition request input by user, obtains in the catalogue that the user is clicked
Test case configuration information, generate corresponding test assignment and be added in test plan, and will be in the test plan
Test assignment output is shown to the user;
The browser end receives test assignment and executes request, obtains the test assignment in the test plan, and according to being obtained
The corresponding test configurations information of test assignment taken generates corresponding test case execution request Concurrency and send to server end;Institute
It includes the configuration information to state test configurations information;
Test case executes request described in the received server-side, obtains corresponding test case and executes, obtains corresponding
Test returns the result, and the test is returned the result and is sent to the browser end;
The browser end receives the test and returns the result, and the test received is returned the result output and is shown to the use
Family.
Optionally, the configuration information of the test case library includes corresponding interface IP address, interface name and request method
Information.
Optionally, the corresponding test configurations information of test assignment acquired in the foundation, generates corresponding test case
Request is executed, including:
Obtain the information of the request header and request body in the test configurations information;
When determining that acquired request header has preset function and variable, the preset function in the request header and change are replaced
Amount, generates corresponding actual request head;
When determining that acquired request body has built-in function and variable, converts the built-in function in the request and replace institute
The variable in request body is stated, corresponding actual request body is generated;
Generated actual request body is added after the actual request head generated, is assembled into corresponding HTTP request.
Optionally, the test configurations information further includes request header, Cookies information, body, checkpoint, expection is asked to be returned
Return result, if it is variate-value to preserve the preset field numerical value in returning the result, if the information that verification test returns the result.
Optionally, the method further includes at least one of following:
When determined by acquired test configurations information need to return the result the test verify when, the browser
End returns the result the test and verifies, and the output of obtained check results is shown to the user;
The numerical value for returning the result middle preset field to test is needed to preserve when being determined by acquired test configurations information
When, the browser end by the test return the result described in the numerical value of preset field save as variable;
When determining that the format that needs return the result test verifies by acquired test configurations information, the browsing
The test of device end is returned the result with whether the format of the expected test result is consistent, and will obtain comparison result output
It is shown to the user.
Optionally, the test assignment includes fixed time test task and non-timed test assignment;
It is described when the test assignment is fixed time test task and receives the test of the fixed time test task and returns the result
Browser end generation includes the test result report that the test of the fixed time test task returns the result and pushes to the user.
The embodiment of the present invention additionally provides a kind of software interface test system, and the system comprises browser ends and server
End;
Browser end, suitable for receiving the configuration information for the corresponding test case library of software interface to be tested that user adds and depositing
Storage, and the catalogue for showing the test case library is exported to the user;Test assignment addition request input by user is received, is obtained
The configuration information for taking the test case in the catalogue that the user clicked, generates corresponding test assignment and is added to test
In the works, and by the test assignment output in the test plan it is shown to the user;It receives test assignment and executes request, obtain
The test assignment in the test plan is taken, and according to the acquired corresponding test configurations information of test assignment, generates and corresponds to
Test case execute request Concurrency send to server end;The test configurations information includes the configuration information;
The server end is suitable for receiving the test case and executes request, obtains corresponding test case and execute, and obtains pair
The test answered returns the result, and the test is returned the result and is sent to the browser end;
The browser end is further adapted for receiving the test and returns the result, and the test received is returned the result output display
To the user.
Optionally, the configuration information of the test case library includes corresponding interface IP address, interface name and request method
Information.
Optionally, the browser end is suitable for obtaining the information of the request header and request body in the test configurations information;
When determining that acquired request header has preset function and variable, the preset function and variable in the request header are replaced, it is raw
At corresponding actual request head;When determining that acquired request body has built-in function and variable, convert in the request
Built-in function simultaneously replaces the variable in the request body, generates corresponding actual request body;The actual request head generated it
Generated actual request body is added afterwards, is assembled into corresponding HTTP request.
Optionally, the test configurations information further includes request header, Cookies information, body, checkpoint, expection is asked to be returned
Return result, if it is variate-value to preserve the preset field numerical value in returning the result, if the information that verification test returns the result.
Optionally, the browser end is further adapted for executing at least one of following:
When determined by acquired test configurations information need to return the result the test verify when, to the test
It returns the result and is verified, and the output of obtained check results is shown to the user;
The numerical value for returning the result middle preset field to test is needed to preserve when being determined by acquired test configurations information
When, by the test return the result described in the numerical value of preset field save as variable;
When determining that the format that needs return the result test verifies by acquired test configurations information, described in comparison
Test is returned the result with whether the format of the expected test result is consistent, and will be obtained comparison result output and be shown to the use
Family.
Optionally, the test assignment includes fixed time test task and non-timed test assignment;
The browser end is further adapted for when the test assignment is fixed time test task and receives the fixed time test task
When test returns the result, generation includes the test result report that the test of the fixed time test task returns the result and pushes to institute
State user.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer instruction, described
The step of computer instruction executes software interface test approach described in any one of the above embodiments when running.
The embodiment of the present invention additionally provides a kind of terminal, including memory and processor, and energy is stored on the memory
Enough computer instructions run on the processor, the processor execute any of the above-described when running the computer instruction
The step of described software interface test approach.
Compared with prior art, the technical solution of the embodiment of the present invention has the advantages that:
Above-mentioned scheme, user can generate corresponding test plan by browser end, and request is executed when receiving test assignment,
The test assignment in the test plan is obtained, and according to the acquired corresponding test configurations information of test assignment, generation pair
The test case answered executes request Concurrency and send to server end, and test case executes request described in the received server-side,
It obtains corresponding test case and executes, obtain corresponding test and return the result, and the test is returned the result and is sent to institute
Browser end is stated, then the test is received by the browser end and is returned the result, and the test received is returned the result into output
It is shown to the user, the automatic test of software interface may be implemented, without manually carrying out, therefore test can be improved
Efficiency promotes the experience of user.
Description of the drawings
Fig. 1 is a kind of structural schematic diagram of software interface test system in the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of software interface test approach in the embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of test case library addition window in the embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of test use cases addition window in the embodiment of the present invention;
Fig. 5 is showing for the test case library directory that left side is shown in a kind of test use cases addition window in the embodiment of the present invention
It is intended to;
Fig. 6 is the schematic diagram of the test case implementing result of software interface test approach in the embodiment of the present invention;
Fig. 7 is that a kind of actual test in the embodiment of the present invention returns the result schematic diagram with expected test structure;
Fig. 8 is that the test of the browser end output in the embodiment of the present invention returns the result and shows with the comparison result of expected results
It is intended to;
Fig. 9 is the schematic diagram of the solicited message of the browser end output in the embodiment of the present invention;
Figure 10 is the schematic diagram of the checkpoint of the browser end output in the embodiment of the present invention.
Specific implementation mode
Technical solution in the embodiment of the present invention, user can generate corresponding test plan by browser end, when connecing
Acceptance Tests task execution is asked, and obtains the test assignment in the test plan, and corresponding according to acquired test assignment
Test configurations information generates corresponding test case execution request Concurrency and send to server end, by the received server-side institute
It states test case and executes request, obtain corresponding test case and execute, obtain corresponding test and return the result, and by the survey
Examination, which returns the result, is sent to the browser end, then receives the test by the browser end and return the result, and will be received
Test return the result output and be shown to the user, the automatic test of software interface may be implemented, improve testing efficiency, carry
Rise the experience of user.
It is understandable to enable above-mentioned purpose, feature and the advantageous effect of the present invention to become apparent, below in conjunction with the accompanying drawings to this
The specific embodiment of invention is described in detail.
In order to make it easy to understand, the structure for testing the software interface in the embodiment of the present invention system first is done briefly below
Description.
Fig. 1 shows a kind of structure of the test system of software interface in the embodiment of the present invention.Referring to Fig. 1, a kind of software
Interface testing system may include browser end 101 and server end 102,102 communication link of the browser end 101 and server end
It connects.
The operation principle that system is tested software interface shown in FIG. 1 below in conjunction with Fig. 2 to Fig. 9 carries out detailed retouch
It states.
Fig. 2 is a kind of flow diagram of software interface test approach of the embodiment of the present invention.With reference to figure 1, a kind of software
Interface test method can specifically include suitable for testing software interface:
Step S201:Browser end receives the configuration information of the corresponding test case library of software interface to be tested of user's addition simultaneously
Storage, and the catalogue for showing the test case library is exported to the user.
In specific implementation, test case library includes corresponding multiple test cases, and the test case library is stored in
Server end.When needing to test software interface, user can add matching for corresponding test case library in browser
Confidence ceases, and the browser can store the test case library that user adds, and generate corresponding test case library
Catalogue output is shown to the user.
Referring to Fig. 3, when needing to test software interface, corresponding test case library is presented to user in browser end
Window is added, user can input corresponding remark information, host address, interface in the test case library creates window is
The information of no encryption and cipher mode.When receiving the configuration information of above-mentioned test case library, the browser end is by institute
The configuration information of reception is stored.Wherein, when the format of the uniform resource locator of interface requests is:http://host[:
Port] [path], host address is http://host[:Port].
Referring to Fig. 4, when creating window reception to corresponding information by test case library, browser end can be to user
Corresponding test use cases addition window is shown, to create corresponding test case under the menu of the test case library of establishment
Collection.Wherein, user adds window by the test use cases can input the configuration information of corresponding test case, including standby
Whether note explanation, interface IP address, interface name, request method, interface are encrypted, whether json compares, verifies.
When test case library and test use cases add successfully, browser end can be by the test case library of user's addition
Corresponding catalogue is generated with the information of test use cases, exports the test case for showing that user adds to user in the catalogue
The information in library and test use cases, so that user can easily get the information of added test case library.
Step S202:The browser end receives test assignment addition request input by user, obtains user institute point
The configuration information of test case in the catalogue hit generates corresponding test assignment and is added in test plan, and by institute
It states the output of the test assignment in test plan and is shown to the user.
In specific implementation, when needing to test software interface, user can pass through the survey of browser end presentation
Trial business addition window adds corresponding test assignment, generates test plan.
Referring to Fig. 5, the left side that window is added in the test assignment has a corresponding test case library directory, and user can be with
It therefrom chooses the test case of needs and is clicked, browser, can be with when receiving the test case library that user is clicked
The corresponding configuration information of the test case is got, the corresponding configuration information of test case is such as captured by Fiddler, including right
The remarks explanation answered, interface IP address, interface name, request method, whether encrypt, whether json comparisons, whether complete trails, whether
Request verification, whether effective information.Wherein, when the uniform resource locator of interface requests(URL)Format be:http://
host[:Port] [path] when, if be whether complete trails is complete URL request.
In an embodiment of the present invention, when adding corresponding test assignment, user can also pass through the test assignment
Addition window add corresponding request header, Cookies information, request body, parameter preserve and checkpoint test configurations information, with
Allow browser end to generate corresponding test case by the test configurations information and execute request, and browser end is returned
The test for the test case returned, which returns the result, to be further processed.
In specific implementation, when corresponding test assignment is added successfully, corresponding test can be generated under test plan
Task and export be shown to user.Test plan as shown in Fig. 5, which includes multiple tests of the number since 1
Task, the number indicate the order of addition of corresponding test plan.Wherein, test assignment in test plan executes sequence
Can according to the actual needs it be arranged by user, user can pass through the test of one or more of test plan as described in choosing
Task executes etc..
Step S203:The browser end receives test assignment and executes request, and the test obtained in the test plan is appointed
Business, and according to the acquired corresponding test configurations information of test assignment, generate corresponding test case execution request Concurrency and give
To server end.
In specific implementation, user can be sent corresponding by " starting to execute " button of browser end to browser
Test assignment executes request.When receiving test assignment input by user and executing request, browser from being stored in data before
The corresponding test configurations information of the test assignment is obtained in library.Wherein, the test configurations information include request header,
Cookies information, request body, parameter preserves and the corresponding configuration information of information and test case of checkpoint, as remarks are said
Bright, interface IP address, interface name, request method, whether encrypt, whether json comparison, whether complete trails, whether ask verification,
Whether the information such as effective.Wherein, the operation that Cookies information is used to be used for after analog subscriber logs in can handle when user logs in
In corresponding information storage to local Cookies, when individually testing some interface, by the way that corresponding Cookies information is arranged,
It can ensure that the business operation after logging in is normally carried out;The expection of checkpoint, i.e. test case returns the result, for judging pair
Whether returning the result for the software interface answered meets expected results;It is whether effectively, whether effective for controlling single test case,
At runtime, single interface can be executed, a use-case library can also be executed, in the implementation procedure of use-case library, certain is once not required to
It executes some interface but is not desired to delete the information, you can be set as invalid, do not execute the test case of this interface.
When getting corresponding test configurations information, browser end is generated based on acquired test configurations information and is corresponded to
Test case execute request.For example, browser end can obtain the request header in the test configurations information and ask body
Information, and judge whether acquired request header has preset function and variable and ask body whether with built-in function and change
Amount.Wherein, when determining that acquired request header has preset function and variable, browser end is replaced pre- in the request header
If function and variable, corresponding actual request head is generated;When determining that acquired request body has built-in function and variable, browsing
Device end converts the built-in function in the request and replaces the variable in the request body, generates corresponding actual request body.It connects
It, browser end adds generated actual request body after the actual request head generated, is assembled into corresponding HTTP and asks
It asks, i.e., test case executes request, and the HTTP request generated is used corresponding request method, such as POST or GET, sends
To the server end.
Wherein, the setting of the preset function of the built-in function in the request body and request header so that user is not required to
Want any programming basis, it is only necessary to it is write according to example, it can self defined time format, timestamp, random integers, random small
Number etc., it is easy to use.
Step S204:Test case executes request described in the received server-side, obtains corresponding test case and holds
Row obtains corresponding test and returns the result, and the test is returned the result and is sent to the browser end.
In specific implementation, the server end, can be from the survey when receiving the test case execution request
The information that corresponding test case is parsed in example request on probation, to obtain corresponding test case and execute, and will correspond to
Test case test result, namely test returns the result and is sent to the browser end by network.
Step S205:The browser end receives the test and returns the result, and the test received is returned the result defeated
Go out and is shown to the user.
In specific implementation, the test that the browser end sends server end, which returns the result, to be received and is protected
It deposits, and the test is returned the result into output and is shown to the user, as shown in Fig. 6 is the survey of multiple test cases
Examination returns the result.
Fig. 7 to Figure 10 is referred to, as previously mentioned, the test configurations information can also include checkpoint, expected return knot
Fruit, if it is variate-value to preserve the preset field numerical value in returning the result, if the information that verification test returns the result.At this point,
Browser end can determine the need for that the preset field numerical value in returning the result will be tested by above-mentioned test configurations information
For variate-value, if verification test returns the result etc. and the output of corresponding result is shown to user.
In specific implementation, it needs to return the result progress to the test when by acquired test configurations information determination
When verification, the browser end returns the result the test and verifies, and the output of obtained check results is shown to institute
State user;The numerical value for returning the result middle preset field to test is needed to protect when being determined by acquired test configurations information
When depositing, the browser end by the test return the result described in the numerical value of preset field save as variable;When by being obtained
When the test configurations information taken determines that the format that needs return the result test verifies, the browser end survey
Examination is returned the result with whether the format of the expected test result is consistent, and will be obtained comparison result output and be shown to the use
Family.
In an embodiment of the present invention, user can also add the corresponding timing of window creation by corresponding test assignment
Test assignment, to improve time utilization efficiency.Wherein, when reaching the timed task corresponding execution start time, browsing
Device end then uses preceding method to send corresponding test case to server end and executes request, and receives the institute of server end transmission
The test for stating fixed time test task returns the result.When the test for receiving the fixed time test task that the server is sent is returned
When returning result, the browser end can return the result the test of the fixed time test task based on the test configurations information
It is further processed, such as test is returned the result and is verified with the expected format returned the result, meanwhile, it can be based on
The setting of user is returned the result using the test and generates corresponding test result report with check results etc., and passes through mail
Or the modes such as wechat are pushed to user, so that user can obtain the relevant information in test result report in time.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer instruction, described
The step of software interface test approach is executed when computer instruction is run.Wherein, the software interface test approach is asked
Referring to the introduction of preceding sections, repeat no more.
The embodiment of the present invention additionally provides a kind of terminal, including memory and processor, and energy is stored on the memory
Enough computer instructions run on the processor, the processor execute the software when running the computer instruction
The step of interface test method.Wherein, the software interface test approach refers to the introduction of preceding sections, repeats no more.
Using the said program of the embodiment of the present invention, user can generate corresponding test plan by browser end, when
It receives test assignment and executes request, obtain the test assignment in the test plan, and correspond to according to acquired test assignment
Test configurations information, generate corresponding test case and execute request Concurrency and send to server end, by the received server-side
The test case executes request, obtains corresponding test case and executes, and obtains corresponding test and returns the result, and will be described
Test, which returns the result, is sent to the browser end, then receives the test by the browser end and return the result, and will be connect
The test of receipts returns the result output and is shown to the user, and the automatic test of software interface may be implemented, without artificial hand
It is dynamic to carry out, therefore testing efficiency can be improved, promote the experience of user.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in computer readable storage medium, and storage is situated between
Matter may include:ROM, RAM, disk or CD etc..
Although present disclosure is as above, present invention is not limited to this.Any those skilled in the art are not departing from this
It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
Subject to the range of restriction.
Claims (14)
1. a kind of software interface test approach, which is characterized in that including:
Browser end receive user addition the corresponding test case library of software interface to be tested configuration information and storage, and to
The user exports the catalogue for showing the test case library;
The browser end receives test assignment addition request input by user, obtains in the catalogue that the user is clicked
Test case configuration information, generate corresponding test assignment and be added in test plan, and will be in the test plan
Test assignment output is shown to the user;
The browser end receives test assignment and executes request, obtains the test assignment in the test plan, and according to being obtained
The corresponding test configurations information of test assignment taken generates corresponding test case execution request Concurrency and send to server end;Institute
It includes the configuration information to state test configurations information;
Test case executes request described in the received server-side, obtains corresponding test case and executes, obtains corresponding
Test returns the result, and the test is returned the result and is sent to the browser end;
The browser end receives the test and returns the result, and the test received is returned the result output and is shown to the use
Family.
2. software interface test approach according to claim 1, which is characterized in that the configuration information of the test case library
Include the information of corresponding interface IP address, interface name and request method.
3. software interface test approach according to claim 2, which is characterized in that the test assignment acquired in the foundation
Corresponding test configurations information generates corresponding test case and executes request, including:
Obtain the information of the request header and request body in the test configurations information;
When determining that acquired request header has preset function and variable, the preset function in the request header and change are replaced
Amount, generates corresponding actual request head;
When determining that acquired request body has built-in function and variable, converts the built-in function in the request and replace institute
The variable in request body is stated, corresponding actual request body is generated;
Generated actual request body is added after the actual request head generated, is assembled into corresponding HTTP request.
4. software interface test approach according to claim 2 or 3, which is characterized in that the test configurations information is also wrapped
It includes request header, Cookies information, body, checkpoint, expection is asked to return the result, if preserve the preset field in returning the result
Numerical value is variate-value, if the information that verification test returns the result.
5. software interface test approach according to claim 4, which is characterized in that further include at least one of following:
When determined by acquired test configurations information need to return the result the test verify when, the browser
End returns the result the test and verifies, and the output of obtained check results is shown to the user;
The numerical value for returning the result middle preset field to test is needed to preserve when being determined by acquired test configurations information
When, the browser end by the test return the result described in the numerical value of preset field save as variable;
When determining that the format that needs return the result test verifies by acquired test configurations information, the browsing
The test of device end is returned the result with whether the format of the expected test result is consistent, and will obtain comparison result output
It is shown to the user.
6. software interface test approach according to claim 1, which is characterized in that the test assignment includes fixed time test
Task and non-timed test assignment;
It is described when the test assignment is fixed time test task and receives the test of the fixed time test task and returns the result
Browser end generation includes the test result report that the test of the fixed time test task returns the result and pushes to the user.
7. a kind of software interface tests system, which is characterized in that including browser end and server end;
Browser end, suitable for receiving the configuration information for the corresponding test case library of software interface to be tested that user adds and depositing
Storage, and the catalogue for showing the test case library is exported to the user;Test assignment addition request input by user is received, is obtained
The configuration information for taking the test case in the catalogue that the user clicked, generates corresponding test assignment and is added to test
In the works, and by the test assignment output in the test plan it is shown to the user;It receives test assignment and executes request, obtain
The test assignment in the test plan is taken, and according to the acquired corresponding test configurations information of test assignment, generates and corresponds to
Test case execute request Concurrency send to server end;The test configurations information includes the configuration information;
The server end is suitable for receiving the test case and executes request, obtains corresponding test case and execute, and obtains pair
The test answered returns the result, and the test is returned the result and is sent to the browser end;
The browser end is further adapted for receiving the test and returns the result, and the test received is returned the result output display
To the user.
8. software interface according to claim 7 tests system, which is characterized in that the configuration information of the test case library
Include the information of corresponding interface IP address, interface name and request method.
9. software interface according to claim 8 tests system, which is characterized in that the browser end is suitable for obtaining institute
State the information of the request header and request body in test configurations information;Request header acquired in determining has preset function and variable
When, the preset function and variable in the request header are replaced, corresponding actual request head is generated;When determining acquired request body
It with built-in function and when variable, converts the built-in function in the request and replaces the variable in the request body, generate pair
The actual request body answered;Generated actual request body is added after the actual request head generated, is assembled into corresponding
HTTP request.
10. software interface according to claim 8 or claim 9 tests system, which is characterized in that the test configurations information is also wrapped
It includes request header, Cookies information, body, checkpoint, expection is asked to return the result, if preserve the preset field in returning the result
Numerical value is variate-value, if the information that verification test returns the result.
11. software interface according to claim 10 tests system, which is characterized in that the browser end is further adapted for executing
At least one of below:
When determined by acquired test configurations information need to return the result the test verify when, to the test
It returns the result and is verified, and the output of obtained check results is shown to the user;
The numerical value for returning the result middle preset field to test is needed to preserve when being determined by acquired test configurations information
When, by the test return the result described in the numerical value of preset field save as variable;
When determining that the format that needs return the result test verifies by acquired test configurations information, described in comparison
Test is returned the result with whether the format of the expected test result is consistent, and will be obtained comparison result output and be shown to the use
Family.
12. software interface according to claim 7 tests system, which is characterized in that the test assignment includes that timing is surveyed
Trial is engaged in and non-timed test assignment;
The browser end is further adapted for when the test assignment is fixed time test task and receives the fixed time test task
When test returns the result, generation includes the test result report that the test of the fixed time test task returns the result and pushes to institute
State user.
13. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the computer instruction
Perform claim requires the step of 1 to 5 any one of them software interface test approach when operation.
14. a kind of terminal, which is characterized in that including memory and processor, being stored on the memory can be at the place
The computer instruction run on reason device, perform claim requires any one of 1 to 5 institute when the processor runs the computer instruction
The step of software interface test approach stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810320466.8A CN108563571A (en) | 2018-04-11 | 2018-04-11 | Software interface test approach and system, computer readable storage medium, terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810320466.8A CN108563571A (en) | 2018-04-11 | 2018-04-11 | Software interface test approach and system, computer readable storage medium, terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108563571A true CN108563571A (en) | 2018-09-21 |
Family
ID=63534449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810320466.8A Pending CN108563571A (en) | 2018-04-11 | 2018-04-11 | Software interface test approach and system, computer readable storage medium, terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108563571A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109828908A (en) * | 2018-12-15 | 2019-05-31 | 中国平安人寿保险股份有限公司 | Interface testing parameter encryption method, device, electronic equipment and storage medium |
CN109885472A (en) * | 2018-12-13 | 2019-06-14 | 平安万家医疗投资管理有限责任公司 | Test and management method and system and computer readable storage medium |
CN109933533A (en) * | 2019-03-25 | 2019-06-25 | 杭州安恒信息技术股份有限公司 | A kind of visualized data test method, device, equipment and readable storage medium storing program for executing |
CN109977012A (en) * | 2019-03-19 | 2019-07-05 | 中国联合网络通信集团有限公司 | Joint debugging test method, device, equipment and the computer readable storage medium of system |
CN111026635A (en) * | 2019-09-27 | 2020-04-17 | 珠海随变科技有限公司 | Software project testing system, method, device and storage medium |
CN111427797A (en) * | 2020-04-12 | 2020-07-17 | 广州通达汽车电气股份有限公司 | Automatic interface testing method and device, electronic equipment and storage medium |
CN111694739A (en) * | 2020-06-05 | 2020-09-22 | 深圳市铭墨科技有限公司 | Interface test method, device, equipment and storage medium |
CN112486797A (en) * | 2019-09-11 | 2021-03-12 | 腾讯科技(深圳)有限公司 | Interface test method and device |
CN112612700A (en) * | 2020-12-21 | 2021-04-06 | 北京达佳互联信息技术有限公司 | Interface test method and device and electronic equipment |
CN112699040A (en) * | 2020-12-30 | 2021-04-23 | 深圳前海微众银行股份有限公司 | Pressure testing method, device, equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019927A (en) * | 2011-09-27 | 2013-04-03 | 北京新媒传信科技有限公司 | Performance testing method and system |
US9015592B2 (en) * | 2008-03-14 | 2015-04-21 | Verizon Patent And Licensing Inc. | Method, apparatus, and computer program for providing web service testing |
CN106708715A (en) * | 2015-07-13 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Automatic test method and device |
CN107273286A (en) * | 2017-06-02 | 2017-10-20 | 携程计算机技术(上海)有限公司 | For the scene automatic test platform and method of task application |
CN107301122A (en) * | 2017-05-10 | 2017-10-27 | 深圳市小牛在线互联网信息咨询有限公司 | interface test method, device, storage medium and computer equipment |
-
2018
- 2018-04-11 CN CN201810320466.8A patent/CN108563571A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9015592B2 (en) * | 2008-03-14 | 2015-04-21 | Verizon Patent And Licensing Inc. | Method, apparatus, and computer program for providing web service testing |
CN103019927A (en) * | 2011-09-27 | 2013-04-03 | 北京新媒传信科技有限公司 | Performance testing method and system |
CN106708715A (en) * | 2015-07-13 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Automatic test method and device |
CN107301122A (en) * | 2017-05-10 | 2017-10-27 | 深圳市小牛在线互联网信息咨询有限公司 | interface test method, device, storage medium and computer equipment |
CN107273286A (en) * | 2017-06-02 | 2017-10-20 | 携程计算机技术(上海)有限公司 | For the scene automatic test platform and method of task application |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885472A (en) * | 2018-12-13 | 2019-06-14 | 平安万家医疗投资管理有限责任公司 | Test and management method and system and computer readable storage medium |
CN109828908A (en) * | 2018-12-15 | 2019-05-31 | 中国平安人寿保险股份有限公司 | Interface testing parameter encryption method, device, electronic equipment and storage medium |
CN109977012A (en) * | 2019-03-19 | 2019-07-05 | 中国联合网络通信集团有限公司 | Joint debugging test method, device, equipment and the computer readable storage medium of system |
CN109933533B (en) * | 2019-03-25 | 2022-06-14 | 杭州安恒信息技术股份有限公司 | Visual data testing method, device and equipment and readable storage medium |
CN109933533A (en) * | 2019-03-25 | 2019-06-25 | 杭州安恒信息技术股份有限公司 | A kind of visualized data test method, device, equipment and readable storage medium storing program for executing |
CN112486797A (en) * | 2019-09-11 | 2021-03-12 | 腾讯科技(深圳)有限公司 | Interface test method and device |
CN112486797B (en) * | 2019-09-11 | 2023-10-13 | 腾讯科技(深圳)有限公司 | Interface testing method and device |
CN111026635A (en) * | 2019-09-27 | 2020-04-17 | 珠海随变科技有限公司 | Software project testing system, method, device and storage medium |
CN111427797A (en) * | 2020-04-12 | 2020-07-17 | 广州通达汽车电气股份有限公司 | Automatic interface testing method and device, electronic equipment and storage medium |
CN111427797B (en) * | 2020-04-12 | 2023-12-05 | 广州通达汽车电气股份有限公司 | Automatic interface testing method and device, electronic equipment and storage medium |
CN111694739A (en) * | 2020-06-05 | 2020-09-22 | 深圳市铭墨科技有限公司 | Interface test method, device, equipment and storage medium |
CN112612700A (en) * | 2020-12-21 | 2021-04-06 | 北京达佳互联信息技术有限公司 | Interface test method and device and electronic equipment |
CN112699040A (en) * | 2020-12-30 | 2021-04-23 | 深圳前海微众银行股份有限公司 | Pressure testing method, device, equipment and computer readable storage medium |
CN112699040B (en) * | 2020-12-30 | 2024-02-23 | 深圳前海微众银行股份有限公司 | Pressure testing method, device, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108563571A (en) | Software interface test approach and system, computer readable storage medium, terminal | |
CN104601641B (en) | Application link sharing method, apparatus and system | |
CN104348822B (en) | A kind of method, apparatus and server of internet account number authentication | |
US6446120B1 (en) | Configurable stresser for a web server | |
CN109951547B (en) | Transaction request parallel processing method, device, equipment and medium | |
CN102215251B (en) | For analyzing the method and system of page load time | |
CN105260292B (en) | A kind of log recording method, apparatus and system | |
CN107395420B (en) | Server performance testing method and system, electronic device and storage medium | |
CN110147320A (en) | Interface test method, device and electronic equipment | |
CN113190464B (en) | mock testing method and device, electronic equipment and medium | |
CN110557420B (en) | Operation method and system of independent sub-chains | |
CN101013968A (en) | Automated interface testing framework | |
CN106412975B (en) | A kind of test method and device of content charging loophole | |
CN111970236B (en) | Cross-network data transmission method and device | |
CN108459850B (en) | Method, device and system for generating test script | |
CN112988608B (en) | Data testing method and device, computer equipment and storage medium | |
CN109376534B (en) | Method and apparatus for detecting applications | |
CN106649120A (en) | Data acquisition method, and data analysis method and system | |
CN104967644A (en) | Message push method, apparatus and system | |
CN109729044A (en) | A kind of general internet data acquisition is counter to climb system and method | |
JP2018517982A (en) | Automatic recharge system, method and server | |
CN109783357A (en) | The method and device of test application program, computer equipment, storage medium | |
US20220198025A1 (en) | Web Attack Simulator | |
WO2012129684A1 (en) | Transforming http requests into web services trust messages for security processing | |
CN105117340A (en) | URL (Uniform Resource Locator) detection method and device used for quality evaluation of iOS browser application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180921 |
|
RJ01 | Rejection of invention patent application after publication |