CN109582569A - Lending platforms test method, device, terminal device and readable storage medium storing program for executing - Google Patents

Lending platforms test method, device, terminal device and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109582569A
CN109582569A CN201811353486.1A CN201811353486A CN109582569A CN 109582569 A CN109582569 A CN 109582569A CN 201811353486 A CN201811353486 A CN 201811353486A CN 109582569 A CN109582569 A CN 109582569A
Authority
CN
China
Prior art keywords
test
capital
information
target
environment
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
CN201811353486.1A
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.)
Shenzhen Bai Qian Nationwide Financial Services Inc
Original Assignee
Shenzhen Bai Qian Nationwide Financial Services Inc
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 Shenzhen Bai Qian Nationwide Financial Services Inc filed Critical Shenzhen Bai Qian Nationwide Financial Services Inc
Priority to CN201811353486.1A priority Critical patent/CN109582569A/en
Publication of CN109582569A publication Critical patent/CN109582569A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention is suitable for software testing technology field, provide a kind of lending platforms test method, device, terminal device and readable storage medium storing program for executing, lending platforms test method includes receiving the test request that corresponding equipment is applied from credit, target capital corresponding with test request in the simulation test environment of capital is determined according to interface IP address information, and verification information is verified by target capital corresponding default verification information, if being verified, then tested in the simulation test environment of target capital according to testing requirement information, and processing result is sent to equipment.In the technical program, establish simulation test environment corresponding with capital, when carrying out software test, true capital's environment is replaced to test by the simulation test environment of foundation, alleviate dependence of the lending platforms to capital's system, test can be realized by internal joint debugging, shorten the testing time, accelerate the online progress of software.

Description

Lending platforms test method, device, terminal device and readable storage medium storing program for executing
Technical field
The invention belongs to software testing technology field more particularly to lending platforms test method, device, terminal devices and can Read storage medium.
Background technique
Help borrow platform be as a management platform for removing docking external all cash flows and information flow inside financing corporation, The channel for borrowing platform as docking external sources of finance side is helped, the point-to-point loan platform (person-to- of more families may be docked Person, P2P), trust fund, bank or other capital's platforms.Not with the continuous upgrading of software systems and application scenarios Disconnected variation needs to external sources of finance side's platform or loan platform is helped to modify.Due to the safety and stability of funds transaction Requirement it is very high, when there is modification, helping and borrowing platform and need to carry out a series of close betas, joint debugging test, the period is general It takes a long time, and capital's platform cannot may cooperate in real time modification side to carry out software test, cause modified software online It is relatively slow, cause very big loss.It is also the presence of this for other financial platforms for needing to carry out multi-party association docking.
Summary of the invention
In view of this, the embodiment of the invention provides lending platforms test method, device, terminal device and readable storage mediums Matter, to solve, the financial platform of multi-party association docking in the prior art carries out close beta and software is online slow when joint debugging is tested Problem.
The first aspect of the embodiment of the present invention provides a kind of lending platforms test method, comprising:
Receive the test request that corresponding equipment is applied from credit;The test request includes: interface IP address information, surveys Try demand information and verification information;
Mesh corresponding with the test request in the simulation test environment of capital is determined according to the interface IP address information Capital is marked, and the verification information is verified by the target capital corresponding default verification information;
If being verified, surveyed in the simulation test environment of the target capital according to the testing requirement information Examination;
The processing result of the test request is sent to the equipment.
The second aspect of the embodiment of the present invention provides a kind of lending platforms test device, comprising:
Receiving unit, for receiving the test request for applying corresponding equipment from credit;
Determination unit, for according to the interface IP address information determine in the simulation test environment of capital with the test Request corresponding target capital;
Authentication unit, for being tested by the corresponding default verification information of the target capital the verification information Card;
Processing unit, if for being verified, according to the test in the simulation test environment of the target capital Demand information is tested;
Return unit, for the processing result of the test request to be sent to the equipment.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the lending platforms test method method of first aspect.
The fourth aspect of the embodiment of the present invention provides a kind of readable storage medium storing program for executing, and the readable storage medium storing program for executing is stored with meter Calculation machine program, when the computer program is executed by processor the step of the realization such as lending platforms test method of first aspect.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
The present invention applies the test request of corresponding equipment by receiving from credit, according to the interface in test request Location information determines target capital corresponding with test request in the simulation test environment of capital, and corresponding by target capital Default verification information verifies verification information, if being verified, according to survey in the simulation test environment of target capital Examination demand information is tested, and feedback test result.In the technical program, simulation test environment corresponding with capital is established, When carrying out software test, true capital's environment is substituted by the simulation test environment of foundation and is tested.Pass through building The simulation test environment of capital replaces capital's test environment to test with credit using corresponding equipment, alleviates lending platforms Dependence to capital's system;Test can be realized by internal joint debugging, shorten the testing time, accelerate software it is online into Degree.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the flow diagram of lending platforms test method first embodiment provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of lending platforms test method second embodiment provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of lending platforms test method 3rd embodiment provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of lending platforms test method fourth embodiment provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of the 5th embodiment of lending platforms test method provided in an embodiment of the present invention;
Fig. 6 is the system structure diagram of lending platforms test device first embodiment provided in an embodiment of the present invention;
Fig. 7 is the system structure diagram of lending platforms test device second embodiment provided in an embodiment of the present invention;
Fig. 8 is the hardware structural diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In embodiments of the present invention, the executing subject of process is terminal device, which includes but is not limited to take down notes This computer, computer, server, tablet computer and smart phone etc..Credit application is provided on terminal device.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 is the flow diagram of the first embodiment of lending platforms test method of the invention, lending platforms test side The executing subject of method is terminal device.Details are as follows:
S101: receiving the test request that corresponding equipment is applied from credit, and the test request includes: interface IP address letter Breath, testing requirement information and verification information;
In this embodiment, be equipped on terminal device credit apply and baffle engineering or terminal device on gear is installed Plate engineering, credit application are installed in other equipment.In the present embodiment, baffle engineering is used exclusively for building simulation capital's Test environment.It should be understood that baffle engineering includes the simulation test environment of multiple capitals.It should be noted that capital Simulation test environment includes interface IP address information identical with true test environment and verification information.The simulation test of same capital Environment is corresponding at least one application programming interfaces, therefore the simulation test environment of same capital may have multiple interface IP addresses to believe Breath.
Tester passes through the test action of credit applications trigger, the test action institute of credit applied analysis tester triggering Corresponding test function item, and generate corresponding test request and be sent to baffle engineering, in test request with containing interface Location information, testing requirement information and verification information.
In the present embodiment, baffle engineering is built based on SpringMVC Open Framework.SpringMVC is a set of bottom The Open Framework of layer, can develop the service logic for meeting testing requirement on the basis of the frame.SpringMVC frame packet Model layer (Model, M layers of abbreviation), view layer (View, V layers of abbreviation) and control layer (Control, C layers of abbreviation) are included, wherein controlling (C layers) of preparative layer are requested for receiving test request and response test and test request are sent to model layer (M layers), model layer (M Layer) in include multiple capitals simulation test environment, for according to testing requirement information corresponding capital simulation test Test result is tested and obtained in environment, and test result is fed back to control layer (C layers), and control layer (C layers) will be tested As a result it is sent to view layer (V layers) and carries out view rendering afterwards, finally return to terminal device.
S102: it is determined according to the interface IP address information corresponding with the test request in the simulation test environment of capital Target capital, and the verification information is verified by the target capital corresponding default verification information;
After baffle engineering receives test request, the interface IP address information and verification information for including in test request are analyzed, And the target capital in simulation test environment is determined according to interface IP address information.It is understood that in order to improve the peace of information Quan Xing, when carrying out joint debugging between capital and lending platforms, the interaction between capital and lending platforms is provided with encryption function.It determines After target capital, the verification information for including in test request is verified by target capital corresponding default verification information. Verifying means can be the asymmetric encryption means such as token, appkey or public and private key, such as the public and private key of GPG.It is true in order to restore Capital's environment, the simulation test environment of building and credit application should also be arranged encryption function when being tested, baffle engineering and The Encryption Algorithm of the same capital of correspondence of credit application must be unified.
S103: if being verified, according to the testing requirement information in the simulation test environment of the target capital It is tested;
When the verifying message in test request passes through the default verifying message of target capital, then in the simulation of target capital It tests in environment and corresponding test is carried out according to the testing requirement information of test request, and generate processing result.For example, when to money When a certain item function of square A is tested, baffle engineering receives the letter of the testing requirement in test request post analysis test request Breath, it is assumed that testing requirement information is " client a transfers accounts 500 yuan to account b ", and baffle engineering finds capital according to interface IP address information A, and the verification information in test request by verifying after, in the simulation test environment of capital A handle testing requirement information " visitor Family a transfers accounts 500 yuan to account b ".
S104: the processing result of the test request is sent to the equipment.
For example, testing requirement information " client a transfers accounts 500 yuan to account b " is handled in the simulation test environment of capital A, Processing result is returned to terminal device after processing is completed, such as " success of transferring accounts ", to inform that tester tests whether normally.
The technical solution of the present embodiment, by establishing simulation test environment corresponding with capital, when carrying out software test, True capital's environment is substituted by the simulation test environment of foundation to test.Pass through the interface IP address information in test request The target capital in simulation test environment is determined with verification information, by constructing the simulation test environment of capital instead of the true of capital Actual measurement test ring border is tested with credit using corresponding equipment, is alleviated dependence of the lending platforms to capital's system, is worked as capital System is gone wrong or interacts when something goes wrong, still can carry out software test;Test can be realized by internal joint debugging, contract The short testing time, accelerate the online progress of software.
Fig. 2 is the flow diagram of the second embodiment of lending platforms test method of the invention, including S201~S205, Wherein the content of S202~S205 and the content of S101~S104 are identical, and this will not be repeated here, and details are as follows by S201:
S201: the simulation test environment for simulating each capital is created, wherein the simulation test environment includes The following information of each capital:
For providing the application programming interfaces of various test request accesses;
For verifying the default verification information of various test requests;
For handling the default processing information of various test requests.
The lending platforms test method of the present embodiment creates before being tested according to the true test environment of each capital Simulate the simulation test environment of each capital.Meanwhile the simulation test environment of each capital includes that corresponding application program connects Mouth, default verification information and default processing information, wherein baffle engineering is according to the interface IP address information pair for including in test request Corresponding application programming interfaces, the verification information for including in baffle engineering judgement test request and default verification information should be found Whether match, then by testing requirement information acquisition to corresponding default processing information.The quantity of application programming interfaces is at least It is one, default verification information corresponds to cryptographic means, and default processing information can be default place corresponding with each testing requirement Process is managed, is also possible to default processing result corresponding with each testing requirement, is sent to the processing result of terminal device at this time It can make the processing result obtained after presetting process flow processing, be also possible to default processing corresponding with the testing requirement As a result.
Wherein, after default process flow indicates that target capital receives testing requirement information, according to the processing of true capital Flow processing testing requirement information simultaneously obtains processing result, needs to expend longer test process at this time.Default processing result table Show the processing result that preset target capital may return after receiving testing requirement information, target capital receives test and needs After seeking information, it is only necessary to corresponding with the testing requirement information preset processing result of matching, do not need target capital according to The process flow of true capital is handled, and greatly reduces the testing time.
For example, testing requirement is " client a transfers accounts 500 yuan to account b ", preset processing result is " to turn in target capital Account success ", when target capital receives testing requirement, first passes through keyword and judges requirement item, if keyword " is transferred accounts ", then Pass through the preset processing result of keyword match " success of transferring accounts ".Further, preset processing result is also in target capital Including " transferring accounts unsuccessfully, failure cause: Sorry, your ticket has not enough value ", at this time when target capital receives testing requirement, keyword is first passed through Then judgement demand parses target customer, and according to the presupposed information of target customer (such as client account balance) and demand (as turned 500 yuan of account) the preset processing result of matching, matching process, which can be, judges whether client account balance is greater than transfer amounts, if Client account balance is greater than transfer amounts and then returns to " success of transferring accounts ", and makees corresponding modification on client account balance, if objective Family account balance is less than transfer amounts, then returns to " transferring accounts unsuccessfully, failure cause: Sorry, your ticket has not enough value ".
Fig. 3 is the flow diagram of the 3rd embodiment of lending platforms test method of the present invention, including S301~S305, Middle S301~S304 is identical as S101~S104, and this will not be repeated here, and details are as follows:
S305: if verifying does not pass through, miscue information is returned to the equipment.
In the present embodiment, when the verification information in test request does not pass through the default verification information of target capital, then Illustrate the default verifying of the simulation test environment for the verification information corresponding with target capital and target capital that credit application issues Information does not use identical cryptographic means, further illustrates credit using the interaction between the true test environment of capital not Using identical cryptographic means, the problem of reflection is that credit application can not be interacted with true capital in practical interactive process, Tester can be modified and be improved accordingly to credit application according to the miscue information of return at this time, with constantly complete Kind credit application.
Fig. 4 is the flow diagram in the fourth embodiment of lending platforms test method of the present invention, including S401~S404, Wherein S401 is identical as S101, and S403 is identical as S103, and S404 is identical as S104, and S402 and S102 are the difference is that interface Address information includes Internet protocol address and application programming interfaces address, and details are as follows by S402:
S402: the Internet protocol address for including according to test request and application programming interfaces address determine and survey in simulation Test ring border target capital corresponding with the test request.
Since credit is using the interaction that may relate to multiple application interfaces between same capital, interface IP address information includes Internet protocol address and application programming interfaces address determine simulation according to Internet protocol address and application programming interfaces address Test the concrete application program of target capital corresponding with test request in environment.Determine that target provides by Internet protocol address Side, determines target capital in the interface IP address of the concrete application program of capital according to application programming interfaces address.
S402 further includes being verified by the corresponding default verification information of the target capital to the verification information, is asked With reference to the explanation of S102, this will not be repeated here.
Fig. 5 is the flow diagram in the 5th embodiment of lending platforms test method of the present invention, including S501~S504, Wherein S501~S502 is identical as S101~S102, and S504 is identical as S104, and details are as follows by S503:
S503 is based on the testing requirement information if being verified, and obtaining in the target capital needs with the test The default processing information that information matches is sought, and is packaged.
If being verified, target capital further obtains matched pretreatment according to testing requirement information and believes Breath, and be packaged default processing information and testing requirement information to form processing result.Credit application receives processing result Afterwards, it parses package file and shows default processing information corresponding with testing requirement information, so that tester quickly will be pre- If processing result is corresponding with testing requirement.
The default processing information for including in order to accelerate testing progress, in the simulation test environment of target capital is default processing As a result, only need according to testing requirement information matches to corresponding default processing result and return to default processing result, It does not need completely to execute testing process in simulation test environment, is conducive to simplify simulation test environment.In other embodiments In, it is also possible to the processing obtained by target capital by simulation test with the default processing information of testing requirement information matches As a result.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Fig. 6 is the first embodiment system structure diagram of lending platforms test device 5 of the invention, comprising:
Receiving unit 51, for receiving the test request for applying corresponding equipment from credit;
Determination unit 52, for according to the interface IP address information determine in the simulation test environment of capital with the survey Corresponding target capital is requested in examination;
Authentication unit 53, for being tested by the corresponding default verification information of the target capital the verification information Card;
Processing unit 54, if for being verified, according to the survey in the simulation test environment of the target capital Examination demand information is tested;
Return unit 55, for the processing result of the test request to be sent to the equipment.
Fig. 7 is the second embodiment knot system structure diagram of lending platforms test device 5 of the invention, and wherein credit is flat Platform test device 5 further include:
Construction unit 56, for before the test request received from credit using corresponding equipment, creation to be used In the simulation test environment for simulating each capital, wherein the simulation test environment includes the following information of each capital:
For providing the application programming interfaces of various test request accesses;
For verifying the default verification information of various test requests;
For handling the default processing information of various test requests.
Further, return unit 55 is also used to return to miscue information to the equipment when verifying does not pass through.
Further, processing unit 54 be used for be based on the testing requirement information, obtain in the target capital with it is described The default processing information that testing requirement information matches, and be packaged.
Fig. 8 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 8, the terminal of the embodiment is set Standby 6 include: processor 60, memory 61 and are stored in the meter that can be run in the memory 61 and on the processor 60 Calculation machine program 62, such as data display program.The processor 60 realizes above-mentioned each letter when executing the computer program 62 The step in platform test embodiment of the method, such as step 101 shown in FIG. 1 are borrowed to 104.Alternatively, the processor 60 executes Realize the function of each module/unit in above-mentioned each Installation practice when the computer program 62, for example, unit 51 shown in Fig. 6 to 56 function.
Illustratively, the computer program 62 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 62 in the terminal device 6 is described.For example, the computer program 62 can be divided It is cut into receiving module, determining module, authentication module, processing module and return module (module in virtual bench), each module tool Body function is as follows:
Receiving module, for receiving the test request for applying corresponding equipment from credit;
Determining module, for according to the interface IP address information determine in the simulation test environment of capital with the test Request corresponding target capital;
Authentication module, for being tested by the corresponding default verification information of the target capital the verification information Card;
Processing module, if for being verified, according to the test in the simulation test environment of the target capital Demand information is tested;
Return module, for the processing result of the test request to be sent to the equipment.
The terminal device 6 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 8 The only example of terminal device 6 does not constitute the restriction to terminal device 6, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 61 can be the internal storage unit of the terminal device 6, such as the hard disk or interior of terminal device 6 It deposits.The memory 61 is also possible to the External memory equipment of the terminal device 6, such as be equipped on the terminal device 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the terminal device 6 Member also includes External memory equipment.The memory 61 is for storing needed for the computer program and the terminal device Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed terminal device and method can pass through it Its mode is realized.For example, terminal device embodiment described above is only schematical, for example, the module or list Member division, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown The mutual coupling or direct-coupling or communication connection shown or discussed can be through some interfaces, between device or unit Coupling or communication connection are connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit 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.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into 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 software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a readable storage medium storing program for executing, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can be with For source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can wrap It includes: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light of the computer program code can be carried Disk, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described computer-readable The content that medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as at certain A little jurisdictions do not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of lending platforms test method, which comprises the steps of:
The test request that corresponding equipment is applied from credit is received, the test request includes: interface IP address information, test need Ask information and verification information;
The target money corresponding with the test request in the simulation test environment of capital is determined according to the interface IP address information Side, and the verification information is verified by the target capital corresponding default verification information;
If being verified, tested in the simulation test environment of the target capital according to the testing requirement information;
The processing result of the test request is sent to the equipment.
2. lending platforms test method according to claim 1, which is characterized in that receive described from credit application pair Before the test request for the equipment answered, further includes:
Create the simulation test environment for simulating each capital, wherein the simulation test environment includes each capital Following information:
For providing the application programming interfaces of various test request accesses;
For verifying the default verification information of various test requests;
For handling the default processing information of various test requests.
3. lending platforms test method according to claim 1, which is characterized in that further include:
If verifying does not pass through, miscue information is returned to the equipment.
4. lending platforms test method according to any one of claim 1 to 3, which is characterized in that the interface IP address Information includes Internet protocol address and application programming interfaces address;It is described to be determined according to the interface IP address information capital's Target capital corresponding with the test request in simulation test environment, comprising:
The Internet protocol address for including according to test request and application programming interfaces address are determined in simulation test environment and institute State the corresponding target capital of test request.
5. lending platforms test method according to any one of claim 1 to 3, which is characterized in that if the verifying is logical It crosses, is then tested in the simulation test environment of the target capital according to the testing requirement information, comprising:
If being verified, be based on the testing requirement information, obtain in the target capital with the testing requirement information phase Matched default processing information, and be packaged.
6. a kind of lending platforms test device characterized by comprising
Receiving unit, for receiving the test request for applying corresponding equipment from credit;
Determination unit, for according to the interface IP address information determine in the simulation test environment of capital with the test request Corresponding target capital;
Authentication unit, for being verified by the corresponding default verification information of the target capital to the verification information;
Processing unit, if for being verified, according to the testing requirement in the simulation test environment of the target capital Information is tested;
Return unit, for the processing result of the test request to be sent to the equipment.
7. lending platforms test device according to claim 6, which is characterized in that further include construction unit, in institute Before stating the test request received from credit using corresponding equipment, the simulation test for simulating each capital is created Environment, wherein the simulation test environment includes the following information of each capital:
For providing the application programming interfaces of various test request accesses;
For verifying the default verification information of various test requests;
For handling the default processing information of various test requests.
8. lending platforms test device according to claim 6, which is characterized in that the return unit is also used to when verifying When not passing through, miscue information is returned to the equipment.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program Any one of the method the step of.
10. a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing is stored with computer program, which is characterized in that the calculating It realizes when machine program is executed by processor such as the step of any one of claims 1 to 5 the method.
CN201811353486.1A 2018-11-14 2018-11-14 Lending platforms test method, device, terminal device and readable storage medium storing program for executing Pending CN109582569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811353486.1A CN109582569A (en) 2018-11-14 2018-11-14 Lending platforms test method, device, terminal device and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811353486.1A CN109582569A (en) 2018-11-14 2018-11-14 Lending platforms test method, device, terminal device and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109582569A true CN109582569A (en) 2019-04-05

Family

ID=65922323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811353486.1A Pending CN109582569A (en) 2018-11-14 2018-11-14 Lending platforms test method, device, terminal device and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109582569A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026634A (en) * 2019-09-27 2020-04-17 珠海随变科技有限公司 Interface automation test system, method, device and storage medium
CN112052179A (en) * 2020-09-21 2020-12-08 华云数据控股集团有限公司 Simulation method, simulation system and computer readable medium for software system
CN112148583A (en) * 2019-06-27 2020-12-29 北京车和家信息技术有限公司 Software testing method and system
CN112633908A (en) * 2019-10-09 2021-04-09 上海哔哩哔哩科技有限公司 Advertisement test object generation method and device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021091A (en) * 2016-05-04 2016-10-12 上海携程商务有限公司 Internet bank simulation system and method
CN106294179A (en) * 2016-08-22 2017-01-04 上海亿账通互联网科技有限公司 Analog detection method in process of application development and server
US20170109260A1 (en) * 2015-10-14 2017-04-20 At&T Intellectual Property I, L.P. Test Simulation for Software Defined Networking Environments
CN107797932A (en) * 2017-11-13 2018-03-13 广州唯品会网络技术有限公司 Pay acquisition methods, device and the storage medium of readjustment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170109260A1 (en) * 2015-10-14 2017-04-20 At&T Intellectual Property I, L.P. Test Simulation for Software Defined Networking Environments
CN106021091A (en) * 2016-05-04 2016-10-12 上海携程商务有限公司 Internet bank simulation system and method
CN106294179A (en) * 2016-08-22 2017-01-04 上海亿账通互联网科技有限公司 Analog detection method in process of application development and server
CN107797932A (en) * 2017-11-13 2018-03-13 广州唯品会网络技术有限公司 Pay acquisition methods, device and the storage medium of readjustment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148583A (en) * 2019-06-27 2020-12-29 北京车和家信息技术有限公司 Software testing method and system
CN111026634A (en) * 2019-09-27 2020-04-17 珠海随变科技有限公司 Interface automation test system, method, device and storage medium
CN112633908A (en) * 2019-10-09 2021-04-09 上海哔哩哔哩科技有限公司 Advertisement test object generation method and device and computer equipment
CN112633908B (en) * 2019-10-09 2024-02-20 上海哔哩哔哩科技有限公司 Advertisement test object generation method and device and computer equipment
CN112052179A (en) * 2020-09-21 2020-12-08 华云数据控股集团有限公司 Simulation method, simulation system and computer readable medium for software system

Similar Documents

Publication Publication Date Title
CN109981679B (en) Method and apparatus for performing transactions in a blockchain network
US20220263671A1 (en) Data processing method, apparatus, and device, blockchain system, and computer-readable storage medium
US12010233B2 (en) Computer-implemented systems and methods for combining blockchain technology with digital twins
EP3698516B1 (en) Selecting and securing proof delgates for cryptographic functions
Sikorski et al. Blockchain technology in the chemical industry: Machine-to-machine electricity market
EP3622686B1 (en) Enclave ring and pair topologies
CN109582569A (en) Lending platforms test method, device, terminal device and readable storage medium storing program for executing
EP3622662A1 (en) Cryptlet smart contract
US10970780B2 (en) Zero-knowledge predictions market
CN112634047B (en) Foreign exchange transaction simulation test method and device, computer equipment and storage medium
CN109189396A (en) intelligent contract engine module, operation method and storage medium
CN112035350B (en) Test method and device for block chain system and computer equipment
CN111782551B (en) Test method and device for block chain item and computer equipment
CN111738725A (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN109993528A (en) It is a kind of for managing the method and apparatus of committal charge
US20180096551A1 (en) Spheres of knowledge
EP4142206A1 (en) Verifying integrity and secure operations of cloud-based software services
CN104519096B (en) Method and system for the deployment services in cloud computing system
Ilgi et al. Formal verification for security technologies in the blockchain with artificial intelligence: A survey
CN113052727A (en) House purchasing recommendation device and method based on house purchasing qualification verification
CN112037056A (en) Transaction processing method, device, equipment and storage medium
CN116662208B (en) Transaction testing method, device and medium based on distributed baffle
CN114221967B (en) Resource sharing platform and resource sharing method based on block chain network
CN112598420B (en) Online regression verification method and device
US20230274359A1 (en) Authorization of a Trading Strategy Algorithm

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190405