CN110347584A - Method for test adjusting, device, electronic equipment and the medium of credit card strategy packet - Google Patents
Method for test adjusting, device, electronic equipment and the medium of credit card strategy packet Download PDFInfo
- Publication number
- CN110347584A CN110347584A CN201910447675.3A CN201910447675A CN110347584A CN 110347584 A CN110347584 A CN 110347584A CN 201910447675 A CN201910447675 A CN 201910447675A CN 110347584 A CN110347584 A CN 110347584A
- Authority
- CN
- China
- Prior art keywords
- strategy
- packet
- test
- target detection
- strategy packet
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 470
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000001514 detection method Methods 0.000 claims abstract description 155
- 230000001360 synchronised effect Effects 0.000 claims abstract description 18
- 230000015654 memory Effects 0.000 claims description 27
- 230000008569 process Effects 0.000 claims description 17
- 238000012216 screening Methods 0.000 claims description 10
- 238000001914 filtration Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 239000012141 concentrate Substances 0.000 claims description 5
- 238000013507 mapping Methods 0.000 claims 1
- 230000006870 function Effects 0.000 description 28
- 238000004519 manufacturing process Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 235000013399 edible fruits Nutrition 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 101100315736 Ustilago maydis (strain 521 / FGSC 9021) uat1 gene Proteins 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 4
- 238000013178 mathematical model Methods 0.000 description 4
- 230000009467 reduction Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011835 investigation Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000013522 software testing Methods 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 229910052799 carbon Inorganic materials 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
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)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of method for test adjusting of credit card strategy packet, comprising: when having detected strategy and wrapping biography, generation strategy packet upload request;Identify the type of the strategy packet;The candidate testing service device of the corresponding strategy packet is filtered out from the multiple testing service device;Filter out the target detection server configured with target detection environment;The strategy packet is synchronized in the target detection server;When determining that the target detection server has successfully loaded the strategy packet, the target detection set of uses case of the corresponding strategy packet is filtered out;It controls the target detection server and the strategy packet is tested according to the target detection set of uses case;Test result is sent to target user.The present invention also provides testing and debugging device, electronic equipment and the storage mediums of a kind of credit card strategy packet.The present invention can test strategy packet according to the corresponding test environment of tactful packet adjust automatically and test use cases, and according to test environment adjusted and test use cases.
Description
Technical field
The present invention relates to automatic test technology fields, and in particular to a kind of method for test adjusting of credit card strategy packet, dress
It sets, electronic equipment and medium.
Background technique
Today that finance is grown rapidly in internet, new financial field internet product emerges one after another, for example, credit card
Using great aspect people's lives.In order to credit card applications can function, in terms of meet the need of user
It asks, it is ensured that correct, the even running of credit card applications, developers generally require for credit card applications to be deployed in and take comprising more
It is engaged on the complication system of device, it is comprehensively tested very much.
When due to the every increase new function of credit card applications or having new version, the adjustable strategies packet of adaptability is required
Configuration information, and to it is adjusted strategy packet configuration information test, come ensure the increased new function of credit card or
The validity of the new version of person.
However, different strategy packets needs different test environment and different test use cases, often there is new strategy
Packet, the primary new test environment of configuration and acquisition test use cases, are a quite cumbersome processes.Thus it is necessary to provide one
The testing scheme of kind automation can test environment and test use cases according to tactful packet adjust automatically.
Summary of the invention
In view of the foregoing, it is necessary to propose the method for test adjusting of credit card strategy packet a kind of, device, electronic equipment and
Medium, can be according to the corresponding test environment of tactful packet adjust automatically and test use cases, and according to test environment adjusted
And test use cases test strategy packet.
The first aspect of the present invention provides a kind of method for test adjusting of credit card strategy packet, is applied in electronic equipment,
The electronic equipment is connect with multiple testing service devices, which comprises
When having detected strategy and wrapping biography, generation strategy packet upload request, it includes the plan that the strategy, which wraps biography request,
Slightly wrap and correspond to the target detection environment of the strategy packet;
Identify the type of the strategy packet in the tactful packet upload request;
According to the corresponding relationship between the type of preset strategy packet and testing service device, from the multiple testing service device
Filter out the candidate testing service device of the corresponding strategy packet;
The target detection server configured with the target detection environment is filtered out from the candidate testing service device;
The strategy packet is synchronized in the target detection server;
Judge whether the target detection server successfully loads the strategy packet;
When determining that the target detection server has successfully loaded the strategy packet, used from pre-stored multiple tests
Example concentrates the target detection set of uses case for filtering out the corresponding strategy packet;
It controls the target detection server and the strategy packet is tested according to the target detection set of uses case;
Test result is sent to target user.
According to a preferred embodiment of the present invention, it is surveyed in the control target detection server according to the target
After examination set of uses case tests the strategy packet, the method also includes:
Obtain the test result of every test case in the target detection set of uses case;
Judge the test result of every test case whether all to be successfully tested;
When the test result for determining every test case is all to be successfully tested, the test knot being successfully tested is exported
Fruit;
When the test result for determining every test case is not all to be successfully tested, the test knot of test crash is exported
Fruit.
According to a preferred embodiment of the present invention, described when having detected strategy and wrapping biography, generation strategy is wrapped biography and is asked
It asks and includes:
When having detected strategy and wrapping biography, show that multiple test environment option lists, each test environment option arrange
The prompt information of the packet name of the strategy packet of test environment option and the corresponding test environment is shown on table;
It detects when receiving selected operation on the test environment option list, test environment option column that will be chosen
Target detection environment of the test environment as the strategy packet uploaded in table;
According to strategy packet upload request described in the strategy packet uploaded and the target detection environment generation.
According to a preferred embodiment of the present invention, the strategy packet is being synchronized to it in the target detection server
Afterwards, the method also includes:
Judge whether be stored with tactful packet under the predetermined directory in the target detection server;
When determining that being stored with strategy under the predetermined directory wraps, the stored strategy packet is backed up;
After the stored strategy packet backup is completed, delete operation is carried out to the stored strategy packet;
Strategy packet in the tactful packet upload request is stored under the predetermined directory.
According to a preferred embodiment of the present invention, described to judge the target detection server whether successfully described in load
Strategy includes:
Receive the loading result that the target detection server returns;
When the loading result is the first result, determine that the target detection server successfully loads the strategy
Packet;
When the loading result is the second result, determine that the target detection server loads the strategy not successfully
Packet.
According to a preferred embodiment of the present invention, it is surveyed by the target detection server according to the target described
When examination set of uses case tests the strategy packet, the method also includes:
Whether detecting test process interrupts;
When the test process interrupts, the mail of default warning information is sent to tester.
According to a preferred embodiment of the present invention, it is described output test results to target user after, the method
Further include:
The strategy packet under the predetermined directory is deleted;
The strategy packet backed up is restored under the predetermined directory and is tested.
The second aspect of the present invention provides a kind of testing and debugging device of credit card strategy packet, runs on automatically testing platform
In, described device includes:
Generation module, when wrapping biography for having detected strategy, generation strategy packet upload request, the strategy is wrapped biography and is asked
Seek the target detection environment including the strategy packet and the corresponding strategy packet;
Identification module, the type that the strategy in the tactful packet upload request wraps for identification;
Screening module, for the corresponding relationship between the type and testing service device according to preset strategy packet, from described more
The candidate testing service device of the corresponding strategy packet is filtered out in a testing service device;
The screening module is also used to filter out from the candidate testing service device configured with the target detection environment
Target detection server;
Synchronization module, for the strategy packet to be synchronized in the target detection server;
Judgment module, for judging whether the strategy packet loads success;
The screening module, be also used to when the judgment module determine the target detection server successfully load described in
When strategy packet, the target detection set of uses case for filtering out the corresponding strategy packet is concentrated from pre-stored multiple test cases;
Test module wraps the strategy according to the target detection set of uses case for controlling the target detection server
It is tested;
Sending module, for sending test result to target user.
The third aspect of the present invention provides a kind of electronic equipment, and the electronic equipment includes processor, and the processor is used
The method for test adjusting of the credit card strategy packet is realized when executing the computer program stored in memory.
The fourth aspect of the present invention provides a kind of computer readable storage medium, deposits on the computer readable storage medium
Computer program is contained, the computer program realizes the testing and debugging side of the credit card strategy packet when being executed by processor
Method.
In conclusion the method for test adjusting of credit card strategy packet of the present invention, device, electronic equipment and storage are situated between
Matter, when having detected strategy and wrapping biography, generation strategy packet upload request;Then the type of the strategy packet is identified;Then it sieves
Select the candidate testing service device of the corresponding strategy packet;The target detection service configured with the test environment is filtered out again
Device;The strategy packet is synchronized in the target detection server;And when the determining target detection server has successfully added
When carrying the strategy packet, the target detection use-case for filtering out the corresponding strategy packet is concentrated from pre-stored multiple test cases
Collection;It controls the target detection server and the strategy packet is tested according to the target detection set of uses case;It will finally survey
Test result is sent to target user.The present invention can be according to the corresponding testing service device of tactful packet adjust automatically uploaded and survey
Set of uses case is tried, and validity test is carried out to the strategy packet uploaded according to testing service device adjusted and test use cases;
Secondly, using the adjustment mode of automatic test, enable to user once the configuration information of strategy packet is modified or
After person's adjustment, without notifying tester to test, modification or strategy adjusted is wrapped and pass to automatic test and put down
In platform, then according to the test result received it can be learnt that whether modification or strategy packet adjusted are effective;In addition, entire
The process of testing and debugging is participated in without tester, to reduce the communication of user and tester and coordinate link, is reduced
Communication cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow chart of the method for test adjusting for the credit card strategy packet that the embodiment of the present invention one provides.
Fig. 2 is the structure chart of the testing and debugging device of credit card strategy packet provided by Embodiment 2 of the present invention.
Fig. 3 is the structural schematic diagram for the electronic equipment that the embodiment of the present invention three provides.
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, the embodiment of the present invention and embodiment
In feature can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment one
Fig. 1 is the flow chart of the method for test adjusting for the credit card strategy packet that the embodiment of the present invention one provides.
In the present embodiment, the method for test adjusting of the credit card strategy packet can be applied in electronic equipment, for
It needs to carry out the electronic equipment of the testing and debugging of credit card strategy packet, can directly integrate method of the invention on an electronic device
The function of the testing and debugging of provided credit card strategy packet, or with Software Development Kit (Software
Development Kit, SKD) form operation in the electronic device.
In order to which technical solution of the present invention is more clearly understood, relevant technical term under first briefly introducing:
Test environment: server hardware, software, the network equipment, history necessary to referring to complete Experience of Software Testing Work
The general name of data.
Production environment: the environment finally used when application program is online, including server hardware, software, the network equipment etc..
The embodiment of the present invention one provides a kind of method for test adjusting of credit card strategy packet, is applied in electronic equipment, institute
It states and automatically testing platform is installed in electronic equipment, the electronic equipment connects multiple testing service devices, each test clothes
It is engaged in device configured with test environment, different testing service devices can be configured with identical test environment, can also configure difference
Test environment.
As shown in Figure 1, the method for test adjusting of the credit card strategy packet specifically includes following steps, according to different need
It asks, the sequence of step can change in the flow chart, certain to can be omitted.
S11: when having detected strategy and wrapping biography, generation strategy packet upload request, it includes institute that the strategy, which wraps biography request,
State the target detection environment of strategy packet and the corresponding strategy packet.
In order to ensure subsequent application program can operate normally in production environment, not only to ensure to take under the test environment
Business the device application program or operating system tested, with answering on the server that operates under corresponding production environment
It is identical with program or operating system, it should also ensure that the validity of the strategy packet under test environment.When existing credit card applications
Function increase require to modify or reconfigure tactful packet when perhaps having modified perhaps the credit card applications for having new version.
When the strategy packet is effective in testing environment, that is, can be applied in production environment.Therefore, in order to guarantee in production environment
The validity of strategy packet needs to verify the validity of strategy packet in test environment.Required for different strategy packets
It tests environment and test use cases is differentiated.The test environment and test use cases adapted to is selected, is conducive to improve test
The accuracy of the validity test of strategy packet under environment.The credit card applications refer to the application journey for handling specific business
Sequence.
The interface for uploading strategy packet is provided in the present embodiment, on test platform, user can pass through the upload strategy
The interface of packet uploads strategy packet.
The user refers to business side personnel, and business side refers to the manager of credit card applications.
The strategy packet in the present embodiment includes a series of rule set, business scenario etc..The rule set refers to pair
Answer the complicated mathematical model and calculation formula etc. of business scenario.It can be right in conjunction with these complicated mathematical models and calculation formula
It send tactful bag parameter to be deduced and converted, finally exports result.
Preferably, described when having detected strategy and wrapping biography, generation strategy wraps biography request and includes:
When having detected strategy and wrapping biography, show that multiple test environment option lists, each test environment option arrange
The prompt information of the packet name of the strategy packet of test environment option and the corresponding test environment is shown on table;
It detects when receiving selected operation on the test environment option list, test environment option column that will be chosen
Target detection environment of the test environment as the strategy packet uploaded in table;
According to strategy packet upload request described in the strategy packet uploaded and the target detection environment generation.
In the present embodiment, since the configuration information of strategy packet is adjusted and is modified according to credit card applications by user
, solution slightly wraps more familiar, and user is more clearer than tester to know which test environment strategy packet operates in
Under more preferably, therefore can allow user independently select test environment, test effect is more preferably.
Automatically testing platform shows the confessions of multiple test environment option lists when detecting user and uploading strategy packet
User selects test environment.When not knowing how to select suitably to test environment in order to avoid user, multiple tests can be being shown
When environment option list, the prompt information of the packet name of the strategy packet of test environment option and corresponding test environment is shown, also to mention
Show which type of which type of strategy packet of user is suitble to test environment, user can easily select preferably according to prompt information
Test environment.It wraps, can also independently select pair that is, user not only can upload new strategy by uploading the interface of strategy packet
Test environment when the strategy packet is tested.It, can be according to the strategy of user's upload when user has selected test environment
Packet and selected test environment generation strategy packet upload request.The test environment that user selectes is referred to as target detection environment.
The strategy of generation wraps the target detection environment for passing that request includes the strategy packet and the corresponding strategy packet.
S12: the type of the strategy packet in the identification tactful packet upload request.
Strategy packet in the present embodiment is divided into three categories type, for example, online strategy packet, batch strategy packet and C batch strategy
Packet.It wherein, include multiple strategy packets under every big type of policy packet, each corresponding test scene of strategy packet, each checkout area
Scape corresponds to a specific function, and the function of different test scenes is different, and the packet name of different strategy packets is different.According to described
The packet name of strategy packet in tactful packet upload request is that may recognize that type belonging to the strategy packet.
S13: according to the corresponding relationship between the type of preset strategy packet and testing service device, from the multiple testing service
The candidate testing service device of the corresponding strategy packet is filtered out in device.
In the present embodiment, automatically testing platform is previously provided with the corresponding pass between the type and testing service device of strategy packet
System.
Automatically testing platform can first identify the packet name of the strategy packet, according to the packet name identification of the strategy packet
The type of strategy packet filters out corresponding uploaded strategy packet finally according to the corresponding relationship from multiple testing service devices
Testing service device, since the testing service device of type of the correspondence strategy packet is possible to be tests that are multiple, being filtered out
Different test environment is configured in server, thus first using the testing service device filtered out as candidate testing service device.
S14: the target detection service configured with the target detection environment is filtered out from the candidate testing service device
Device.
In the present embodiment, configured with test environment in each testing service device, different testing service devices configures different
Environment is tested, an identical test environment can also be configured for multiple testing service devices.Different testing service device correspondences are set
It is equipped with different storage catalogues, the storage catalogue is used to store the strategy packet of pending test.
Illustratively, it is assumed that there are three testing service device, configured with environment UAT1 is tested in testing service device A, test is taken
The catalogue one of the strategy packet for storing pending test is provided in business device A;Configured with test environment in testing service device B
The catalogue two of the strategy packet for storing pending test is provided in UAT2, testing service device B;It is configured in testing service device C
There is the catalogue three that the strategy packet for storing pending test is provided in test environment UAT1, testing service device C.
The candidate test of the type of corresponding uploaded strategy packet is filtered out from multiple testing service devices by first time
Server, then the test environment configured in the multiple candidate testing service device is obtained, by the survey of multiple candidate testing service devices
Test ring border is matched with the target detection environment in the tactful packet upload request, so that target detection server is filtered out,
It is subsequent filter out to wrap strategy after suitable test use cases again carry out validity test.
S15: the strategy packet is synchronized in the target detection server.
It, will be in the tactful packet upload request after test platform filters out target detection server in the present embodiment
Strategy packet is synchronized in target detection server.
S16: judge whether the target detection server successfully loads the strategy packet.
In the present embodiment, after target detection server receives the strategy packet of automatically testing platform transmission, first countermeasure is needed
Slightly packet is loaded, and the backward automatically testing platform of load completion, which returns, loads successful information.
Preferably, described to judge whether the target detection server successfully loads the strategy and include:
Receive the loading result that the target detection server returns;
When the loading result is the first result, determine that the target detection server successfully loads the strategy
Packet;
When the loading result is the second result, determine that the target detection server loads the strategy not successfully
Packet.
In the present embodiment, automatically testing platform receives the loading result that target detection server is tired of back, the loading result
Including the first result and second as a result, first result is to show that the target detection server successfully loads the plan
It slightly wraps, second result is to show that the target detection server loads the strategy packet not successfully.
S17: when determining that the target detection server has successfully loaded the strategy packet, from pre-stored multiple surveys
Example on probation concentrates the target detection set of uses case for filtering out the corresponding strategy packet.
Multiple test use cases are stored in the present embodiment, in automatically testing platform, it includes a plurality of survey that test case, which is concentrated,
Example on probation, different test use cases are used to carry out the test of different function.Strategy is also previously provided in the test platform
The type and the direct corresponding relationship of test use cases of packet, after target detection server successfully completes the load of strategy packet,
Automatically testing platform filters out the test use cases of the corresponding strategy packet.
S18: it controls the target detection server and the strategy packet is tested according to the target detection set of uses case.
In the present embodiment, after automatically testing platform filters out the test use cases of the corresponding strategy packet, target is controlled
Every test case that testing service device is concentrated using filtered out test case tests the strategy packet, with test
The validity of the strategy packet.
If test result is when being successfully tested, to show that the strategy is surrounded by effect;If test result is test crash,
Show that the strategy packet is invalid.
S19: test result is sent to target user.
In the present embodiment, after testing completion, test result is sent to target user.Target user ties according to test
Fruit can determine whether the strategy packet is effective, will be used in production environment by the effective strategy packet of test.
Further, after the strategy packet is synchronized in the target detection server, the method also includes:
Judge whether be stored with tactful packet under the predetermined directory in the target detection server;
When determining that being stored with strategy under the predetermined directory wraps, the stored strategy packet is backed up;
After the stored strategy packet backup is completed, delete operation is carried out to the stored strategy packet;
Strategy packet in the tactful packet upload request is stored under the predetermined directory.
In the present embodiment, in the target detection that the strategy packet in the upload request is synchronized to the corresponding test environment
After in server, need first to judge whether be stored with tactful packet under the predetermined directory in target detection server.If pre-
If there is no any strategy packet under catalogue, then the strategy packet in the upload request directly can be stored in the predetermined directory
Under.And if be previously stored under predetermined directory strategy packet when, and due under the same catalogue can not simultaneously storage there are two
The strategy packet of identical packet name then needs to be deleted stored strategy packet to store the new strategy packet (upload request
In strategy packet).Before deleting stored strategy packet, back-up processing is carried out, first convenient for subsequent to the upload
Strategy packet in request completes test and then will continue to test after the strategy packet reduction that backed up.
Further, the target detection server is controlled according to the target detection set of uses case to the strategy described
After packet is tested, the method also includes:
Obtain the test result of every test case in the target detection set of uses case;
Judge the test result of every test case whether all to be successfully tested;
When the test result for determining every test case is all to be successfully tested, the test knot being successfully tested is exported
Fruit;
When the test result for determining every test case is not all to be successfully tested, the test knot of test crash is exported
Fruit.
In the present embodiment, in order to ensure credit card applications are capable of the operation of normal table under production environment, by credit card
Before formally putting into operation, needs to carry out stringent test to the validity of strategy packet in test environment, only work as test wrapper
Strategy in border is surrounded by effect, and can ensure entirely to test goes on smoothly.Therefore, plan is being carried out using corresponding test use cases
When the validity test slightly wrapped, every test case is needed to can be transferred through, can determine that strategy packet is effective;Otherwise, when having
One test case not over when, it is believed that strategy packet is invalid.Ensure that the validity of strategy packet reaches very, in test environment
The performance of lower test credit card applications is just significant.
Further, described by the target detection server according to the target detection set of uses case to the strategy
When packet is tested, the method also includes:
Whether detecting test process interrupts;
When the test process interrupts, the mail of default warning information is sent to tester.
In the present embodiment, if the test process is interrupted, i.e., test process be stopped, and illustrate there is abnormal generation,
Alarm email need to be sent to tester, notify tester to carry out the reason of investigation exact p-value fails with this.
Further, it is described output test results to target user after, the method also includes:
The strategy packet under the predetermined directory is deleted;
The strategy packet backed up is restored under the predetermined directory and is tested.
In the present embodiment, after monitoring that target detection server once completes the validity test of the strategy packet,
The strategy packet under the predetermined directory in target detection server is deleted immediately, to empty the predetermined directory, and
The strategy packet originally backed up is restored under the predetermined directory, the strategy packet after reduction is continued to test, avoids testing
Server is in idle condition, and wastes the resource of testing service device.
In conclusion the method for test adjusting of credit card strategy packet provided in an embodiment of the present invention, when having detected strategy
When wrapping biography, generation strategy packet upload request;Then the type of the strategy packet is identified;Then the corresponding strategy packet is filtered out
Candidate testing service device;The target detection server configured with the test environment is filtered out again;The strategy packet is synchronized
To in the target detection server;And when determining that the target detection server has successfully loaded the strategy packet, from pre-
The multiple test cases first stored concentrate the target detection set of uses case for filtering out the corresponding strategy packet;Control the target detection
Server tests the strategy packet according to the target detection set of uses case;Test result is finally sent to target to use
Family.The present invention can be according to the corresponding testing service device of tactful packet adjust automatically and test use cases uploaded, and according to tune
Testing service device and test use cases after whole carry out validity test to the strategy packet uploaded;Secondly, being surveyed using automation
The adjustment mode of examination enables to user after the configuration information to strategy packet is modified or adjusts, without notice
Tester tests, and modification or strategy adjusted are wrapped and passed in automatic test platform, then according to reception
The test result arrived is it can be learnt that whether modification or strategy packet adjusted are effective;In addition, the process of entire testing and debugging without
It needs tester to participate in, to reduce the communication of user and tester and coordinate link, reduces communication cost.
Embodiment two
Fig. 2 is the structure chart of the testing and debugging device of credit card strategy packet provided by Embodiment 2 of the present invention.
In some embodiments, the testing and debugging device 20 of the credit card strategy packet may include multiple by program code
Functional module composed by section.The program code of each program segment in the testing and debugging device 20 of the credit card strategy packet can
To be stored in the memory of electronic equipment, and as performed by least one processor, with execution (being detailed in Fig. 1 description) credit card
The function of the testing and debugging of strategy packet.
In order to which technical solution of the present invention is more clearly understood, relevant technical term under first briefly introducing:
Test environment: server hardware, software, the network equipment, history necessary to referring to complete Experience of Software Testing Work
The general name of data.
Production environment: the environment finally used when application program is online, including server hardware, software, the network equipment etc..
In the present embodiment, the testing and debugging device 20 of the credit card strategy packet is run in automatically testing platform, described
Automatically testing platform connects multiple testing service devices, and test environment is configured in the testing service device.The credit card strategy
The testing and debugging device 20 of packet, the function according to performed by it can be divided into multiple functional modules.The functional module can
To include: generation module 201, identification module 202, screening module 203, synchronization module 204, judgment module 205, test module
206, sending module 207, backup module 208, removing module 209 and memory module 210.The so-called module of the present invention refers to one kind
Performed by least one processor and the series of computation machine program segment of fixed function can be completed, be stored in
In reservoir.In the present embodiment, it will be described in detail in subsequent embodiment about the function of each module.
Generation module 201, when wrapping biography for having detected strategy, generation strategy packet upload request, the strategy is wrapped
Pass the target detection environment that request includes the strategy packet and the corresponding strategy packet.
In order to ensure subsequent application program can operate normally in production environment, not only to ensure to take under the test environment
Business the device application program or operating system tested, with answering on the server that operates under corresponding production environment
It is identical with program or operating system, it should also ensure that the validity of the strategy packet under test environment.When existing credit card applications
Function increase require to modify or reconfigure tactful packet when perhaps having modified perhaps the credit card applications for having new version.
When the strategy packet is effective in testing environment, that is, can be applied in production environment.Therefore, in order to guarantee in production environment
The validity of strategy packet needs to verify the validity of strategy packet in test environment.Required for different strategy packets
It tests environment and test use cases is differentiated.The test environment and test use cases adapted to is selected, is conducive to improve test
The accuracy of the validity test of strategy packet under environment.The credit card applications refer to the application journey for handling specific business
Sequence.
The interface for uploading strategy packet is provided in the present embodiment, on test platform, user can pass through the upload strategy
The interface of packet uploads strategy packet.
The user refers to business side personnel, and business side refers to the manager of credit card applications.
The strategy packet in the present embodiment includes a series of rule set, business scenario etc..The rule set refers to pair
Answer the complicated mathematical model and calculation formula etc. of business scenario.It can be right in conjunction with these complicated mathematical models and calculation formula
It send tactful bag parameter to be deduced and converted, finally exports result.
Preferably, when the generation module 201 has detected strategy and wraps biography, generation strategy wraps biography request and includes:
When having detected strategy and wrapping biography, show that multiple test environment option lists, each test environment option arrange
The prompt information of the packet name of the strategy packet of test environment option and the corresponding test environment is shown on table;
It detects when receiving selected operation on the test environment option list, test environment option column that will be chosen
Target detection environment of the test environment as the strategy packet uploaded in table;
According to strategy packet upload request described in the strategy packet uploaded and the target detection environment generation.
In the present embodiment, since the configuration information of strategy packet is adjusted and is modified according to credit card applications by user
, solution slightly wraps more familiar, and user is more clearer than tester to know which test environment strategy packet operates in
Under more preferably, therefore can allow user independently select test environment, test effect is more preferably.
Automatically testing platform shows the confessions of multiple test environment option lists when detecting user and uploading strategy packet
User selects test environment.When not knowing how to select suitably to test environment in order to avoid user, multiple tests can be being shown
When environment option list, the prompt information of the packet name of the strategy packet of test environment option and corresponding test environment is shown, also to mention
Show which type of which type of strategy packet of user is suitble to test environment, user can easily select preferably according to prompt information
Test environment.It wraps, can also independently select pair that is, user not only can upload new strategy by uploading the interface of strategy packet
Test environment when the strategy packet is tested.It, can be according to the strategy of user's upload when user has selected test environment
Packet and selected test environment generation strategy packet upload request.The test environment that user selectes is referred to as target detection environment.
The strategy of generation wraps the target detection environment for passing that request includes the strategy packet and the corresponding strategy packet.
Identification module 202, the type that the strategy in the tactful packet upload request wraps for identification.
Strategy packet in the present embodiment is divided into three categories type, for example, online strategy packet, batch strategy packet and C batch strategy
Packet.It wherein, include multiple strategy packets under every big type of policy packet, each corresponding test scene of strategy packet, each checkout area
Scape corresponds to a specific function, and the function of different test scenes is different, and the packet name of different strategy packets is different.According to described
The packet name of strategy packet in tactful packet upload request is that may recognize that type belonging to the strategy packet.
Screening module 203, for the corresponding relationship between the type and testing service device according to preset strategy packet, from described
The candidate testing service device of the corresponding strategy packet is filtered out in multiple testing service devices.
In the present embodiment, automatically testing platform is previously provided with the corresponding pass between the type and testing service device of strategy packet
System.
Automatically testing platform can first identify the packet name of the strategy packet, according to the packet name identification of the strategy packet
The type of strategy packet filters out corresponding uploaded strategy packet finally according to the corresponding relationship from multiple testing service devices
Testing service device, since the testing service device of type of the correspondence strategy packet is possible to be tests that are multiple, being filtered out
Different test environment is configured in server, thus first using the testing service device filtered out as candidate testing service device.
The screening module 203 is also used to filter out from the candidate testing service device configured with the target detection
The target detection server of environment.
In the present embodiment, configured with test environment in each testing service device, different testing service devices configures different
Environment is tested, an identical test environment can also be configured for multiple testing service devices.Different testing service device correspondences are set
It is equipped with different storage catalogues, the storage catalogue is used to store the strategy packet of pending test.
Illustratively, it is assumed that there are three testing service device, configured with environment UAT1 is tested in testing service device A, test is taken
The catalogue one of the strategy packet for storing pending test is provided in business device A;Configured with test environment in testing service device B
The catalogue two of the strategy packet for storing pending test is provided in UAT2, testing service device B;It is configured in testing service device C
There is the catalogue three that the strategy packet for storing pending test is provided in test environment UAT1, testing service device C.
The candidate test of the type of corresponding uploaded strategy packet is filtered out from multiple testing service devices by first time
Server, then the test environment configured in the multiple candidate testing service device is obtained, by the survey of multiple candidate testing service devices
Test ring border is matched with the target detection environment in the tactful packet upload request, so that target detection server is filtered out,
It is subsequent filter out to wrap strategy after suitable test use cases again carry out validity test.
Synchronization module 204, for the strategy packet to be synchronized in the target detection server.
It, will be in the tactful packet upload request after test platform filters out target detection server in the present embodiment
Strategy packet is synchronized in target detection server.
Judgment module 205, for judging whether the target detection server successfully loads the strategy packet.
In the present embodiment, after target detection server receives the strategy packet of automatically testing platform transmission, first countermeasure is needed
Slightly packet is loaded, and the backward automatically testing platform of load completion, which returns, loads successful information.
Preferably, the judgment module 205 judges whether the target detection server successfully loads the tactful packet
It includes:
Receive the loading result that the target detection server returns;
When the loading result is the first result, determine that the target detection server successfully loads the strategy
Packet;
When the loading result is the second result, determine that the target detection server loads the strategy not successfully
Packet.
In the present embodiment, automatically testing platform receives the loading result that target detection server is tired of back, the loading result
Including the first result and second as a result, first result is to show that the target detection server successfully loads the plan
It slightly wraps, second result is to show that the target detection server loads the strategy packet not successfully.
The screening module 203 is also used to determine that the target detection server has successfully added when the judgment module 205
When carrying the strategy packet, the target detection use-case for filtering out the corresponding strategy packet is concentrated from pre-stored multiple test cases
Collection.
Multiple test use cases are stored in the present embodiment, in automatically testing platform, it includes a plurality of survey that test case, which is concentrated,
Example on probation, different test use cases are used to carry out the test of different function.Strategy is also previously provided in the test platform
The type and the direct corresponding relationship of test use cases of packet, after target detection server successfully completes the load of strategy packet,
Automatically testing platform filters out the test use cases of the corresponding strategy packet.
Test module 206, for controlling the target detection server according to the target detection set of uses case to the plan
Slightly packet is tested.
In the present embodiment, after automatically testing platform filters out the test use cases of the corresponding strategy packet, target is controlled
Every test case that testing service device is concentrated using filtered out test case tests the strategy packet, with test
The validity of the strategy packet.
If test result is when being successfully tested, to show that the strategy is surrounded by effect;If test result is test crash,
Show that the strategy packet is invalid.
Sending module 207, for sending test result to target user.
In the present embodiment, after testing completion, test result is sent to target user.Target user ties according to test
Fruit can determine whether the strategy packet is effective, will be used in production environment by the effective strategy packet of test.
Further, after the strategy packet is synchronized in the target detection server, the judgment module
205, it is also used to judge whether be stored with tactful packet under the predetermined directory in the target detection server;
Backup module 208, for when the judgment module 205 determines and has been stored with strategy packet under the predetermined directory,
The stored strategy packet is backed up;
Removing module 209, for being wrapped to the stored strategy after the stored strategy packet backup is completed
Carry out delete operation;
Memory module 210, for the strategy packet in the tactful packet upload request to be stored under the predetermined directory.
In the present embodiment, in the target detection that the strategy packet in the upload request is synchronized to the corresponding test environment
After in server, need first to judge whether be stored with tactful packet under the predetermined directory in target detection server.If pre-
If there is no any strategy packet under catalogue, then the strategy packet in the upload request directly can be stored in the predetermined directory
Under.And if be previously stored under predetermined directory strategy packet when, and due under the same catalogue can not simultaneously storage there are two
The strategy packet of identical packet name then needs to be deleted stored strategy packet to store the new strategy packet (upload request
In strategy packet).Before deleting stored strategy packet, back-up processing is carried out, first convenient for subsequent to the upload
Strategy packet in request completes test and then will continue to test after the strategy packet reduction that backed up.
Further, described device further include:
Module is obtained, for controlling the target detection server according to the target detection set of uses case to described described
After strategy packet is tested, the test result of every test case in the target detection set of uses case is obtained;
Whether the judgment module is also used to judge the test result of every test case all to be successfully tested;
Output module, for determining that the test result of every test case is all to be successfully tested when the judgment module
When, export the test result being successfully tested;
The output module is also used to determine that the test result of every test case is not all when the judgment module
When being successfully tested, the test result of test crash is exported.
In the present embodiment, in order to ensure credit card applications are capable of the operation of normal table under production environment, by credit card
Before formally putting into operation, needs to carry out stringent test to the validity of strategy packet in test environment, only work as test wrapper
Strategy in border is surrounded by effect, and can ensure entirely to test goes on smoothly.Therefore, plan is being carried out using corresponding test use cases
When the validity test slightly wrapped, every test case is needed to can be transferred through, can determine that strategy packet is effective;Otherwise, when having
One test case not over when, it is believed that strategy packet is invalid.Ensure that the validity of strategy packet reaches very, in test environment
The performance of lower test credit card applications is just significant.
Further, described by the target detection server according to the target detection set of uses case to the strategy
When packet is tested, described device further include:
Detecting module, for detecting whether test process interrupts;
The sending module 207 is also used to when the test process interrupts, and sends the mail of default warning information
To tester.
In the present embodiment, if the test process is interrupted, i.e., test process be stopped, and illustrate there is abnormal generation,
Alarm email need to be sent to tester, notify tester to carry out the reason of investigation exact p-value fails with this.
Further, the removing module 209, be also used to it is described output test results to target user after, to institute
The strategy packet stated under predetermined directory is deleted;
The backup module 208, the strategy packet for being also used to be backed up, which is restored under the predetermined directory, to be tested.
In the present embodiment, after monitoring that target detection server once completes the validity test of the strategy packet,
The strategy packet under the predetermined directory in target detection server is deleted immediately, to empty the predetermined directory, and
The strategy packet originally backed up is restored under the predetermined directory, the strategy packet after reduction is continued to test, avoids testing
Server is in idle condition, and wastes the resource of testing service device.
In conclusion the testing and debugging device of credit card strategy packet provided in an embodiment of the present invention, when having detected strategy
When wrapping biography, generation strategy packet upload request;Then the type of the strategy packet is identified;Then the corresponding strategy packet is filtered out
Candidate testing service device;The target detection server configured with the test environment is filtered out again;The strategy packet is synchronized
To in the target detection server;And when determining that the target detection server has successfully loaded the strategy packet, from pre-
The multiple test cases first stored concentrate the target detection set of uses case for filtering out the corresponding strategy packet;Control the target detection
Server tests the strategy packet according to the target detection set of uses case;Test result is finally sent to target to use
Family.The present invention can be according to the corresponding testing service device of tactful packet adjust automatically and test use cases uploaded, and according to tune
Testing service device and test use cases after whole carry out validity test to the strategy packet uploaded;Secondly, being surveyed using automation
The adjustment mode of examination enables to user after the configuration information to strategy packet is modified or adjusts, without notice
Tester tests, and modification or strategy adjusted are wrapped and passed in automatic test platform, then according to reception
The test result arrived is it can be learnt that whether modification or strategy packet adjusted are effective;In addition, the process of entire testing and debugging without
It needs tester to participate in, to reduce the communication of user and tester and coordinate link, reduces communication cost.
Embodiment three
As shown in fig.3, the structural schematic diagram of the electronic equipment provided for the embodiment of the present invention three.Of the invention preferably real
It applies in example, the electronic equipment 3 includes memory 31, at least one processor 32, at least one communication bus 33 and transceiver
34。
It will be understood by a person skilled in the art that the structure of the electronic equipment shown in Fig. 3 does not constitute the embodiment of the present invention
Limit, either bus topology, be also possible to star structure, the electronic equipment 3 can also include than illustrate it is more or
Other less hardware perhaps software or different component layouts.
In some embodiments, the electronic equipment 3 can be according to the instruction for being previously set or storing, automatically including one kind
Carry out the electronic equipment of numerical value calculating and/or information processing, hardware include but is not limited to microprocessor, specific integrated circuit,
Programmable gate array, digital processing unit and embedded device etc..The electronic equipment 3 may also include customer equipment, the client
Equipment include but is not limited to any one can with client by the modes such as keyboard, mouse, remote controler, touch tablet or voice-operated device into
The electronic product of row human-computer interaction, for example, personal computer, tablet computer, smart phone, digital camera etc..
It should be noted that the electronic equipment 3 is only for example, other electronic products that are existing or being likely to occur from now on
It is such as adaptable to the present invention, should also be included within protection scope of the present invention, and is incorporated herein by reference.
In some embodiments, the memory 31 is used to store program code and various data, such as is mounted on described
The testing and debugging device 20 of credit card strategy packet in electronic equipment 3, and in the operational process of electronic equipment 3 realize high speed,
It is automatically completed the access of program or data.The memory 31 include read-only memory (Read-Only Memory, ROM),
Random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-Only
Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read-Only Memory,
EPROM), disposable programmable read-only memory (One-time Programmable Read-Only Memory, OTPROM), electricity
Sub- erasing type can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory,
EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, disk are deposited
Reservoir, magnetic tape storage or any other the computer-readable medium that can be used in carrying or storing data.
In some embodiments, at least one described processor 32 can be made of integrated circuit, such as can be by single
The integrated circuit of encapsulation is formed, and is also possible to be made of the integrated circuit that multiple identical functions or different function encapsulate, be wrapped
Include one or more central processing unit (Central Processing unit, CPU), microprocessor, digital processing chip,
The combination etc. of graphics processor and various control chips.At least one described processor 32 is the control core of the electronic equipment 3
The heart (Control Unit), using all parts of various interfaces and the entire electronic equipment 3 of connection, by running or executing
The program or module being stored in the memory 31, and the data being stored in the memory 31 are called, to execute
The various functions and processing data of electronic equipment 3, such as execute the function of the testing and debugging of credit card strategy packet.
In some embodiments, at least one communication bus 33 is arranged to realize the memory 31 and described
Connection communication between at least one processor 32 etc..
Although being not shown, the electronic equipment 3 can also include the power supply (such as battery) powered to all parts, according to
A preferred embodiment of the present invention, power supply can pass through electric power controller and at least one described 32 logic phase of processor
Even, to realize the functions such as management charging, electric discharge and power managed by electric power controller.Power supply can also include one
A or more than one direct current or AC power source, recharging device, power failure detection circuit, power adapter or inversion
The random components such as device, power supply status indicator.The electronic equipment 3 can also include multiple sensors, bluetooth module, Wi-Fi
Module etc., details are not described herein.
It should be appreciated that the embodiment is only purposes of discussion, do not limited by this structure in patent claim.
The above-mentioned integrated unit realized in the form of software function module, can store and computer-readable deposit at one
In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, electronic equipment or the network equipment etc.) or processor (processor) execute the present invention
The part of a embodiment the method.
In a further embodiment, in conjunction with Fig. 2, the electronic equipment 3 is can be performed at least one described processor 32
Operating device and the types of applications program of installation (the testing and debugging device 20 of credit card strategy packet as mentioned), program code
Deng for example, above-mentioned modules.
Program code is stored in the memory 31, and at least one described processor 32 can call the memory 31
The program code of middle storage is to execute relevant function.For example, modules described in Fig. 2 are stored in the memory 31
In program code, and as performed by least one described processor 32, to realize the function of the modules to reach
The purpose of the testing and debugging of credit card strategy packet.
In one embodiment of the invention, the memory 31 stores multiple instruction, the multiple instruction by it is described extremely
Few performed function to realize the testing and debugging of credit card strategy packet of a processor 32.
Specifically, at least one described processor 32 can refer to the corresponding implementation of Fig. 1 to the concrete methods of realizing of above-metioned instruction
The description of correlation step in example, this will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed device, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module
It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " is not excluded for other units or, odd number is not excluded for plural number.The multiple units stated in device claim
Or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to indicate name
Claim, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference
Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention
Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. a kind of method for test adjusting of credit card strategy packet is applied in electronic equipment, the electronic equipment and multiple tests
Server connection, which is characterized in that the described method includes:
When having detected strategy and wrapping biography, generation strategy packet upload request, it includes the strategy packet that the strategy, which wraps biography request,
And the target detection environment of the corresponding strategy packet;
Identify the type of the strategy packet in the tactful packet upload request;
According to the corresponding relationship between the type of preset strategy packet and testing service device, screened from the multiple testing service device
The candidate testing service device of the strategy packet is corresponded to out;
The target detection server configured with the target detection environment is filtered out from the candidate testing service device;
The strategy packet is synchronized in the target detection server;
Judge whether the target detection server successfully loads the strategy packet;
When determining that the target detection server has successfully loaded the strategy packet, from pre-stored multiple test use cases
In filter out the target detection set of uses case of the corresponding strategy packet;
It controls the target detection server and the strategy packet is tested according to the target detection set of uses case;
Test result is sent to target user.
2. the method as described in claim 1, which is characterized in that in the control target detection server according to the mesh
After mark test use cases test the strategy packet, the method also includes:
Obtain the test result of every test case in the target detection set of uses case;
Judge the test result of every test case whether all to be successfully tested;
When the test result for determining every test case is all to be successfully tested, the test result being successfully tested is exported;
When the test result for determining every test case is not all to be successfully tested, the test result of test crash is exported.
3. the method as described in claim 1, which is characterized in that described when having detected strategy and wrapping biography, generation strategy is wrapped
Passing request includes:
When having detected strategy and wrapping biography, multiple test environment option lists are shown, on each test environment option list
Show the prompt information of the packet name of the strategy packet of test environment option and the corresponding test environment;
It detects when receiving selected operation on the test environment option list, in test environment option list that will be chosen
Test environment as uploaded strategy packet target detection environment;
According to strategy packet upload request described in the strategy packet uploaded and the target detection environment generation.
4. the method as described in claim 1, which is characterized in that the strategy packet is being synchronized to the target detection server
In after, the method also includes:
Judge whether be stored with tactful packet under the predetermined directory in the target detection server;
When determining that being stored with strategy under the predetermined directory wraps, the stored strategy packet is backed up;
After the stored strategy packet backup is completed, delete operation is carried out to the stored strategy packet;
Strategy packet in the tactful packet upload request is stored under the predetermined directory.
5. the method as described in claim 1, which is characterized in that described to judge whether the target detection server successfully loads
The strategy includes:
Receive the loading result that the target detection server returns;
When the loading result is the first result, determine that the target detection server has successfully loaded the strategy packet;
When the loading result is the second result, determine that the target detection server loads the strategy packet not successfully.
6. the method as described in claim 1, which is characterized in that it is described by the target detection server according to the mesh
When mark test use cases test the strategy packet, the method also includes:
Whether detecting test process interrupts;
When the test process interrupts, the mail of default warning information is sent to tester.
7. the method as described in any one of claim 1 to 6, which is characterized in that output test results to target described
After user, the method also includes:
The strategy packet under the predetermined directory is deleted;
The strategy packet backed up is restored under the predetermined directory and is tested.
8. a kind of testing and debugging device of credit card strategy packet, runs in electronic equipment, the electronic equipment and multiple tests
Server connection, which is characterized in that described device includes:
Generation module, when wrapping biography for having detected strategy, generation strategy packet upload request, the strategy wraps biography request packet
Include the target detection environment of the strategy packet and the corresponding strategy packet;
Identification module, the type that the strategy in the tactful packet upload request wraps for identification;
Screening module, for the corresponding relationship between the type and testing service device according to preset strategy packet, from the multiple survey
The candidate testing service device of the corresponding strategy packet is filtered out in examination server;
The screening module is also used to filter out the mesh configured with the target detection environment from the candidate testing service device
Mapping tries server;
Synchronization module, for the strategy packet to be synchronized in the target detection server;
Judgment module, for judging whether the strategy packet loads success;
The screening module is also used to determine that the target detection server successfully loads the strategy when the judgment module
Bao Shi concentrates the target detection set of uses case for filtering out the corresponding strategy packet from pre-stored multiple test cases;
Test module carries out the strategy packet according to the target detection set of uses case for controlling the target detection server
Test;
Sending module, for sending test result to target user.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor, and the processor is for executing memory
The testing and debugging side of the credit card strategy packet as described in any one of claim 1 to 7 is realized when the computer program of middle storage
Method.
10. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium
It is, the credit card strategy packet as described in any one of claim 1 to 7 is realized when the computer program is executed by processor
Method for test adjusting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910447675.3A CN110347584B (en) | 2019-05-27 | 2019-05-27 | Method and device for testing and adjusting credit card policy package, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910447675.3A CN110347584B (en) | 2019-05-27 | 2019-05-27 | Method and device for testing and adjusting credit card policy package, electronic equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110347584A true CN110347584A (en) | 2019-10-18 |
CN110347584B CN110347584B (en) | 2023-11-07 |
Family
ID=68174001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910447675.3A Active CN110347584B (en) | 2019-05-27 | 2019-05-27 | Method and device for testing and adjusting credit card policy package, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110347584B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731748A (en) * | 2005-07-29 | 2006-02-08 | 杭州华为三康技术有限公司 | Testing system and method |
WO2011051132A1 (en) * | 2009-10-30 | 2011-05-05 | Bundesdruckerei Gmbh | Method for creating a website |
US20140359261A1 (en) * | 2013-05-31 | 2014-12-04 | Vordel Limited | Environmentalization technique for promotion of application programming interface (api) server in lifecycle succession of deployments |
US20150143341A1 (en) * | 2013-11-21 | 2015-05-21 | International Business Machines Corporation | Selective object testing in a client-server environment |
WO2018066040A1 (en) * | 2016-10-03 | 2018-04-12 | 株式会社日立製作所 | Management computer and test environment determination method |
-
2019
- 2019-05-27 CN CN201910447675.3A patent/CN110347584B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731748A (en) * | 2005-07-29 | 2006-02-08 | 杭州华为三康技术有限公司 | Testing system and method |
WO2011051132A1 (en) * | 2009-10-30 | 2011-05-05 | Bundesdruckerei Gmbh | Method for creating a website |
US20140359261A1 (en) * | 2013-05-31 | 2014-12-04 | Vordel Limited | Environmentalization technique for promotion of application programming interface (api) server in lifecycle succession of deployments |
CN105431823A (en) * | 2013-05-31 | 2016-03-23 | 沃德尔有限公司 | Environmentalization technique for promotion of application programming interface (api) server in lifecycle succession of deployments |
US20150143341A1 (en) * | 2013-11-21 | 2015-05-21 | International Business Machines Corporation | Selective object testing in a client-server environment |
WO2018066040A1 (en) * | 2016-10-03 | 2018-04-12 | 株式会社日立製作所 | Management computer and test environment determination method |
Also Published As
Publication number | Publication date |
---|---|
CN110347584B (en) | 2023-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105933137B (en) | A kind of method for managing resource, apparatus and system | |
CN108683516B (en) | Application instance upgrading method, device and system | |
CN110471834B (en) | Credit card simulation test method under multi-transaction channel and related equipment | |
CN111343004B (en) | Fabric network remote deployment method, device and system based on Docker | |
CN105009554B (en) | Detect intelligent terminal hardware whether operation exception method and intelligent terminal | |
CN111008026B (en) | Cluster management method, device and system | |
CN114880100A (en) | Container dynamic scheduling method and device, computer equipment and storage medium | |
CN110275992A (en) | Emergency processing method, device, server and computer readable storage medium | |
CN113312153A (en) | Cluster deployment method and device, electronic equipment and storage medium | |
CN112559329A (en) | Method and system for detecting energy controller system and software | |
CN109032320A (en) | Battery back unit test method and relevant device | |
CN108376110A (en) | A kind of automatic testing method, system and terminal device | |
CN110347584A (en) | Method for test adjusting, device, electronic equipment and the medium of credit card strategy packet | |
CN109462646A (en) | A kind of method and apparatus of exception response | |
CN113885971A (en) | State management method and device based on self-adaptive platform system | |
CN104581808B (en) | Test the method, device and mobile terminal of mobile network property | |
CN108319679B (en) | Method and device for generating primary key | |
CN107707398B (en) | Method and device for managing physical host in cloud computing system | |
CN102231684A (en) | Interface board state detection method, multi-core central processing unit, interface board and router | |
CN110096409A (en) | Abnormal alarm method, apparatus, monitoring device and computer readable storage medium | |
CN109144884A (en) | Program error localization method, device and computer readable storage medium | |
CN109840086A (en) | Program code acquisition methods and device, computer installation and readable storage medium storing program for executing | |
CN110348984A (en) | Credit card information automation input method and relevant device under different transaction channels | |
CN115102999A (en) | DevOps system, service providing method, storage medium, and electronic device | |
CN107168819A (en) | A kind of operating system method for restarting and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |