CN106407121A - Cross-platform data intercommunication consistency test method and application test server - Google Patents
Cross-platform data intercommunication consistency test method and application test server Download PDFInfo
- Publication number
- CN106407121A CN106407121A CN201610882388.1A CN201610882388A CN106407121A CN 106407121 A CN106407121 A CN 106407121A CN 201610882388 A CN201610882388 A CN 201610882388A CN 106407121 A CN106407121 A CN 106407121A
- Authority
- CN
- China
- Prior art keywords
- test
- protocol data
- data
- platform
- system platform
- 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.)
- Granted
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/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- 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/3668—Software testing
- G06F11/3696—Methods or tools to render software testable
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a cross-platform data intercommunication consistency test method and an application test server. The method comprises the steps of determining a test account and a first system platform; simulating first login protocol data of the first system platform according to the test account and sending the first login protocol data to the application server; after the application server is verified to be legal, simulating first operation protocol data of the first system platform according to test operation information and sending the first operation protocol data to the application server; recording operation result data; switching a test platform to a second system platform; simulating second login protocol data of the second system platform and sending the second login protocol data to the application server; after the application server is verified to be legal, simulating second operation protocol data of the second system platform and sending the second operation protocol data to the application server; and receiving post-operation application data fed back by the application server, comparing the post-operation application data with the recorded operation result data, and determining a test result. According to the method and the server, the cross-platform data intercommunication consistency test efficiency is improved.
Description
Technical field
The present invention relates to technical field of data processing and in particular to a kind of cross-platform data intercommunication conformance test method and
Application testing service device.
Background technology
The system platform (abbreviation platform) of main flow, as supported the windows platform of PC (personal computer) terminal, is propped up at present
Hold the platforms such as IOS, the Android (Android) of mobile terminal, an application (as game application, chat software etc.) can for support
Run on multiple platforms, be often directed to the application version of different platform development adaptations;Taking play as a example, playing for one is
Support to run on windows platform and Android platform, then need for development of games windows platform version and Android platform version
This.
Use for ease of user, apply in different platform for one, often can be stepped on using identical user account
Record, and the same account of an application being capable of cross-platform data intercommunication;Cross-platform data intercommunication refers in an application not
With on platform, the application data of same account should be consistent;As user adopt one account log in windows platform game simultaneously
After being operated, then log in this game of Android platform using same account, then in this game of Android platform this account trip
Play data, the game data after should operating in this game of windows platform with user is consistent.
Apply in different platform to test, can same account keep the uniformity of application data it is necessary to carry out
Cross-platform data intercommunication uniformity test;Current cross-platform data intercommunication uniformity test mode can be as shown in figure 1, test
Personnel adopt the applications client of windows platform to log in application server, and enterprising in the applications client of windows platform
Row operation, the application data after record operation;Tester logs in application server by the applications client of Android platform again,
Whether the application data on verification checking Android platform is consistent with the application data after operation on windows platform, thus
Draw the conforming test result of cross-platform data intercommunication.
As can be seen that the current conforming test mode of cross-platform data intercommunication, need tester in different platform
Applications client on switching log in, meanwhile, need the manually operated applications client of tester, realize the required behaviour of test
Make, test process more bothers and testing efficiency is relatively low.
Content of the invention
In view of this, the embodiment of the present invention provides a kind of cross-platform data intercommunication conformance test method and application test clothes
Business device, to simplify test process, improves testing efficiency.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of cross-platform data intercommunication conformance test method, is applied to apply testing service device, methods described includes:
Determine the first system platform used by test account and test;
According to described test account, simulate the corresponding first login protocol data of described the first system platform, by described the
One login protocol data is activation is to application server;
After application server verifies that described first login protocol data is legal, determine test operation information;
According to described test operation information, simulate the corresponding first operating protocol data of described the first system platform, by institute
State the first operating protocol data is activation to application server;
The described test operation information receiving described application server feedback operates response data, accordingly according to described behaviour
Make response data, record the corresponding operating result data of described test operation information;
Switch test platform is second system platform, and described second system platform is different from described the first system platform;
According to described test account, simulate the corresponding second login protocol data of described second system platform, by described the
Two login protocol data is activations are to application server;
After application server verifies that described second login protocol data is legal, simulation is corresponding to described second system platform
The second operating protocol data, by described second operating protocol data is activation to application server;Described second operating protocol number
Inquire about application data after the corresponding operation of described test operation information according to for instruction;
Receive application data after the corresponding operation of described test operation information of described application server feedback, by described behaviour
After work, application data and the operating result data phase of record compare, and determine test result according to comparison result.
The embodiment of the present invention also provides a kind of application testing service device, including:
Test information determination module, for determining the first system platform used by test account and test;
First login analog module, for according to described test account, simulating described the first system platform corresponding first
Login protocol data, by described first login protocol data is activation to application server;
Test operation information determination module, for application server verify described first login protocol data legal after,
Determine test operation information;
First operation simulation module, for according to described test operation information, simulating described the first system platform corresponding
First operating protocol data, by described first operating protocol data is activation to application server;
Logging modle, the described test operation information for receiving described application server feedback operates number of responses accordingly
According to according to described operation response data, recording the corresponding operating result data of described test operation information;
Test platform handover module, is second system platform, described second system platform and institute for switch test platform
State the first system platform different;
Second login analog module, for according to described test account, simulating described second system platform corresponding second
Login protocol data, by described second login protocol data is activation to application server;
Second operation simulation module, for, after application server verifies that described second login protocol data is legal, simulating
Second operating protocol data corresponding with described second system platform, by described second operating protocol data is activation to application service
Device;Described second operating protocol data is used for instruction and inquires about application data after the corresponding operation of described test operation information;
Compare and test result determining module, for receiving the described test operation information phase of described application server feedback
Application data after the operation answered, application data after described operation is compared with the operating result data phase of record, ties according to comparing
Fruit determines test result.
Based on technique scheme, apply testing service device can realize surveying under different test platforms from test terminal cooperation
The login simulation of examination account, operation simulation, by by the test operation information corresponding operating result number under the first system platform
According to, compare with application data after the operation of the described test operation information that the inquiry of second system platform obtains, achievable
The conforming test of cross-platform data intercommunication.The embodiment of the present invention can be realized cross-platform in the case of departing from applications client
The conforming test of data interchange, eliminates tester and carries out the switching login of different platform in applications client manually and enter
The flow process of row application operating, simplifies the conforming test process of cross-platform data intercommunication, improves testing efficiency.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing providing obtains other accompanying drawings.
Fig. 1 is the schematic diagram of existing cross-platform data intercommunication uniformity test mode;
Fig. 2 is the structured flowchart of cross-platform data intercommunication consistency testing system provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of test interface;
Fig. 4 is the signaling process of cross-platform data intercommunication conformance test method provided in an embodiment of the present invention;
Fig. 5 is another schematic diagram of test interface;
Fig. 6 is another signaling process of cross-platform data intercommunication conformance test method provided in an embodiment of the present invention;
Fig. 7 is the method flow diagram determining the first operating protocol data;
Fig. 8 is the structured flowchart of application testing service device provided in an embodiment of the present invention;
Fig. 9 is the structured flowchart of the first login analog module;
Figure 10 is the structured flowchart of the second login analog module;
Figure 11 is the structured flowchart of the first operation simulation module;
Figure 12 is the structured flowchart of the second operation simulation module;
Figure 13 is the hardware block diagram of application testing service device.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
Fig. 2 is the structured flowchart of cross-platform data intercommunication consistency testing system provided in an embodiment of the present invention, the present invention
The cross-platform data intercommunication conformance test method that embodiment provides can be carried out based on system shown in Figure 2, with reference to Fig. 2, this system
Can include:Test terminal 10, applies testing service device 20, application server 30;
Test terminal 10 is the user equipment that tester is used, such as mobile phone, panel computer, PC etc.;Real in the present invention
Apply in example, test terminal 10 can not need load applications client, but can by show for tester's input test account,
The test interface of the information such as test platform, test operation, to realize the conforming test of cross-platform data intercommunication;Applications client
May be considered and need to test the conforming application of cross-platform data intercommunication, be loaded in user equipment side provides the user local clothes
The formula of business;
Fig. 3 shows the optional schematic diagram of test interface, the test interface that tester can be shown by test terminal,
The input realizing the information such as test account, test system for use in carrying platform, test operation is it is clear that test interface shown in Fig. 3 is only one
Planting can preferred form of this;
The test interface that test terminal is shown can be form web page or test clothes by loading with application
The test application of business device cooperation, shows test interface by testing the application interface applied, and test application herein is not should
Use client;
Application testing service device 20 is network side setting, receives the information of tester's input that test terminal sends,
And interact with application server, realize the login simulation of application, the server of operation simulation;Application testing service device 20 can be
The server farm that single server is realized or is made up of multiple servers;
Application server 30 is to test the conforming application of cross-platform data intercommunication for need, provides the service of network service to set
Standby, such as the conforming test of cross-platform data intercommunication is carried out to game, then application server can be game server;
In embodiments of the present invention, tester can be shown by test terminal test interface input test account and survey
Examination system for use in carrying platform, the information comprising to test account with test system for use in carrying platform that tester inputs is sent out by test terminal
Give application testing service device;Application testing service device based on the test account that tester is inputted and can test system for use in carrying
Platform, is interacted with application server, realizes the simulation logging in, and can realize test account and exist by switching another test platform
Login switching in different platform, removes the operation that tester switches login in the applications client of different platform from, simplifies
The flow process of login is switched on different platform;
Meanwhile, tester can pass through test terminal input test operation information, and the instruction of test operation information is to be directed to
At least one operation of application;Test operation information can be sent to application testing service device by test terminal;Application testing service
Device can be based on test operation information, realizes corresponding operation simulation on test platform determined above, thus and application service
Device interacts, and realizes the simulation of test operation, removes tester from and carries out manually testing the mistake of action required in applications client
Journey, simplifies test process;
User input referred to above tests the information such as account, test platform, test operation, can be that user passes through key
The input units such as disk, touch-screen input corresponding character or selection operation (the such as test circle being carried out in test interface
Face can be shown the corresponding option of multiple test platforms, so that user chooses, and for example test interface can be shown multiple test behaviour
The corresponding option of information of making, so that user's selection etc.) it is clear that or both combinations.
Based on system shown in Figure 2, Fig. 4 shows cross-platform data intercommunication uniformity test side provided in an embodiment of the present invention
The signaling process of method, with reference to Fig. 4, this flow process can include:
Step S10, test terminal show test interface, by test interface obtain tester input test account and
The first system platform identification;The first system platform identification is used for identifying the first system platform
Optionally, form web page can be passed through in test terminal, or application interface (should with the test applying the cooperation of testing service device
Interface) form show test interface, tester can be by input test account on test interface, test system used
System platform (as chosen the mark of test system for use in carrying platform);
Optionally, user can test system for use in carrying by way of inputting character, in test interface input test account
Platform identification;Also can show there are multiple test corresponding options of account in test interface, and multiple test system for use in carrying platform mark
Know corresponding option, tester can choose test account and the first system platform mark by way of choosing from these options
Know;
Optionally, the first system platform is put down by testing the system that the conforming application of cross-platform data intercommunication is supported
Platform, the input operation such as selection based on tester can determine, such as the first system platform can be windows platform, Android
One of platform, ios platform;
Test account by for carrying out the application account that cross-platform data intercommunication uniformity test is used, this test account
Can general login on applying supported platform.
The information comprising described test account and the first system platform identification is sent to application by step S11, test terminal
Testing service device;
Accordingly, application testing service device can obtain test terminal transmission comprise test account and the first system platform mark
The information known, determines the first system platform used by test account and test.
Step S12, application testing service device, according to described test account, simulate described the first system platform corresponding first
Login protocol data, by described first login protocol data is activation to application server;
The embodiment of the present invention can simulate the first system by applying testing service device in the case of departing from applications client
It is used under platform testing the login protocol data (i.e. the first login protocol data) of account login, realize under the first system platform
The login simulation of test account;
The first login protocol data herein may be considered, and carries out testing the login institute of account under the first system platform
The login protocol data being related to.
Step S13, application server verify whether described first login protocol data is legal, when verifying legal, Xiang Ying
Send the first Successful login response with testing service device;
Step S14, application testing service device determine test operation information;
Optionally, test operation information can carry and in test terminal comprising of being sent of described test account and first be
In the information of system platform, that is, test terminal, while sending test account and the first system platform, can be tested in transmission together
Operation information;Accordingly, tester can believe in test interface input test account, the first system platform and test operation simultaneously
Breath, corresponding test interface is illustrated can be as shown in Figure 3;
Optionally, application testing service device also can control test terminal to show after receiving the first Successful login response
Test interface jump to the interface of input test operation information, thus after tester's input test operation information, realizing
Determination to test operation information;I.e. test terminal first can send test account to application testing service device and the first system is put down
Platform, then again after confirming Successful login, sends test operation information;Accordingly, test interface signal can be as shown in figure 5, wrap
Input test account, the interface of the first system platform, and the interface of input test operation information are contained;
The instruction of test operation information is to test the conforming application of cross-platform data intercommunication, the application being carried out for need
The information of operation.
Step S15, application testing service device, according to described test operation information, simulate described the first system platform corresponding
First operating protocol data, by described first operating protocol data is activation to application server;
The first operating protocol data herein may be considered, corresponding to described test operation information under the first system platform
Operating protocol data;
In embodiments of the present invention, operating protocol data is not manually to be grasped in applications client by tester
Realize, but in the case of departing from applications client, test operation information simulation first is based on by application testing service device
System platform corresponding operating protocol data is realized;The embodiment of the present invention can be in the case of departing from applications client, by answering
Simulated under the first system platform for executing operating protocol data (the i.e. first operation association of test operation information with testing service device
View data), realize the simulation of test action required under the first system platform.
Step S16, application server feed back described test operation information to application testing service device and operate response accordingly
Data;
Application server, after receiving the first operating protocol data that application testing service device sends, can operate to first
Protocol data is responded, and corresponding operation response data is sent to application testing service device;
In the case of being game as application, application testing service device can issue in the first system platform and give at least one technical ability
Start corresponding operating protocol data, after game server receives operating protocol data, each operating protocol data can be responded, carry out
The starting of corresponding technical ability, and Feedback Manipulating Skill starts response data.
Step S17, application testing service device, according to described operation response data, record described test operation information corresponding
Operating result data;
Optionally, after what operating result data indicated is carried out operation corresponding with described test operation information, test account
Number corresponding application data, expression be carried out described test operation information after, the result data of application;
Optionally, if having the result after execution operation corresponding with described test operation information in operation response data
Data, then can be using the result data in operation response data as operating result data;As a example being applied by game, test operation
What information represented is upgrading game role, if having the grade of the game role after upgrading in operation response data, operates
The grade of the game role after upgrading in response data can be used as operating result data;
If the operation after being carried out of comprising in operation response data operation corresponding with described test operation information is adjusted
Entire data, then application testing service device can be based on execution preoperative application data corresponding with described test operation information and institute
State operation adjustment data, to carry out data processing, draw operating result data;As a example being applied by game, test operation information
Represent is upgrading game role, if comprise in operation response data is the grade lifting number of game role, application is surveyed
Examination server can former grade based on game role, and this grade lifts the grade that number determines the game role after upgrading, realizes
The determination of operating result data.
Step S18, application testing service device switch test platform are second system platform, described second system platform and institute
State the first system platform different;
The system platform that test platform is used by test cross-platform data intercommunication uniformity;Apply different flat for test
On platform, can same account keep the uniformity of application data, and application testing service device have recorded to enter under the first system platform
After operating result data after row operation simulation, can check under second system platform application data whether with the first system platform
Unanimously.
Step S19, application testing service device, according to described test account, simulate described second system platform corresponding second
Login protocol data, by described second login protocol data is activation to application server;
The embodiment of the present invention can be simulated under second system platform for testing account login by applying testing service device
Login protocol data (i.e. the second login protocol data), realizes the login simulation of test account under second system platform.
Step S20, application server verify whether described second login protocol data is legal, when verifying legal, Xiang Ying
Send the second Successful login response with testing service device;
Step S21, the application testing service device simulation corresponding second operating protocol data of described second system platform, by institute
State the second operating protocol data is activation to application server;Described second operating protocol data is used for instruction inquiry described test behaviour
Application data after the corresponding operation of information of making;
Record the corresponding operating result number of described test operation information under the first system platform in application testing service device
According to rear, apply testing service device need to inquire about described test operation letter under the second system platform different from the first system platform
Application data after the corresponding operation of breath, if the corresponding operating result data phase one of described test operation information with record
Cause, therefore application testing service device needs under second system platform, simulate that can to inquire about described test operation information corresponding
Operation after application data operating protocol data (i.e. the second operating protocol data).
Step S22, application server feed back to application testing service device should after the corresponding operation of described test operation information
Use data;
Application server can connect or be provided with database, and each application account that can be stored with database applies number accordingly
According to application server after receiving the second operating protocol data, apply accordingly by the test account that can store from database
In data, transfer out application data after the corresponding operation of described test operation information, thus feeding back to application testing service device.
Step S23, application testing service device are by application data after corresponding for described test operation information operation and record
The corresponding operating result data phase of described test operation information compares, and determines test result according to comparison result.
Optionally, if described test operation information is corresponding operate after application data, the described test operation with record
The corresponding operating result data of information is consistent then it represents that on the first system platform and second system platform, identical is tested
The application data of account is consistent it may be determined that the cross-platform data intercommunication uniformity of the first system platform and second system platform
It is successfully tested;If application data after the corresponding operation of described test operation information, the described test operation information phase with record
The operating result data answered is not corresponding (inconsistent) then it represents that on the first system platform and second system platform, identical is surveyed
The application data of examination account is inconsistent it may be determined that the cross-platform data intercommunication one of the first system platform and second system platform
Cause property test crash.
In the embodiment of the present invention, all systems by showing for tester's input test account and can be tested in test terminal
The test interface of platform, realizes the determination of the first system platform used by test account and test;And then apply testing service device
Test terminal transmission can be received comprises test account and the information of the first system platform identification, determines test account and test
The first system platform used, thus according to described test account, simulating described the first system platform corresponding first and log in association
Discuss data, realize login simulation under the first system platform for the test account, reach disengaging applications client and realize account login
Purpose;When test account login successfully under the first system platform after, application testing service device can according to test operation information,
Simulate the corresponding first operating protocol data of described the first system platform, realize test operation under the first system platform for the account
Simulation, reaches and departs from the purpose that applications client realizes application operating;And apply the recordable described test behaviour of testing service device
The corresponding operating result data of information of making;
After the completion of the operation simulation of the first system platform, the application changeable test platform of testing service device is second system
Platform, according to described test account, simulates the corresponding second login protocol data of described second system platform, realizes test account
Login simulation under second system platform, and after test account logins successfully under second system platform, application test
Server can simulate second operating protocol data corresponding with described second system platform further, by the second operating protocol number
It is investigated that application data after asking that described test operation information is corresponding and operating, and then it is applied server in application testing service device
After application data after the corresponding operation of the described test operation information of feedback, can be by the behaviour of application data after described operation and record
Make result data phase to compare, test result is determined according to comparison result, realizes the conforming test of cross-platform data intercommunication.
It can be seen that, in the embodiment of the present invention, application testing service device can be real under different test platforms from test terminal cooperation
The now login simulation of test account, operation simulation, by operating knot accordingly by the test operation information under the first system platform
Fruit data, is compared with application data after the operation of the described test operation information that the inquiry of second system platform obtains, can
Realize the conforming test of cross-platform data intercommunication.The embodiment of the present invention can depart from applications client in the case of, realize across
The conforming test of platform data intercommunication, eliminates the switching login that tester carries out different platform manually in applications client
And carry out the flow process of application operating, simplify the conforming test process of cross-platform data intercommunication, improve testing efficiency.
Optionally, in conventional application login process:Applications client need to determine the user account used by User logs in
And password, user account and password be sent to login service device by applications client;Login service device checking user account and
After password is correct, predetermined logging on authentication can be called to generate logic and to generate the corresponding logging on authentication of this user account, this is logged in
Voucher and user account are sent to application server;Application server is also simultaneously based on predetermined logging on authentication and generates logic, raw
Become the logging on authentication of this user account, application server is comparing generated logging on authentication, with stepping on that login service device sends
After record voucher is corresponding, then application server determines that this user account can log in application.
And the embodiment of the present invention is realized application not by applications client and logged in and application operating, do not adopt login clothes yet
Business device carries out login authentication, but is logged in and test operation come simulation application by setting application testing service device;Carrying out answering
With log in simulation when, application testing service device can pre-define login service device carry out the login that adopted during login authentication with
Card generates logic, thus after determining test account and test platform, application testing service device can be based on predetermined logging on authentication
Generate logic to generate logging on authentication corresponding with testing account, realize the simulation logging in;Accordingly, application testing service device can
By predefined different application operating corresponding operating protocol data, after determining test test operation information used, should
Can be determined and test operation information according to the corresponding operating protocol data of predefined different application operating with testing service device
Corresponding operating protocol data;
Accordingly, Fig. 6 shows the another of cross-platform data intercommunication conformance test method provided in an embodiment of the present invention
Signaling process, with reference to Fig. 6, this flow process can include:
Step S30, test terminal show test interface, by test interface obtain tester input test account and
The first system platform identification;
The information comprising described test account and the first system platform identification is sent to application by step S31, test terminal
Testing service device;
Accordingly, application testing service device can determine that the first system platform used by test account and test.
Step S32, application testing service device call predetermined first logging on authentication corresponding with described the first system platform
Generate logic, logic is generated according to described first logging on authentication and generates and described test corresponding first logging on authentication of account, adjust
Take predetermined login protocol data corresponding with described the first system platform, fill described in the login protocol data transferred
First logging on authentication and described test account, obtain carrying the first login association of described first logging on authentication and described test account
View data, by described first login protocol data is activation to application server;
Optionally, when carrying out login authentication, used steps on different test platform (test system platform used)
Record agreement is probably different, and it is also likely to be different that the logging on authentication that therefore generation logging on authentication is used generates logic, such as
In the case that test platform is Windows, logging on authentication generates logic and typically adopts the corresponding built-in function of Windows to generate, and surveys
In the case that examination platform is the Mobile operating system systems such as Android, logging on authentication generates logic and typically adopts Mobile operating system system
Corresponding API (Application Programming Interface, application programming interface) function of uniting generates;
In the embodiment of the present invention, application testing service device can make a reservation for the corresponding logging on authentication of at least two test platforms and generate
Logic, thus after the test account receiving test terminal transmission and the first system platform, application testing service device can determine that
It is current that to test system platform used be the first system platform, so apply testing service device can call predetermined with described first
Corresponding first logging on authentication of system platform generates logic, thus generating logic according to the first logging on authentication, generates and described survey
Examination corresponding first logging on authentication of account;
Application testing service device generate with described test corresponding first logging on authentication of account after, can transfer predetermined with
The corresponding login protocol data of described the first system platform, fill in the login protocol data transferred described first log in
Card and described test account, and sequentially to application server send login protocol data, thus will carry described first log in
First login protocol data is activation of card and described test account is to application server.
Step S33, application server receive described first login protocol data, call the first predetermined logging on authentication to generate
Logic, generates and described test corresponding first logging on authentication of account;Judge the first logging on authentication that application server is generated
Whether the first logging on authentication being sent with application testing service device is corresponding;
Application server, after receiving the first login protocol data that application testing service device sends, can parse wherein
The test account carrying and logging on authentication;Application server can call corresponding to applying testing service device generation the first logging on authentication
The first logging on authentication generate logic, the test account according to being received regenerates corresponding first logging on authentication;Application clothes
The first logging on authentication that the first logging on authentication that itself can be generated by business device is sent with application testing service device is compared, and sentences
Whether the first logging on authentication that the first logging on authentication that disconnected application server is generated is sent with application testing service device is corresponding
(such as whether consistent).
If step S34, application server judge what the first generated logging on authentication and application testing service device were sent
First logging on authentication is corresponding, sends the first Successful login response to application testing service device;
The first logging on authentication phase that the first logging on authentication that application server is generated is sent with application testing service device
Corresponding, illustrate to apply the test account of testing service device transmission and the first logging on authentication is not tampered it may be determined that test account exists
Application success is logged under the first system platform;Accordingly, application server can send first to application testing service device and successfully step on
Record response.
Step S35, application testing service device determine test operation information;
Step S36, application testing service device are according to the corresponding multiple operating protocols of predetermined and described the first system platform
Data, determines the corresponding first operating protocol data of described test operation information;
The application operating based on user for the applications client of different test platforms, generates the association that operating protocol data is used
View is probably different, i.e. the same application operating based on user for the applications client of different test platforms, the operation being generated
Protocol data is probably different, and in a test platform, different application operatings is again by operating protocols different for correspondence
Data;
In the embodiment of the present invention, application testing service device can sort out under each test platform in advance, and each application operating corresponds to
Operating protocol data, thus apply testing service device determine the test operation information under the first system platform when, can basis
The first system platform multiple operating protocol data accordingly, determine the corresponding first operating protocol number of described test operation information
According to, depart from applications client in the case of, realize the simulation of application operating;
Determined by application testing service device, the quantity of test operation information can be multiple or one no matter
The quantity of test operation information, the determination principle of the corresponding operating protocol data of each test operation information is similar.
Step S37, application testing service device send corresponding first operation of described test operation information to application server
Protocol data;
Step S38, application server feed back described test operation information to application testing service device and operate response accordingly
Data;
Step S39, application testing service device, according to described operation response data, record described test operation information corresponding
Operating result data;
Step S40, application testing service device switch test platform are second system platform, described second system platform and institute
State the first system platform different;
Step S41, application testing service device call predetermined second logging on authentication corresponding with described second system platform
Generate logic, logic is generated according to described second logging on authentication and generates and described test corresponding second logging on authentication of account, adjust
Take predetermined login protocol data corresponding with described second system platform, fill described in the login protocol data transferred
Second logging on authentication and described test account, obtain carrying the second login association of described second logging on authentication and described test account
View data, by described second login protocol data is activation to application server;
Step S42, application server receive described second login protocol data, call the second predetermined logging on authentication to generate
Logic, generates and described test corresponding second logging on authentication of account;Judge the second logging on authentication that application server is generated
Whether the second logging on authentication being sent with application testing service device is corresponding;
Application testing service device tests, in second system platform Imitating, the principle that account logs in, with step S32 first
The principle that system platform Imitating tests account login is similar to, can be cross-referenced.
If step S43, application server judge what the second generated logging on authentication and application testing service device were sent
Second logging on authentication is corresponding, sends the second Successful login response to application testing service device;
Step S44, application testing service device are according to the corresponding multiple operating protocols of predetermined and described second system platform
Data, determines the second operating protocol data, and described second operating protocol data is used for instruction and inquires about described test operation information phase
Application data after the operation answered;
In the embodiment of the present invention, application testing service device can sort out under each test platform in advance, and each application operating corresponds to
Operating protocol data, thus apply testing service device determine test account login successfully in second system platform when, can root
According to second system platform multiple operating protocol data accordingly, after being determined to inquire about the corresponding operation of described test operation information
Second operating protocol data of application data, what described test operation information represented is the test operation information shown in step S35.
Step S45, application testing service device send the second operating protocol data to application server;
Step S46, application server feed back to application testing service device should after the corresponding operation of described test operation information
Use data;
Step S47, application testing service device are by application data after corresponding for described test operation information operation and record
The corresponding operating result data phase of described test operation information compares, and determines test result according to comparison result.
Optionally, test operation information can include action type and operation object;As a test operation information represents
Be upgrading role A grade, then action type be upgrading role hierarchy, operation object be role A;Application testing service device can
Sort out under each test platform in advance, different operating type corresponding operating protocol data, and an action type operates accordingly
There may be operation object variable, operation object variable can become according to the operation object that practical operation is directed in protocol data
More;Specifically, the embodiment of the present invention can be believed by test operation after application testing service device actual determination test operation information
The operation object that breath represents carries out the determination of operation object variable;
Accordingly, stand in the angle of application testing service device, application testing service device determines the first operating protocol data
Process can be as shown in fig. 7, Fig. 7 shows the method flow diagram determining the first operating protocol data, and this flow process can be applicable to should
Use testing service device, with reference to Fig. 7, this flow process can include:
Step S100, determine test operation information, described test operation information includes action type and operation object;
Step S110, according to the corresponding multiple operating protocol data of predetermined and described the first system platform, determine and institute
State action type corresponding operating protocol data;
Step S120, by determined by the operation object variable of operating protocol data be defined as described operation object, determine
Go out the first operating protocol data.
Application testing service device determines that the principle of the second operating protocol data is similar to;Specifically, application testing service device can
Determine the operation object that test operation information represents, according to the corresponding multiple operating protocols of predetermined and described second system platform
Data, determines operating protocol data corresponding with checking operation object;Check that operation object operates association accordingly determined by inciting somebody to action
The operation object variable of view data is defined as described operation object, so that it is determined that going out the second operating protocol data.
Optionally, the embodiment of the present invention can sort out multiple test operation information in advance, so that tester is on test circle
Face is chosen;Tester when carrying out a cross-platform data intercommunication uniformity test, selected test operation information
Can be multiple, these test operation information can be optional, and may call for these test operation information to hold at random
OK, or sequentially execute;Can also be these test operation information combinations to be become a test operation information aggregate, once to hold
The mode of the test operation information in one test operation information aggregate of row, to realize the conforming survey of cross-platform data intercommunication
Examination, or can also be to repeat at least one test operation information, to realize the conforming test of cross-platform data intercommunication;
Accordingly, test operation information determined by application testing service device is possibly multiple, and application testing service device can
Once from the plurality of test operation information, choose a test operation information, to generate a corresponding first operating protocol number
According to and be sent to application server, in order, the random or selection mode that repeats, once from multiple test operation information
One test operation information of middle selection, selected test operation information simulation is become corresponding first operating protocol data, comes
Successively to application server send the first operating protocol data.
Optionally, test interface can be shown by the form interacting with application testing service device in test terminal, accordingly, surveys
Examination terminal can send, to application testing service device, the request showing test interface, and application testing service device will be able to be surveyed based on this request
The corresponding display data in examination interface is sent to test terminal, so that test terminal is based on display data and shows test interface, thus
It is easy to tester and pass through the information such as test interface input test account and the first system platform.
Below with the need test conforming application of cross-platform data intercommunication for game, the first system platform is Windows, the
Two system platform be Android as a example, to cross-platform data intercommunication conformance test method provided in an embodiment of the present invention should be used
Journey is introduced.
Tester can open browser on test terminal, inputs predetermined network address, set up with application testing service device and hand over
Mutually, show test interface in a browser;
Tester can on test interface input test account, selection first time test platform is Windows, and chooses
Test test operation information used;
Test terminal will comprise to test account, and test platform is Windows, and the information of test operation information is sent to and answers
Use testing service device;
Application testing service device calls the corresponding built-in function of Windows to generate and test account corresponding account signature (storehouse
Function may be considered under windows platform, and logging on authentication generates a kind of way of realization of logic, and account signature may be considered
A kind of form of logging on authentication under windows platform);Application testing service device is by the game login process phase of windows platform
At least one the login protocol data answered is sent to game server in order, and (game server is application server in sports ground
The form of expression under scape), include at least one the login protocol data being sent and carry described account signature and described survey
The login protocol data of examination account;
Game server calls corresponding built-in function to generate and test account corresponding account signature, by the account being generated
The account signature that signature is sent with application testing service device is compared, if comparing consistent, sends out to application testing service device
Send and login successfully response;
Application testing service device determines the action type and operation object that test operation information represents, from predetermined
Determine described action type corresponding operating protocol data in windows platform corresponding operating protocol data, this is operated
The operation object variable of protocol data is defined as the operation object that test operation information represents, by obtained operating protocol data
It is sent to game server;
As the instruction of test operation information be upgrading role A grade, then the action type that test operation information represents is
Upgrading role hierarchy, operation object is role A, and application testing service device can operate association accordingly from predetermined windows platform
Upgrading role hierarchy corresponding operating protocol data is determined in view data, and by this corresponding operating protocol of upgrading role hierarchy
Operation object variable in data is defined as role A, obtains the grade corresponding operating protocol data of role A of upgrading, and sends
To game server;
Game server carries out game response according to the operating protocol data that application testing service device sends, in database
Record the corresponding game data of described operation object, and the operation sending for described operation object to application testing service device rings
Answer data;As operating protocol data represent be upgrading role A grade, then game server can carry out grade to role A and carry
Rise, application testing service device is fed back grade or upgrading series after the upgrading of role A;
Application testing service device, according to described operation response data, records described operation object corresponding operating result number
According to;Operating result data as record can be the grade after role A upgrading;
Application testing service device switch test platform is Android;
Application testing service device calls the corresponding api function of Android to generate and tests that account is corresponding logs in key message,
(api function may be considered under Android platform, and logging on authentication generates and patrols to log in key message such as openid and/or openkey etc.
A kind of way of realization collected, logs in a kind of form that key message may be considered logging on authentication under Android platform);Application test
At least one login protocol data corresponding for the game login process of Android platform is sent to game services by server in order
Device, includes at least one the login protocol data being sent to carry and described logs in stepping on of key message and described test account
Record protocol data;
Openkey may be considered application and is supplied to identity documents on third-party application for the user, only logs in and authorizes
Shi Caineng takes, and has the term of validity;Openid is a kind of open account number of application it is allowed to user is stepped on using application account
The business of record third-party application, but will not openly apply account to third-party application;
Game server calls corresponding api function to generate and tests that account is corresponding to log in key message, will be generated
The login key message that key message sent with application testing service device that logs in compare, if comparing consistent, to answering
Sent with testing service device and login successfully response;
Application testing service device determines the action type and operation object that test operation information represents, puts down from predetermined Android
Inquiry operation object corresponding operating protocol data is determined, by this operating protocol data in platform corresponding operating protocol data
Operation object variable is defined as the operation object that test operation information represents, obtained operating protocol data is activation is given game
Server;
As indicated above, the operating protocol data instruction that application testing service device sends under windows platform is to rise
The grade of level role A, accordingly, application testing service device can determine that the operating protocol data of inquiry role A under Android platform,
Thus checking to the grade of role A;
The inquiry operation object corresponding operating protocol data that game server sends according to application testing service device, is carried out
Game response, transfers the corresponding game data of described operation object from database and feeds back to application testing service device;As trip
Play server can respond the operating protocol data of inquiry role A, transfer the game data of role A and feed back to should from database
Use testing service device;
The corresponding game data of described operation object that game server is fed back by application testing service device, with record
The corresponding operating result data of described operation object is compared, and determines test result according to comparison result.
As can be seen that the embodiment of the present invention can realize cross-platform data intercommunication one in the case of departing from applications client
The test of cause property, eliminates tester and carries out the switching login of different platform in applications client manually and carry out application operating
Flow process, simplify the conforming test process of cross-platform data intercommunication, improve testing efficiency.
Below application testing service device provided in an embodiment of the present invention is introduced, application testing service described below
Device can be with flow content above mutually to should refer to.The module of application testing service device described below may be considered application and surveys
Examination server is to realize the conforming test of cross-platform data intercommunication, the functional module framework of required setting.
Fig. 8 is the structured flowchart of application testing service device provided in an embodiment of the present invention, with reference to Fig. 8, this application test clothes
Business device can include:
Test information determination module 100, for determining the first system platform used by test account and test;
First login analog module 200, for according to described test account, simulating described the first system platform corresponding the
One login protocol data, by described first login protocol data is activation to application server;
In application server, test operation information determination module 300, for verifying that described first login protocol data is legal
Afterwards, determine test operation information;
First operation simulation module 400, for according to described test operation information, simulating described the first system platform corresponding
The first operating protocol data, by described first operating protocol data is activation to application server;
Logging modle 500, the described test operation information for receiving described application server feedback operates sound accordingly
Answer data, according to described operation response data, record the corresponding operating result data of described test operation information;
Test platform handover module 600, for switch test platform be second system platform, described second system platform with
Described the first system platform is different;
Second login analog module 700, for according to described test account, simulating described second system platform corresponding the
Two login protocol data, by described second login protocol data is activation to application server;
Second operation simulation module 800, for application server verify described second login protocol data legal after, mould
Intend second operating protocol data corresponding with described second system platform, described second operating protocol data is activation is given application clothes
Business device;Described second operating protocol data is used for instruction and inquires about application data after the corresponding operation of described test operation information;
Compare and test result determining module 900, for receiving the described test operation letter of described application server feedback
Breath is corresponding operate after application data, application data after described operation is compared with the operating result data phase recording, according to than
Test result is determined to result.
Optionally, Fig. 9 shows the alternative construction of the first login analog module 200, and with reference to Fig. 9, first logs in simulation mould
Block 200 can include:
First generation logic call unit 210, for calling predetermined corresponding with described the first system platform first to step on
Record voucher generate logic, according to described first logging on authentication generate logic generate with described test account corresponding first login with
Card;
First login protocol data generating unit 220, for transferring predetermined corresponding with described the first system platform step on
Record protocol data, fills described first logging on authentication and described test account in the login protocol data transferred, is taken
The first login protocol data with described first logging on authentication and described test account.
Optionally, application testing service device also can application server verify described first login protocol data legal after,
Receive the first success response that application server sends;Specifically, receive the first login protocol data in application server, and adjust
Generate logic with the first predetermined logging on authentication, generate and described test corresponding first logging on authentication of account, and application service
It is corresponding with the first logging on authentication applying testing service device to be sent that device judges generated the first logging on authentication, determines described the
After one login protocol data is legal, application testing service device can receive the first Successful login response of application server transmission.
Optionally, second login analog module 700 realize principle with first login analog module 200 realize principle class
Seemingly, Figure 10 shows the alternative construction of the second login analog module 700, and with reference to Figure 10, the second login analog module 700 can wrap
Include:
Second generation logic call unit 710, for calling predetermined corresponding with described second system platform second to step on
Record voucher generate logic, according to described second logging on authentication generate logic generate with described test account corresponding second login with
Card;
Second login protocol data generating unit 720, for transferring predetermined corresponding with described second system platform step on
Record protocol data, fills described second logging on authentication and described test account in the login protocol data transferred, is taken
The second login protocol data with described second logging on authentication and described test account.
Optionally, application testing service device also can application server verify described second login protocol data legal after,
Receive the second success response that application server sends;Specifically, receive the second login protocol data in application server, and adjust
Generate logic with the second predetermined logging on authentication, generate and described test corresponding second logging on authentication of account, and application service
It is corresponding with the second logging on authentication applying testing service device to be sent that device judges generated the second logging on authentication, determines described the
After two login protocol data are legal, application testing service device can receive the second Successful login response of application server transmission.
Optionally, the first operation simulation module 400 is particularly used in, corresponding according to predetermined and described the first system platform
Multiple operating protocol data, determine the corresponding first operating protocol data of described test operation information;Specifically, test operation
Information can include:Action type and operation object;Accordingly, Figure 11 shows the optional knot of the first operation simulation module 400
Structure, with reference to Figure 11, the first operation simulation module 400 can include:
Type respective protocol data determination unit 410, for corresponding many according to predetermined and described the first system platform
Individual operating protocol data, determines operating protocol data corresponding with described action type;
First variable determination unit 420, for by determined by the operation object variable of operating protocol data be defined as institute
State operation object, determine the first operating protocol data.
Accordingly, the second operation simulation module 800 is particularly used in, corresponding according to predetermined and described second system platform
Multiple operating protocol data, determine the second operating protocol data;Specifically, Figure 12 shows the second operation simulation module 800
Alternative construction, with reference to Figure 12, the second operation simulation module 800 can include:
Check respective protocol data determination unit 810, for corresponding many according to predetermined and described second system platform
Individual operating protocol data, determines operating protocol data corresponding with checking operation object;
Second variable determination unit 820, for by determined by check the behaviour of operation object corresponding operating protocol data
It is defined as described operation object as object variable, determine the second operating protocol data.
Optionally, test operation information is carried in and comprises to test in account and the information of the first system platform, accordingly,
Test operation information determination module 300 can determine that and comprises to test the test operation carrying in account and the information of the first system platform
Information.
Optionally, the quantity of test operation information can be multiple;First operation simulation module 400 can in order, with
The selection mode of machine or repetition, once chooses a test operation information from multiple test operation information, will be selected
Test operation information simulation becomes corresponding first operating protocol data.
Optionally, test information determination module 100 determines the mode of the first system platform used by test account and test
Can be:Receive test terminal transmission comprises test account and the information of the first system platform identification, and described the first system is put down
Station identification is used for identifying the first system platform;According to the information being received, determine the first system used by test account and test
Platform;
Accordingly, application testing service device comprises test account and the first system platform mark what reception test terminal sent
Before the information known, it may also be used for:Receive the request of the displaying test interface that test terminal sends, described test interface is used for supplying
Tester's input test account, the mark of test system for use in carrying platform and test operation information;Test interface is opened up accordingly
Registration evidence is sent to test terminal, so that described test interface is shown according to described display data in described test terminal, so that
Obtain test terminal and test interface can be shown by the form of the page, so that tester's input test account, the first system are put down
Station identification and test operation information.
Application testing service device provided in an embodiment of the present invention can be realized cross-platform in the case of departing from applications client
The conforming test of data interchange, eliminates tester and carries out the switching login of different platform in applications client manually and enter
The flow process of row application operating, simplifies the conforming test process of cross-platform data intercommunication, improves testing efficiency.
Figure 13 shows the hardware block diagram of application testing service device, and with reference to Figure 13, application testing service device can wrap
Include:Processor 1, communication interface 2, memory 3 and communication bus 4;
Wherein processor 1, communication interface 2, memory 3 complete mutual communication by communication bus 4;
Optionally, communication interface 2 can be the interface of communication module, the such as interface of gsm module;
Processor 1, for configuration processor;
Memory 3, is used for depositing program;
Program can include program code, and described program code includes computer-managed instruction.
Processor 1 is probably a central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the one or more integrated electricity of the embodiment of the present invention
Road.
Memory 3 may comprise high-speed RAM memory it is also possible to also include nonvolatile memory (non-volatile
Memory), for example, at least one magnetic disc store.
Wherein, program can be specifically for:
Determine the first system platform used by test account and test;
According to described test account, simulate the corresponding first login protocol data of described the first system platform, by described the
One login protocol data is activation is to application server;
After application server verifies that described first login protocol data is legal, determine test operation information;
According to described test operation information, simulate the corresponding first operating protocol data of described the first system platform, by institute
State the first operating protocol data is activation to application server;
The described test operation information receiving described application server feedback operates response data, accordingly according to described behaviour
Make response data, record the corresponding operating result data of described test operation information;
Switch test platform is second system platform, and described second system platform is different from described the first system platform;
According to described test account, simulate the corresponding second login protocol data of described second system platform, by described the
Two login protocol data is activations are to application server;
After application server verifies that described second login protocol data is legal, simulation is corresponding to described second system platform
The second operating protocol data, by described second operating protocol data is activation to application server;Described second operating protocol number
Inquire about application data after the corresponding operation of described test operation information according to for instruction;
Receive application data after the corresponding operation of described test operation information of described application server feedback, by described behaviour
After work, application data and the operating result data phase of record compare, and determine test result according to comparison result.
In this specification, each embodiment is described by the way of going forward one by one, and what each embodiment stressed is and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, because it corresponds to the method disclosed in Example, so description is fairly simple, say referring to method part in place of correlation
Bright.
Professional further appreciates that, in conjunction with the unit of each example of the embodiments described herein description
And algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and
The interchangeability of software, generally describes composition and the step of each example in the above description according to function.These
Function to be executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.Specialty
Technical staff can use different methods to each specific application realize described function, but this realization should
Think beyond the scope of this invention.
The step of the method in conjunction with the embodiments described herein description or algorithm can directly be held with hardware, processor
The software module of row, or the combination of the two is implementing.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In known any other form of storage medium in field.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.
Multiple modifications to these embodiments will be apparent from for those skilled in the art, as defined herein
General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention
It is not intended to be limited to the embodiments shown herein, and be to fit to and principles disclosed herein and features of novelty phase one
The scope the widest causing.
Claims (12)
1. a kind of cross-platform data intercommunication conformance test method is it is characterised in that be applied to apply testing service device, described side
Method includes:
Determine the first system platform used by test account and test;
According to described test account, simulate the corresponding first login protocol data of described the first system platform, described first is stepped on
Record protocol data is sent to application server;
After application server verifies that described first login protocol data is legal, determine test operation information;
According to described test operation information, simulate the corresponding first operating protocol data of described the first system platform, by described the
One operating protocol data is activation is to application server;
The described test operation information receiving described application server feedback operates response data accordingly, is rung according to described operation
Answer data, record the corresponding operating result data of described test operation information;
Switch test platform is second system platform, and described second system platform is different from described the first system platform;
According to described test account, simulate the corresponding second login protocol data of described second system platform, described second is stepped on
Record protocol data is sent to application server;
After application server verifies that described second login protocol data is legal, simulation corresponding with described second system platform the
Two operating protocol data, by described second operating protocol data is activation to application server;Described second operating protocol data is used
Application data after the corresponding operation of described test operation information is inquired about in instruction;
Receive application data after the corresponding operation of described test operation information of described application server feedback, after described operation
Application data is compared with the operating result data phase of record, determines test result according to comparison result.
2. cross-platform data intercommunication conformance test method according to claim 1 is it is characterised in that described in described basis
Test account, the simulation corresponding first login protocol data of described the first system platform includes:
Call predetermined first logging on authentication corresponding with described the first system platform to generate logic, according to described first log in
Card generates logic and generates and described test corresponding first logging on authentication of account;
Transfer predetermined login protocol data corresponding with described the first system platform, fill out in the login protocol data transferred
Fill described first logging on authentication and described test account, obtain carrying the first of described first logging on authentication and described test account
Login protocol data.
3. cross-platform data intercommunication conformance test method according to claim 2 is it is characterised in that methods described is also wrapped
Include:
Call the first predetermined logging on authentication to generate logic in application server, generate and step on described test account corresponding first
Record voucher, and application server judge the first login that generated the first logging on authentication sent with application testing service device with
Card corresponds to, and after determining that described first login protocol data is legal, receives the first Successful login response that application server sends.
4. cross-platform data intercommunication conformance test method according to claim 1 is it is characterised in that described in described basis
Test account, the simulation corresponding second login protocol data of described second system platform includes:
Call predetermined second logging on authentication corresponding with described second system platform to generate logic, according to described second log in
Card generates logic and generates and described test corresponding second logging on authentication of account;
Transfer predetermined login protocol data corresponding with described second system platform, fill out in the login protocol data transferred
Fill described second logging on authentication and described test account, obtain carrying the second of described second logging on authentication and described test account
Login protocol data.
5. cross-platform data intercommunication conformance test method according to claim 4 is it is characterised in that methods described is also wrapped
Include:
Call the second predetermined logging on authentication to generate logic in application server, generate and step on described test account corresponding second
Record voucher, and application server judge the second login that generated the second logging on authentication sent with application testing service device with
Card corresponds to, and after determining that described second login protocol data is legal, receives the second Successful login response that application server sends.
6. the cross-platform data intercommunication conformance test method according to any one of claim 1-5 is it is characterised in that described
According to described test operation information, simulate the corresponding first operating protocol data of described the first system platform and include:
According to the corresponding multiple operating protocol data of predetermined and described the first system platform, determine described test operation information phase
The the first operating protocol data answered;
Described simulation second operating protocol data corresponding with described second system platform includes:
According to the corresponding multiple operating protocol data of predetermined and described second system platform, determine the second operating protocol data.
7. cross-platform data intercommunication conformance test method according to claim 6 is it is characterised in that described test operation
Information includes:Action type and operation object;Described according to predetermined and described the first system platform corresponding multiple operation association
View data, determines that the corresponding first operating protocol data of described test operation information includes:
According to the corresponding multiple operating protocol data of predetermined and described the first system platform, determine corresponding to described action type
Operating protocol data;
By determined by the operation object variable of operating protocol data be defined as described operation object, determine the first operating protocol
Data.
8. cross-platform data intercommunication conformance test method according to claim 7 is it is characterised in that described basis makes a reservation for
Multiple operating protocol data corresponding with described second system platform, determine that the second operating protocol data includes:
According to the corresponding multiple operating protocol data of predetermined and described second system platform, determine to check operation object corresponding
Operating protocol data;
By determined by check that the operation object variable of operation object corresponding operating protocol data is defined as described operation object,
Determine the second operating protocol data.
9. cross-platform data intercommunication conformance test method according to claim 1 is it is characterised in that described test operation
Information carries and comprises to test in account and the information of the first system platform described;Described determination test operation information includes:
Determine the test operation information carrying in described information.
10. cross-platform data intercommunication conformance test method according to claim 1 is it is characterised in that described test is grasped
The quantity making information is multiple;Described according to described test operation information, simulate corresponding first behaviour of described the first system platform
Include as protocol data:
In order, selection mode that is random or repeating, once chooses a test operation from multiple test operation information
Information, selected test operation information simulation is become corresponding first operating protocol data.
11. cross-platform data intercommunication conformance test methods according to claim 1 are it is characterised in that described determination is surveyed
The first system platform used by examination account and test includes:
Receive test terminal transmission comprises test account and the information of the first system platform identification, described the first system platform mark
Know for identifying the first system platform;According to the information being received, determine the first system platform used by test account and test;
Methods described also includes:
Before receiving the information comprising test account and the first system platform identification that test terminal sends, receive test terminal
The request of the displaying test interface sending, described test interface is used for for tester's input test account, test system for use in carrying
Platform and test operation information;
Corresponding for test interface display data is sent to test terminal, so that described test terminal is according to described display data exhibition
Show described test interface.
A kind of 12. application testing service devices are it is characterised in that include:
Test information determination module, for determining the first system platform used by test account and test;
First login analog module, for according to described test account, simulating corresponding first login of described the first system platform
Protocol data, by described first login protocol data is activation to application server;
Test operation information determination module, for, after application server verifies that described first login protocol data is legal, determining
Test operation information;
First operation simulation module, for according to described test operation information, simulating described the first system platform corresponding first
Operating protocol data, by described first operating protocol data is activation to application server;
Logging modle, the described test operation information for receiving described application server feedback operates response data accordingly,
According to described operation response data, record the corresponding operating result data of described test operation information;
Test platform handover module, is second system platform for switch test platform, described second system platform and described the
One system platform is different;
Second login analog module, for according to described test account, simulating corresponding second login of described second system platform
Protocol data, by described second login protocol data is activation to application server;
Second operation simulation module, for, after application server verifies that described second login protocol data is legal, simulating and institute
State the corresponding second operating protocol data of second system platform, by described second operating protocol data is activation to application server;
Described second operating protocol data is used for instruction and inquires about application data after the corresponding operation of described test operation information;
Compare and test result determining module, the described test operation information for receiving described application server feedback is corresponding
Application data after operation, application data after described operation is compared with the operating result data phase of record, true according to comparison result
Location survey test result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610882388.1A CN106407121B (en) | 2016-10-08 | 2016-10-08 | A kind of cross-platform data intercommunication conformance test method and using test server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610882388.1A CN106407121B (en) | 2016-10-08 | 2016-10-08 | A kind of cross-platform data intercommunication conformance test method and using test server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106407121A true CN106407121A (en) | 2017-02-15 |
CN106407121B CN106407121B (en) | 2018-02-27 |
Family
ID=59228537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610882388.1A Active CN106407121B (en) | 2016-10-08 | 2016-10-08 | A kind of cross-platform data intercommunication conformance test method and using test server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106407121B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107154936A (en) * | 2017-04-27 | 2017-09-12 | 腾讯科技(深圳)有限公司 | Login method, device and system |
CN107241240A (en) * | 2017-06-30 | 2017-10-10 | 广州君海网络科技有限公司 | Game server state monitoring method, apparatus and system |
CN107294803A (en) * | 2017-06-15 | 2017-10-24 | 北京小度信息科技有限公司 | Response message conformance test method and device |
CN107362537A (en) * | 2017-07-03 | 2017-11-21 | 珠海金山网络游戏科技有限公司 | A kind of method and device of qualified role account login service device |
CN109858905A (en) * | 2018-12-21 | 2019-06-07 | 航天信息软件技术有限公司 | The electronic certificate processing method and processing device of cross-system |
CN109981399A (en) * | 2019-02-25 | 2019-07-05 | 中国科学院光电技术研究所 | A kind of general automation test software platform for common space communication |
CN110048935A (en) * | 2019-04-17 | 2019-07-23 | 深圳市腾讯网域计算机网络有限公司 | A kind of cross-terminal exchange method, apparatus and system |
CN110166469A (en) * | 2019-05-28 | 2019-08-23 | 深圳市六度人和科技有限公司 | A kind of method for authenticating, device and storage device |
CN111352992A (en) * | 2018-12-21 | 2020-06-30 | 北京金山云网络技术有限公司 | Data consistency detection method and device and server |
CN112370793A (en) * | 2020-11-25 | 2021-02-19 | 上海幻电信息科技有限公司 | Risk control method and device for user account |
CN112999653A (en) * | 2021-01-21 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Cloud game processing method, device, equipment and medium |
CN113938886A (en) * | 2021-11-30 | 2022-01-14 | 上海派拉软件股份有限公司 | Identity authentication platform test method, device, equipment and storage medium |
CN115834451A (en) * | 2022-11-11 | 2023-03-21 | 超聚变数字技术有限公司 | Software login testing method and related device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105335282A (en) * | 2014-07-30 | 2016-02-17 | 国际商业机器公司 | Method and system for cross-platform test of applications |
CN105868104A (en) * | 2016-03-24 | 2016-08-17 | 积成电子股份有限公司 | Cross-platform graphic user interface automatic test method |
-
2016
- 2016-10-08 CN CN201610882388.1A patent/CN106407121B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105335282A (en) * | 2014-07-30 | 2016-02-17 | 国际商业机器公司 | Method and system for cross-platform test of applications |
CN105868104A (en) * | 2016-03-24 | 2016-08-17 | 积成电子股份有限公司 | Cross-platform graphic user interface automatic test method |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107154936B (en) * | 2017-04-27 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Login method, device and system |
CN107154936A (en) * | 2017-04-27 | 2017-09-12 | 腾讯科技(深圳)有限公司 | Login method, device and system |
CN107294803A (en) * | 2017-06-15 | 2017-10-24 | 北京小度信息科技有限公司 | Response message conformance test method and device |
CN107241240B (en) * | 2017-06-30 | 2020-04-03 | 广州君海网络科技有限公司 | Game server state monitoring method, device and system |
CN107241240A (en) * | 2017-06-30 | 2017-10-10 | 广州君海网络科技有限公司 | Game server state monitoring method, apparatus and system |
CN107362537A (en) * | 2017-07-03 | 2017-11-21 | 珠海金山网络游戏科技有限公司 | A kind of method and device of qualified role account login service device |
CN111352992A (en) * | 2018-12-21 | 2020-06-30 | 北京金山云网络技术有限公司 | Data consistency detection method and device and server |
CN109858905B (en) * | 2018-12-21 | 2023-04-25 | 航天信息软件技术有限公司 | Cross-system electronic certificate processing method and device |
CN109858905A (en) * | 2018-12-21 | 2019-06-07 | 航天信息软件技术有限公司 | The electronic certificate processing method and processing device of cross-system |
CN111352992B (en) * | 2018-12-21 | 2023-09-29 | 北京金山云网络技术有限公司 | Data consistency detection method, device and server |
CN109981399A (en) * | 2019-02-25 | 2019-07-05 | 中国科学院光电技术研究所 | A kind of general automation test software platform for common space communication |
CN110048935A (en) * | 2019-04-17 | 2019-07-23 | 深圳市腾讯网域计算机网络有限公司 | A kind of cross-terminal exchange method, apparatus and system |
CN110166469A (en) * | 2019-05-28 | 2019-08-23 | 深圳市六度人和科技有限公司 | A kind of method for authenticating, device and storage device |
CN110166469B (en) * | 2019-05-28 | 2022-03-15 | 深圳市六度人和科技有限公司 | Authentication method, device and storage device |
CN112370793A (en) * | 2020-11-25 | 2021-02-19 | 上海幻电信息科技有限公司 | Risk control method and device for user account |
CN112999653A (en) * | 2021-01-21 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Cloud game processing method, device, equipment and medium |
CN112999653B (en) * | 2021-01-21 | 2022-08-02 | 腾讯科技(深圳)有限公司 | Cloud game processing method, device, equipment and medium |
CN113938886A (en) * | 2021-11-30 | 2022-01-14 | 上海派拉软件股份有限公司 | Identity authentication platform test method, device, equipment and storage medium |
CN113938886B (en) * | 2021-11-30 | 2024-04-05 | 上海派拉软件股份有限公司 | Identity authentication platform testing method, device, equipment and storage medium |
CN115834451A (en) * | 2022-11-11 | 2023-03-21 | 超聚变数字技术有限公司 | Software login testing method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN106407121B (en) | 2018-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106407121B (en) | A kind of cross-platform data intercommunication conformance test method and using test server | |
CN104092811B (en) | Mobile terminal information download method, system, terminal device and server | |
CN104639562B (en) | A kind of system of pushing certification and the method for work of equipment | |
CN103929402B (en) | Sensitive operation verification method, terminal unit, server and checking system | |
CN106503589A (en) | The method of calibration of block chain Transaction Information correctness, apparatus and system | |
CN108510389A (en) | Intelligent contract call method, equipment and readable storage medium storing program for executing based on block chain | |
CN110519115A (en) | Gateway interface test method, terminal device, storage medium and device | |
CN106484622A (en) | Method of testing, apparatus and system | |
CN110351228A (en) | Remote entry method, device and system | |
CN109660356A (en) | Data cochain method, apparatus, equipment and computer readable storage medium | |
CN107135218A (en) | Log in state acquisition, sending method, voucher collocation method, client and server | |
CN108200089A (en) | Implementation method, device, system and the storage medium of information security | |
CN109669714A (en) | Firmware upgrade method, device and computer readable storage medium | |
CN106067849A (en) | A kind of digital signature method being applicable to PDF document and device | |
CN106453206B (en) | A kind of auth method and device | |
CN110290049A (en) | Information push method, server and computer readable storage medium | |
CN107426711A (en) | Method, device and system for binding or unbinding mobile phone number | |
CN108076056A (en) | Cloud server login method and device | |
CN108989291A (en) | Login validation method, the verification method of automated log on, server-side and client | |
CN107153603A (en) | Analog detection method, the apparatus and system of game | |
CN105740670B (en) | Using encryption, starting method and apparatus | |
CN104753944A (en) | Account security verifying method and system | |
CN110516436A (en) | Learning machine application program installation method, device, learning machine and storage medium | |
CN106453263A (en) | Method and system of binding cellphone number with APP | |
CN109218370A (en) | Message method and device, electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |