CN106936658A - The method of testing and test platform of test case, simulation test equipment - Google Patents

The method of testing and test platform of test case, simulation test equipment Download PDF

Info

Publication number
CN106936658A
CN106936658A CN201511026535.7A CN201511026535A CN106936658A CN 106936658 A CN106936658 A CN 106936658A CN 201511026535 A CN201511026535 A CN 201511026535A CN 106936658 A CN106936658 A CN 106936658A
Authority
CN
China
Prior art keywords
test
equipment
request message
unit
communication port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201511026535.7A
Other languages
Chinese (zh)
Inventor
周胜宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201511026535.7A priority Critical patent/CN106936658A/en
Priority to PCT/CN2016/097591 priority patent/WO2017113848A1/en
Publication of CN106936658A publication Critical patent/CN106936658A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention discloses method of testing and test platform, the simulation test equipment of a kind of test case, methods described includes:Test platform receives test case, and the test case is parsed, and the test case is resolved at least one control instruction and interactive configuration information corresponding with each control instruction;At least one control instruction is sent to the port numbers of the communication port of corresponding simulation test equipment respectively;The request message sent from the port numbers of the communication port of the corresponding simulation test equipment is received, and parses the request message;According to the analysis result of the request message, and the corresponding control instruction of the request message interactive configuration information, generate the response message of the request message;The response message is sent to the port numbers of the communication port of corresponding simulation test equipment.

Description

The method of testing and test platform of test case, simulation test equipment
Technical field
The present invention relates to control instruction measuring technology, more particularly to a kind of test case method of testing and test Platform, simulation test equipment.
Background technology
The general test quality for being ensured test case by automatic test and lifting testing efficiency, are being built Automatic test scene is particularly when needing a large amount of test equipments to aid in carrying out automation commissioning, it is necessary to flower Take the more device build test environment of more time occupancy.
In automatic test cases development process is debugged, in addition to equipment under test, in addition it is also necessary to use more Test equipment.Be devices under with the building of test equipment, safeguard etc. and to need to expend the regular hour, such as The many set automatic test environment of fruit carry out commissioning simultaneously, and the resource of occupancy will be multiplied.Used in automation During example commissioning, edition upgrading, stability, failure of equipment under test and test equipment etc. need to safeguard solution Certainly, will also result in the influence to automatic test cases development efficiency;During use-case commissioning is automated, Some testing procedure interaction times are more long, need to wait during commissioning, lose time more.
The content of the invention
The embodiment of the present invention provides the method for testing and test platform, simulation test equipment of a kind of test case, What its technical scheme was realized in:
A kind of method of testing of test case, methods described includes:
Test platform receives test case, and the test case is parsed, by test case parsing It is at least one control instruction and interactive configuration information corresponding with each control instruction;
By at least one control instruction respectively to corresponding simulation test equipment communication port port numbers Send;
The request message sent from the port numbers of the communication port of the corresponding simulation test equipment is received, and Parse the request message;
According to the analysis result of the request message, and the corresponding control instruction of the request message interaction Configuration information, generates the response message of the request message;
The response message is sent to the port numbers of the communication port of corresponding simulation test equipment.
Used as a kind of implementation, methods described also includes:
The communication port set up between the test platform and simulation test equipment;
The port numbers actually externally used according to the simulation test equipment configure the end of set up communication port Slogan.
Used as a kind of implementation, methods described also includes:
The test platform records the request message of the port numbers transmission of each communication port, the request and disappears The analysis result of breath and the request message sent to the port numbers of corresponding communication port, and export record As a result.
Used as a kind of implementation, methods described also includes:
The configuration testing environment on the first electronic equipment, makes first electronic equipment form test platform.
Used as a kind of implementation, methods described also includes:
The running environment of configuration testing equipment on first electronic equipment, makes the first electronic equipment shape Into simulation test equipment;
First electronic equipment can form more than one simulation test equipment.
Used as a kind of implementation, methods described also includes:
The running environment of configuration testing equipment on the second electronic equipment, makes second electronic equipment form mould Intend test equipment;
Second electronic equipment can form more than one simulation test equipment.
A kind of test platform, the test platform includes:First receiving unit, the first resolution unit, first Transmitting element, the second receiving unit, the second resolution unit, generation unit and the second transmitting element, wherein:
First receiving unit, for receiving test case;
First resolution unit, for being parsed to the test case, by the test case resolve to Few a control instruction and interactive configuration information corresponding with each control instruction;
First transmitting element, for by least one control instruction respectively to corresponding simulation test equipment Communication port port numbers send;
Second receiving unit, the port numbers for receiving the communication port from the corresponding simulation test equipment The request message of transmission;
Second resolution unit, for parsing the request message;
Generation unit, it is corresponding for the analysis result according to the request message, and the request message The interactive configuration information of control instruction, generates the response message of the request message;
Second transmitting element, for by communication port from the response message to corresponding simulation test equipment Port numbers send.
Used as a kind of implementation, the test platform also includes:Unit and dispensing unit are set up, wherein:
Unit is set up, for setting up the communication port between the test platform and simulation test equipment;
Dispensing unit, the port numbers configuration for actually externally being used according to the simulation test equipment is set up Communication port port numbers.
Used as a kind of implementation, the test platform also includes:Recording unit and output unit, wherein:
Recording unit, for request message, the request message that the port numbers of each communication port send Analysis result and to corresponding communication port port numbers send request message;
Output unit, the record result for exporting the recording unit.
Used as a kind of implementation, the test platform is formed by configuration testing environment on an electronic device.
A kind of simulation test equipment, the simulation test equipment includes:First receiving unit, generation unit, Transmitting element and the second receiving unit, wherein:
First receiving unit, the control instruction for receiving test platform transmission;
Generation unit, for generating corresponding request message according to the control instruction;
Transmitting element, for the request message to be sent to the test platform;
Second receiving unit, disappears for receiving the corresponding response of the request message that the test platform sends Breath.
Used as a kind of implementation, the simulation test equipment also includes:Unit and dispensing unit are set up, its In:
Unit is set up, for setting up the communication port between the simulation test equipment and the test platform;
Dispensing unit, the port numbers configuration for actually externally being used according to the simulation test equipment is set up Communication port port numbers.
Used as a kind of implementation, the simulation test equipment is by configuration testing equipment on an electronic device Running environment and formed;
The electronic equipment can form more than one simulation test equipment.
In the embodiment of the present invention, it is necessary first to the communication port set up between test platform and simulation test equipment, And the port numbers actually externally used according to the simulation test equipment configure the port of set up communication port Number;Test platform receives test case, and the test case is parsed, by test case parsing It is at least one control instruction and interactive configuration information corresponding with each control instruction;By described at least One control instruction sends to the port numbers of the communication port of corresponding simulation test equipment respectively;Receive from institute The request message that the port numbers of the communication port of corresponding simulation test equipment send is stated, and parses the request Message;According to the analysis result of the request message, and the corresponding control instruction of the request message friendship Mutual configuration information, generates the response message of the request message;The response message is surveyed to corresponding simulation The port numbers of the communication port of examination equipment send.The technical scheme of the embodiment of the present invention simulates automatic test The equipment under test and test equipment of use-case execution system periphery, it is ensured that automatic test cases execution system energy Smoothly perform automatic test cases.The embodiment of the present invention need not build test environment, reduce to surveying The occupancy in test ring border, reduces the time of maintenance test environment.As long as obtaining test equipment and system under test (SUT) pair The channel protocol of outer offer, before system under test (SUT) research and development, it is also possible to carry out the exploitation of automatic test cases, Automatic test cases exploitation can simultaneously be carried out with the exploitation of system under test (SUT), accelerate testing progress.This hair Bright embodiment can reduce automatic test cases because of true ring with the response time of flexible configuration request message Border processing business and the delay time that has to wait for, accelerate the execution speed of use-case, improve automation and use Example holds the efficiency of exploitation.
Brief description of the drawings
Fig. 1 is the flow chart of the method for testing of the test case of the embodiment of the present invention;
Fig. 2 realizes configuration diagram for the test system of the embodiment of the present invention;
Fig. 3 realizes flow chart for the method for testing of the test case of the embodiment of the present invention;
Fig. 4 is the composition structural representation of the test platform of the embodiment of the present invention;
Fig. 5 is the composition structural representation of the simulation test equipment of the embodiment of the present invention.
Specific embodiment
In order to more fully hereinafter understand the features of the present invention and technology contents, below in conjunction with the accompanying drawings to this hair Bright realization is described in detail, appended accompanying drawing purposes of discussion only for reference, not for limiting the present invention.
Fig. 1 is the flow chart of the method for testing of the test case of the embodiment of the present invention, as shown in figure 1, this hair The method of testing of the test case of bright embodiment is comprised the following steps:
Step 101, test platform receives test case, the test case is parsed, by the survey Example on probation resolves at least one control instruction and interactive configuration information corresponding with each control instruction.
, it is necessary in test platform and simulation before the method for testing of test case of the embodiment of the present invention is performed Communication port is set up between test equipment;And the port numbers actually externally used according to the simulation test equipment The port numbers of the set up communication port of configuration.In the embodiment of the present invention, the foundation of communication port need to meet end Communication protocol between mouthful, such as can be Telnet communication ports, Udp communication ports.And port numbers are needed Depending on will be according to specific simulation test equipment, simulation test equipment can be the network element devices such as base station, terminal.
In the embodiment of the present invention, test case is to make in advance.Test case includes that corresponding control refers to The information such as order and test scene.
Step 102, test platform is by least one control instruction respectively to corresponding simulation test equipment Communication port port numbers send.
In the embodiment of the present invention, after test platform is parsed to test case, after obtaining corresponding parsing The relevant informations such as control instruction, the port in control instruction, the control instruction is surveyed to corresponding simulation Examination equipment sends.
Step 103, test platform receives the port numbers from the communication port of the corresponding simulation test equipment The request message of transmission, and parse the request message.
After simulation test equipment receives the control instruction of test platform transmission, the control instruction, and root are performed Corresponding request message is generated according to the control instruction, and the request message is sent to test platform.Test is flat After platform receives request message, it is parsed.
Step 104, test platform is according to the analysis result of the request message, and the request message pair The interactive configuration information of the control instruction answered, generates the response message of the request message.
Test platform generates the corresponding response message of the request message.
Step 105, test platform by communication port from the response message to corresponding simulation test equipment Port numbers send.
Step 106, test platform records the request message, described that the port numbers of each communication port send The analysis result of request message and the request message sent to the port numbers of corresponding communication port, and it is defeated Go out to record result.
In the embodiment of the present invention, after test platform needs record implementation of test cases, test platform is surveyed with simulation Any message between examination equipment, and these message transmission and the information such as reception time, these are believed Breath output carries out test analysis for user.
In the embodiment of the present invention, can on the first electronic equipment configuration testing environment, make first electronics Equipment forms test platform.
In the embodiment of the present invention, it is also possible to the running environment of configuration testing equipment on first electronic equipment, First electronic equipment is set to form simulation test equipment;
First electronic equipment can form more than one simulation test equipment.
That is, in the embodiment of the present invention, simulation test equipment and test platform can be arranged at into one In electronic equipment such as computer.
Certainly, simulation test equipment can also be respectively arranged in different electronic equipments from test platform.One Multiple test equipments can also be simulated in individual electronic equipment.Such as i.e. can be with pseudo-terminal, it is also possible to anolog base station. As long as the port numbers that it is configured are different.
Specifically, on the second electronic equipment configuration testing equipment running environment, set second electronics It is standby to form simulation test equipment;
One the second electronic equipment can form more than one simulation test equipment.
Below by way of example, the essence of the technical scheme of embodiment that the present invention is furture elucidated.
The embodiment of the present invention accounted in automatic test cases debugging during test automation use-case to be overcome With equipment is more, the test case commissioning test time is long and debugging process in larger etc. is influenceed on performing environment Technical problem and propose.
The embodiment of the present invention is implemented as follows:
If having write test case, system under test (SUT) is the base station in wireless communication system, and test sets For the Operation and Maintenance, UE, the core net that need base station, generally, it is necessary to build test environment, it is ensured that UE has access to, can according to test case the step of test pass through.And the embodiment of the present invention need not build ring Border, you can the quick testing requirement for meeting test automation test case.
The embodiment of the present invention sets up the communication of automatic test cases execution system and equipment under test and test equipment Passage;Different protocol types realizes different passages;
By calling foregoing communication port, communicate logical according to actual externally the configuration using port numbers of test equipment Road port numbers, are used to simulate real equipment under test and test equipment;Each analog machine configures different leading to Road, can dispose on one computer, or deployment is on a different computer, can be surveyed with automation Example execution system on probation is deployed to a computer, it is also possible to be deployed on different computers.
Receive and parse through and transmit request message from analog machine module, message is configured according to interacting message module, Return to corresponding response message.
Fig. 2 realizes configuration diagram for the test system of the embodiment of the present invention, as shown in Fig. 2 of the invention The test platform of embodiment includes following four module:
Communication port module:The module mainly realizes the logical of the external control that equipment under test and test equipment are provided Letter channel protocol.
EM equipment module:The module major function is simulation equipment under test or test equipment.
Message is parsed and scheduler module:The module mainly realizes the parsing to request message, by calling interaction Message arrangement module, the corresponding response message of search request message.
Interaction message configuration module:Configure the request message and response message of various equipment.
It will be appreciated by those skilled in the art that above-mentioned processing module can be by running on the journey on processor Sequence and realize, can also be realized by specific logic circuit.
Below in conjunction with Fig. 3, to the test system of the embodiment of the present invention in each module between interacting message side Formula is described.
1st, automatic test execution system, according to testing procedure, sends to equipment under test or test equipment and sets Standby request command, controls relevant device or query facility status information.
2nd, after channel module receives device request order, message is given to according to port number information by corresponding equipment.
3rd, after EM equipment module receives request message, message call is parsed and scheduler module analysis request order.
4th, message parsing and scheduler module inquire about correspondence according to request command after parsing to interaction message configuration module Corresponding message.
5th, interaction message configuration module returns to the corresponding response message of request command.
6th, after message parsing and scheduler module receive response message, EM equipment module is returned result to.
7th, message is sent to channel module by EM equipment module after receiving response message.
8th, response message is returned to automatic test execution system by channel module.
The technical scheme of the embodiment of the present invention simulates the equipment under test of automatic test cases execution system periphery And test equipment, it is ensured that automatic test cases execution system can smoothly perform automatic test cases. The embodiment of the present invention need not build test environment, reduce the occupancy to test environment, reduce maintenance and survey The time in test ring border.As long as obtaining the channel protocol that test equipment and system under test (SUT) are externally provided, in tested system Before system research and development, it is also possible to carry out the exploitation of automatic test cases, automatic test cases exploitation can be with The exploitation of system under test (SUT) is carried out simultaneously, accelerates testing progress.The embodiment of the present invention can be asked with flexible configuration The response time of message, reduce automatic test cases prolonging for having to wait for because of true environment processing business When the time, accelerate the execution speed of use-case, improve automation use-case and hold the efficiency of exploitation.
Below by way of example, the technical scheme to the embodiment of the present invention is further elaborated.
Example 1
In this example by taking LTE wireless systems as an example, automatic test execution system is deployed in apparatus of the present invention Together.
1st, automatic test cases write completion according to flow, needed in testing procedure with equipment under test and Test equipment etc. is interacted.
2nd, realize that automatic test cases execution system has and BBU equipment communication passages;BBU is externally provided Be Telnet passages;
3rd, the communication port Telnet set up in abovementioned steps 2 is called, configuration port numbers are 23;
4th, message parsing and scheduler module, receive and parse through and request message, root are transmitted from analog machine module According to interacting message module, return to the response message of configuration, complete an automatic test cases execution system and Analog machine is once interacted;
5th, interaction message configuration module, configures the request command and corresponding response command of BBU.
Example 2
This example by taking LTE wireless systems as an example, with apparatus of the present invention separately dispose by automatic test execution system.
1st, automatic test cases write completion according to flow, needed in testing procedure with equipment under test and Test equipment etc. is interacted.
2nd, setting up automatic test cases execution system has and switch controller equipment communication passage;Switching control Device externally provides Udp passages.
3rd, the communication port Udp for calling this exemplary step 2 to set up, configuration port numbers are 10001.
4th, message parsing and scheduler module, receive and parse through and request message, root are transmitted from analog machine module According to interacting message module, return to the response message of configuration, complete an automatic test cases execution system and Analog machine is once interacted;
5th, interaction message configuration module, configures the request command and corresponding response command of switch controller.
Example 3
By taking LTE wireless systems as an example, automatic test execution system uses many set simulation tests to this example simultaneously Equipment.
1st, automatic test cases write completion according to flow, needed in testing procedure with equipment under test and Test equipment etc. is interacted;
2nd, set up automatic test cases execution system have with switch controller equipment communication passage, realize with Communication port between UE equipment;Switch controller externally provides Udp passages, BBU and UE pairs Outer offer is all Telnet passages.
3rd, the Telnet passages set up according to this exemplary step 2, configure analog BBU equipment, and port numbers are 23, configuration simulation UE equipment, port numbers are 10023, and configuration simulation switch controller equipment end slogan is 10001。
4th, message parsing and scheduler module, receive and parse through and request message, root are transmitted from analog machine module According to interacting message module, return to the response message of configuration, complete an automatic test cases execution system and Analog machine is once interacted.
5th, interaction message configuration module, configuration switch controller, the request command of BBU, UE and corresponding Response command.
Example 4
This example covers automatic test execution system and uses simultaneously and covers this hair more by taking LTE wireless systems as an example, Bright device:
The deployment of Case-based Reasoning 3, can simultaneously support that many set automatization test systems run, lifting automation The exploitation of test case and debugging efficiency.
Fig. 4 is the composition structural representation of the test platform of the embodiment of the present invention, as shown in figure 4, of the invention The test platform of embodiment includes:First receiving unit 40, the first resolution unit 41, the first transmitting element 42nd, the second receiving unit 43, the second resolution unit 44, the transmitting element 46 of generation unit 45 and second, its In:
First receiving unit 40, for receiving test case;
First resolution unit 41, for being parsed to the test case, the test case is resolved to At least one control instruction and interactive configuration information corresponding with each control instruction;
First transmitting element 42, at least one control instruction to be set to corresponding simulation test respectively The port numbers of standby communication port send;
Second receiving unit 43, the port for receiving the communication port from the corresponding simulation test equipment Number send request message;
Second resolution unit 44, for parsing the request message;
Generation unit 45, for the analysis result according to the request message, and request message correspondence Control instruction interactive configuration information, generate the response message of the request message;
Second transmitting element 46, for by communication port from the response message to corresponding simulation test equipment Port numbers send.
On the basis of the test platform shown in Fig. 4, the test platform of the embodiment of the present invention also includes:Set up Unit (not shown in Fig. 4) and dispensing unit (not shown in Fig. 4), wherein:
Unit is set up, for setting up the communication port between the test platform and simulation test equipment;
Dispensing unit, the port numbers configuration for actually externally being used according to the simulation test equipment is set up Communication port port numbers.
On the basis of the test platform shown in Fig. 4, the test platform of the embodiment of the present invention also includes:Record Unit (not shown in Fig. 4) and output unit (not shown in Fig. 4), wherein:
Recording unit, for request message, the request message that the port numbers of each communication port send Analysis result and to corresponding communication port port numbers send request message;
Output unit, the record result for exporting the recording unit.
In the embodiment of the present invention, the test platform is formed by configuration testing environment on an electronic device.
It will be appreciated by those skilled in the art that each unit in test platform shown in Fig. 4 realizes that function can Understand with reference to the associated description of the method for testing of foregoing test case.It is each in test platform shown in Fig. 4 The function of unit can realize by running on the program on processor, also can be by specific logic circuit Realize.
Fig. 5 is the composition structural representation of the simulation test equipment of the embodiment of the present invention, as shown in figure 5, this The simulation test equipment of inventive embodiments includes:First receiving unit 50, generation unit 51, transmitting element 52 and second receiving unit 53, wherein:
First receiving unit 50, the control instruction for receiving test platform transmission;
Generation unit 51, for generating corresponding request message according to the control instruction;
Transmitting element 52, for the request message to be sent to the test platform;
Second receiving unit 53, for receiving the corresponding response of the request message that the test platform sends Message.
On the basis of the simulation test equipment shown in Fig. 5, the simulation test equipment of the embodiment of the present invention is also wrapped Include:Unit (not shown in Fig. 5) and dispensing unit (not shown in Fig. 5) are set up, wherein:
Unit is set up, for setting up the communication port between the simulation test equipment and the test platform;
Dispensing unit, the port numbers configuration for actually externally being used according to the simulation test equipment is set up Communication port port numbers.
The running environment that the simulation test equipment of the embodiment of the present invention passes through configuration testing equipment on an electronic device And formed;
One electronic equipment can form more than one simulation test equipment.
It will be appreciated by those skilled in the art that each unit in simulation test equipment shown in Fig. 5 realizes work( The associated description of the method for testing of foregoing test case can be can refer to and understood.Simulation test shown in Fig. 5 sets The function of each unit in standby can realize by running on the program on processor, also can be by specifically patrolling Collect circuit and realize.
Between technical scheme described in the embodiment of the present invention, in the case where not conflicting, can be in any combination.
In several embodiments provided by the present invention, it should be understood that disclosed method and smart machine, Can realize by another way.Apparatus embodiments described above are only schematical, for example, The division of the unit, only a kind of division of logic function, can there is other division side when actually realizing Formula, such as:Multiple units or component can be combined, or be desirably integrated into another system, or some features can To ignore, or do not perform.In addition, the coupling or straight each other of shown or discussed each part Connect coupling or communication connection can be the INDIRECT COUPLING or communication connection of equipment or unit by some interfaces, Can be electrical, machinery or other forms.
It is above-mentioned as separating component illustrate unit can be or may not be it is physically separate, as The part that unit shows can be or may not be physical location, you can positioned at a place, also may be used To be distributed on multiple NEs;Part or all of unit therein can be according to the actual needs selected Realize the purpose of this embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a second processing list In unit, or each unit is individually as a unit, it is also possible to two or more unit collection Into in a unit;Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ hard Part adds the form of SFU software functional unit to realize.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited to This, any one skilled in the art the invention discloses technical scope in, can readily occur in Change or replacement, should all be included within the scope of the present invention.

Claims (13)

1. a kind of method of testing of test case, it is characterised in that methods described includes:
Test platform receives test case, and the test case is parsed, by test case parsing It is at least one control instruction and interactive configuration information corresponding with each control instruction;
By at least one control instruction respectively to corresponding simulation test equipment communication port port numbers Send;
The request message sent from the port numbers of the communication port of the corresponding simulation test equipment is received, and Parse the request message;
According to the analysis result of the request message, and the corresponding control instruction of the request message interaction Configuration information, generates the response message of the request message;
The response message is sent to the port numbers of the communication port of corresponding simulation test equipment.
2. the method for testing of test case according to claim 1, it is characterised in that methods described is also Including:
The communication port set up between the test platform and simulation test equipment;
The port numbers actually externally used according to the simulation test equipment configure the end of set up communication port Slogan.
3. the method for testing of test case according to claim 1, it is characterised in that methods described is also Including:
The test platform records the request message of the port numbers transmission of each communication port, the request and disappears The analysis result of breath and the request message sent to the port numbers of corresponding communication port, and export record As a result.
4. the method for testing of test case according to claim 1, it is characterised in that methods described is also Including:
The configuration testing environment on the first electronic equipment, makes first electronic equipment form test platform.
5. the method for testing of test case according to claim 4, it is characterised in that methods described is also Including:
The running environment of configuration testing equipment on first electronic equipment, makes the first electronic equipment shape Into simulation test equipment;
First electronic equipment can form more than one simulation test equipment.
6. the method for testing of test case according to claim 4, it is characterised in that methods described is also Including:
The running environment of configuration testing equipment on the second electronic equipment, makes second electronic equipment form mould Intend test equipment;
Second electronic equipment can form more than one simulation test equipment.
7. a kind of test platform, it is characterised in that the test platform includes:First receiving unit, first Resolution unit, the first transmitting element, the second receiving unit, the second resolution unit, generation unit and the second hair Unit is sent, wherein:
First receiving unit, for receiving test case;
First resolution unit, for being parsed to the test case, by the test case resolve to Few a control instruction and interactive configuration information corresponding with each control instruction;
First transmitting element, for by least one control instruction respectively to corresponding simulation test equipment Communication port port numbers send;
Second receiving unit, the port numbers for receiving the communication port from the corresponding simulation test equipment The request message of transmission;
Second resolution unit, for parsing the request message;
Generation unit, it is corresponding for the analysis result according to the request message, and the request message The interactive configuration information of control instruction, generates the response message of the request message;
Second transmitting element, for by communication port from the response message to corresponding simulation test equipment Port numbers send.
8. test platform according to claim 7, it is characterised in that the test platform also includes: Unit and dispensing unit are set up, wherein:
Unit is set up, for setting up the communication port between the test platform and simulation test equipment;
Dispensing unit, the port numbers configuration for actually externally being used according to the simulation test equipment is set up Communication port port numbers.
9. test platform according to claim 7, it is characterised in that the test platform also includes: Recording unit and output unit, wherein:
Recording unit, for request message, the request message that the port numbers of each communication port send Analysis result and to corresponding communication port port numbers send request message;
Output unit, the record result for exporting the recording unit.
10. test platform according to claim 7, it is characterised in that the test platform by Configuration testing environment on electronic equipment and formed.
11. a kind of simulation test equipments, it is characterised in that the simulation test equipment includes:First receives Unit, generation unit, transmitting element and the second receiving unit, wherein:
First receiving unit, the control instruction for receiving test platform transmission;
Generation unit, for generating corresponding request message according to the control instruction;
Transmitting element, for the request message to be sent to the test platform;
Second receiving unit, disappears for receiving the corresponding response of the request message that the test platform sends Breath.
12. simulation test equipments according to claim 11, it is characterised in that the simulation test sets It is standby also to include:Unit and dispensing unit are set up, wherein:
Unit is set up, for setting up the communication port between the simulation test equipment and the test platform;
Dispensing unit, the port numbers configuration for actually externally being used according to the simulation test equipment is set up Communication port port numbers.
13. simulation test equipment according to claim 11 or 12, it is characterised in that the simulation Test equipment is formed by the running environment of configuration testing equipment on an electronic device;
The electronic equipment can form more than one simulation test equipment.
CN201511026535.7A 2015-12-30 2015-12-30 The method of testing and test platform of test case, simulation test equipment Pending CN106936658A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201511026535.7A CN106936658A (en) 2015-12-30 2015-12-30 The method of testing and test platform of test case, simulation test equipment
PCT/CN2016/097591 WO2017113848A1 (en) 2015-12-30 2016-08-31 Testing method, testing platform and simulated testing device for test case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511026535.7A CN106936658A (en) 2015-12-30 2015-12-30 The method of testing and test platform of test case, simulation test equipment

Publications (1)

Publication Number Publication Date
CN106936658A true CN106936658A (en) 2017-07-07

Family

ID=59224515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511026535.7A Pending CN106936658A (en) 2015-12-30 2015-12-30 The method of testing and test platform of test case, simulation test equipment

Country Status (2)

Country Link
CN (1) CN106936658A (en)
WO (1) WO2017113848A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815106A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 The interactive function test method and device of information release platform
CN110837012A (en) * 2019-10-31 2020-02-25 阳光电源股份有限公司 Inverter testing method, agent actuator, testing platform and system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110895507B (en) * 2018-09-13 2023-10-20 杭州海康威视系统技术有限公司 Simulation test method and device, simulation server and storage medium
CN112333019B (en) * 2020-10-30 2022-08-16 展讯半导体(成都)有限公司 Router configuration and test method and system and readable storage medium
CN112636894B (en) * 2020-12-28 2024-05-21 联创汽车电子有限公司 ECU communication module testing method, testing equipment and storage medium based on time parameters

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976219A (en) * 2010-08-19 2011-02-16 北京星网锐捷网络技术有限公司 Method and system for debugging automatic testing script and agent device
WO2012026881A1 (en) * 2010-08-27 2012-03-01 Patni Computer Systems Ltd A method of compliance testing
US20140177459A1 (en) * 2012-12-21 2014-06-26 Apple Inc. Methods and apparatus for rapid and cost effective testing of wireless systems
CN103051500B (en) * 2013-01-04 2015-09-09 北京邮电大学 A kind of method of testing of service network system and system
CN103412817B (en) * 2013-08-14 2016-05-25 迈普通信技术股份有限公司 Automatic test script Off Line Debugging Method and system
CN103684912B (en) * 2013-12-06 2017-05-24 重庆邮电大学 Sensor network safety testing method and system
CN104516818B (en) * 2014-12-29 2017-08-22 北京四方继保自动化股份有限公司 The automatization test system and its method of compiler a kind of software suitable for Logical Configuration
CN104618192B (en) * 2015-02-12 2020-08-21 网神信息技术(北京)股份有限公司 Method and device for testing database audit equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815106A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 The interactive function test method and device of information release platform
CN109815106B (en) * 2017-11-21 2021-08-10 腾讯科技(深圳)有限公司 Interactive function testing method and device of information delivery platform
CN110837012A (en) * 2019-10-31 2020-02-25 阳光电源股份有限公司 Inverter testing method, agent actuator, testing platform and system

Also Published As

Publication number Publication date
WO2017113848A1 (en) 2017-07-06

Similar Documents

Publication Publication Date Title
CN108400908B (en) Automatic checking and accepting method for monitoring information of transformer substation
CN106936658A (en) The method of testing and test platform of test case, simulation test equipment
CN101847118B (en) Automatic test system
CN101136790A (en) Cluster managerial automatization test system and method of ethernet switchboard
CN106658545A (en) Test method, mobile terminal and server
EP2958358A1 (en) System for testing base station
CN110601907B (en) Large-scale networking simulation test method, device and system for satellite communication system
CN102098702B (en) Performance testing system, method and equipment
CN106411637A (en) Internet-of-things device scenario testing method
CN103023708A (en) Method and system for testing communication protocol interface
CN104008055B (en) The method of software test, equipment and system
CN114707236A (en) Model-based virtual-real combined simulation test method
CN110989547A (en) Detection method and system for intelligent substation one-key sequence control system
CN107786671A (en) A kind of power equipment remote test system
CN105471677A (en) Testing system
CN113055101B (en) 3-frequency MESH product performance test system and test method
CN100546261C (en) The method and system of Wireless LAN testing
CN106301446A (en) Tactical radio set networking debugging and training platform
CN205304831U (en) Testing system
CN101207525B (en) System and apparatus for testing wireless network controller signaling processing module
CN112532330A (en) Interference simulation system, method and device, interference test system, method and device
CN102420722A (en) Comprehensive networking automation testing method and system
CN105930295B (en) A kind of method and device of secondary equipment of intelligent converting station plug and play
CN108089986A (en) A kind of version updating test method and system based on robot
CN114461337A (en) Cloud simulation system and method, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170707