CN109344075A - Configuration method, test method, configuration server and service node device - Google Patents

Configuration method, test method, configuration server and service node device Download PDF

Info

Publication number
CN109344075A
CN109344075A CN201811223248.9A CN201811223248A CN109344075A CN 109344075 A CN109344075 A CN 109344075A CN 201811223248 A CN201811223248 A CN 201811223248A CN 109344075 A CN109344075 A CN 109344075A
Authority
CN
China
Prior art keywords
mock
service node
test
test data
service
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
CN201811223248.9A
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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology Co Ltd
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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201811223248.9A priority Critical patent/CN109344075A/en
Publication of CN109344075A publication Critical patent/CN109344075A/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/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • 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

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 embodiments relate to electronic information technical field, a kind of configuration method, test method, configuration server and service node device are disclosed.Configuration method in the embodiment of the present invention includes: that mock service node is pre-created on service node device;Detect whether that the pattern configurations for receiving user terminal are requested;The pattern configurations request includes at least the mode type of test;If receiving the pattern configurations request, the mode type is configured for the mode type of the mock service node by the service node device.The embodiment of the invention also provides a kind of test method, configuration server and service node devices.The embodiment of the present invention can be realized a variety of test functions, meets a plurality of types of functional test demands of extensive Service-oriented architecture, improves test flexibility ratio, offer convenience for software test.

Description

Configuration method, test method, configuration server and service node device
Technical field
The present embodiments relate to electronic information technical field, in particular to a kind of configuration method, test method, configuration clothes Business device and service node device.
Background technique
As software systems become increasingly complex, most enterprises selection reduces system using service-oriented architectural framework Between the degree of coupling, there are large number of application component, these set of applications in the software systems of Service-Oriented Architecture Based Part provides service to other assemblies by network protocol and interface.Tester surveys to one of application component It during examination, needs to meet using all kinds of test methods the testing requirement of various functions, such as needs the survey of mock function Examination then realizes mock test using mock testing tool.
The mock testing tool of existing web hardware and software platform, user can log in the platform by web browser to realize mock Test function.However, it is found by the inventors that at least there are the following problems in the prior art: the testing tool of existing web hardware and software platform, function Can be more single, it is more only to realize basic mock function, it is unable to satisfy the diversified testing requirement of tester, is caused Test flexibility ratio is lower, makes troubles for the test of application component;And since the platform directly takes on mock function, adjust In the case that dosage is big, the performance to the platform is a test, and the system that may cause is run quickly routed.
Summary of the invention
Embodiment of the present invention is designed to provide a kind of configuration method, test method, configuration server and service section Point device can be realized a variety of test functions, meet a plurality of types of functional test demands of extensive Service-oriented architecture, Test flexibility ratio is improved, is offered convenience for software test.
In order to solve the above technical problems, embodiments of the present invention provide a kind of configuration method, it is applied to configuration service Device;The configuration method includes: that mock service node is pre-created on service node device;It detects whether to receive user's end The pattern configurations at end are requested;The pattern configurations request includes at least the mode type of test;If receiving the pattern configurations Request, configures the mode type for the mode type of the mock service node by the service node device, for Service consumer calls the mock service node of the mode type and receives the test data that the mock service node returns; The mock service node of different mode type has different test functions.
Embodiments of the present invention additionally provide a kind of test method, are applied to distributed service node device;It is described Test method includes: when receiving node creation information from configuration server, to create the mock that information includes according to the node Protocol type and service providing end slogan, generate the mock service node of the preconfigured correspondence mock protocol type;From When the configuration server receives pattern configurations information, according to the mode type for the test that the pattern configurations information includes, The mode type of the mock service node is switched to the mode type;By the mock service node from service consumption When the test data request just received, and returns to the test data and request corresponding test data to the service consumption Side.
Embodiments of the present invention additionally provide a kind of configuration server, comprising: at least one processor;And with institute State the memory of at least one processor communication connection;Wherein, be stored with can be by least one described processor for the memory The instruction of execution, described instruction are executed by least one described processor, so that at least one described processor is able to carry out The configuration method stated.
Embodiments of the present invention additionally provide a kind of service node device, comprising: at least one processor;And with The memory of at least one processor communication connection;Wherein, the memory be stored with can by it is described at least one processing The instruction that device executes, described instruction is executed by least one described processor, so that at least one described processor is able to carry out Such as above-mentioned test method.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, special Sign is that the computer program realizes above-mentioned configuration method when being executed by processor.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, special Sign is that the computer program realizes above-mentioned test method when being executed by processor.
In terms of existing technologies, configuration server is pre-created embodiment of the present invention on service node device Mock service node receives the pattern configurations request of user terminal, according to the mode class for the test that pattern configurations request includes Type configures the mode type for the mode type of mock service node by service node device, for service consumer tune It completes to test with the mock service node of the mode type and the test data that receives mock service node return, due to not Mock service node with mode type has different test functions, so that service consumer passes through the configuration server energy It enough realizes a variety of test functions, meets a plurality of types of functional test demands of extensive Service-oriented architecture, improve survey Flexibility ratio is tried, is offered convenience for software test.And in the embodiment of the present invention, configuration server is separated with service node device, Corresponding test function is undertaken by service node device, alleviates the processing pressure of configuration server (especially in service consumption Side is in the biggish situation of mock service node calling amount), the situation generation for avoiding configuration server to run quickly routed as far as possible.
In addition, test pattern is mock mode, transparent transmission mode or recording mode;When the pattern configurations request in include When mode type is the transparent transmission mode type or recording mode type, the pattern configurations request further includes service provider Address information.In the present embodiment, the test pattern of Three models type is provided.
In addition, corresponding mode type is configured for the mock service node by the service node device, for Service consumer calls the mock service node of the mode type and receives the test data that the mock service node returns Later, further includes: receive log query request, the mock is obtained from logging device according to log query request and is taken The log recording that business node uploads;The log recording is sent to the user terminal, so that user is according to the log recording Verify corresponding test function.In the present embodiment, configuration server receives log query request from user terminal, according to log Inquiry request obtains log recording from logging device and is sent to the user terminal log recording, so that user remembers according to log Record is verified corresponding test function and is greatlyd save to quickly test out the Error Location of service consumer or service provider Development cost.
In addition, mock test method further include: when receiving closing/reset command of the mock service node, close/ Restart the mock service node.In the present embodiment, configuration server receives closing/reset command of mock service node, The mock service node is closed/restarted, user terminal is enabled to close mock service node by configuration server, thus Save resource;Also, user terminal can restart mock service node by configuration server, provide for the continuity of test It is convenient.
In addition, mock test method further include: when monitoring that the mock service node is in abnormal operation, hair Send prompt information to the user terminal.In the present embodiment, allow users to know mock service node according to prompt information Abnormal operation, and then carry out next step test job, avoid user that may make as far as possible trouble shooting work.
In addition, before detecting whether that the pattern configurations for receiving user terminal are requested, further includes: connect from the user terminal Receive the data configuration request of the test data returned under the mock mode type to the mock service node, root It is configured according to the test data that data configuration request returns to the mock service node;It will be with the test postponed Data are sent to the mock service node.In the present embodiment, user terminal is taken by configuration server to mock The test data that business node returns under mock mode type is configured, and is provided convenience for user configuration test data.
In addition, when the mode type is mock mode type, it is described to return to the corresponding survey of the test data request Data are tried to the service consumer, specifically: it is requested by the mock service node according to test data and test data Default corresponding relationship, return to the test data and request corresponding test data to the service consumer.In the present embodiment, Under test pattern of the mock service node in mock mode type, the one kind for returning to test data to service consumer is provided Specific implementation, so that service consumer completes mock test, so as to shorten test period and is surveyed to realize mock function Try cost.
In addition, when the mode type is transparent transmission mode type, it is described to return to the corresponding survey of the test data request Data are tried to the service consumer, are specifically included: being pass-through to test data request by the mock service node The service provider;The test data request is received from the service provider by the mock service node to correspond to Test data after, return to the test data to the service consumer.In the present embodiment, mock service node is in transparent transmission mould Under formula type, transparent transmission function is realized, so that service consumer and service provider realize true data interaction, and is supported Switch different service providers, that realizes service provider changes road in real time, to realize the service provider to multiple versions Test.
In addition, when the mode type is recording mode type, it is described to return to the corresponding survey of the test data request Data are tried to the service consumer, are specifically included: being pass-through to test data request by the mock service node The service provider;The test data request is received from the service provider by the mock service node to correspond to Test data after, return to the test data to the service consumer;It will be with the clothes by the mock service node The log recording of business consumer's communication is sent to configuration server, so that user described in the configuration server by testing The corresponding test data of request of data.Mock service node realizes recording function under recording mode type, so that record Data service eliminates simulation number in the test business (i.e. using true test data as analogue data) of mock mode type According to configuration work, and the log recording communicated with service consumer is sent to configuration server, greatly facilitates user Configuration and maintenance work to the truthful data as analogue data, reduce the error rate in test process.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the specific flow chart of configuration method according to first embodiment;
Fig. 2 is the block diagram of configuration method according to first embodiment;
Fig. 3 is the specific flow chart according to the configuration method of second embodiment;
Fig. 4 is the block flow diagram according to the configuration method of second embodiment;
Fig. 5 is the specific flow chart according to an example of the configuration method of third embodiment;
Fig. 6 is the specific flow chart according to another example of the configuration method of third embodiment;
Fig. 7 is the specific flow chart according to the test method of the 4th embodiment;
Fig. 8 is the specific flow chart according to an example of the test method of the 5th embodiment;
Fig. 9 is the specific flow chart according to another example of the test method of the 5th embodiment;
Figure 10 is the specific flow chart according to another example of the test method of the 5th embodiment.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of configuration methods, are applied to configuration server and match as shown in Figure 1, 2 The method of setting includes:
Step 101, mock service node is pre-created on service node device.
Mock test is during the test, for certain objects for being not easy to construct or be not easy to obtain, with one Virtual object creates the test method so as to test;Wherein, which is exactly mock object, and mock object is exactly The substitute of real object dduring test.In mock test, mock tool or mock platform (can be needed according to called side Obtain mock object a side) specific call parameter, come determine return expected results.Expected results are pre-set bright True mock object execution is what to occur, such as return and specifically be worth, exception of dishing out and trigger an event etc..
In present embodiment, it is illustrated in figure 2 the block diagram of a system, including configuration server 1, user terminal 2, clothes Business node device 3, service consumer 4 and service provider 5, service node device 3 is communicatively coupled to respectively with user terminal 2 matches Service 1 is set, service consumer 4 and service provider 5 are communicatively coupled to service node device 3 respectively.
In one example, user can control configuration server creation mock service node by user terminal.Tool Body, user passes through the configuration page of browser login configurations server, creates in configuration page towards configuration server sending node Request is built, mock protocol type and the service providing end slogan that user's input is included at least in the node request to create are (so unlimited It in this, such as can also include customized nodename).In the present embodiment, user realizes that mock is serviced by user terminal Remote operation is realized in the creation of node, very convenient;It is here so exemplary illustration, the present embodiment is to mock service node Creation mode be not intended to be limited in any.
In present embodiment, the mock service node being pre-created is that administrator is pre-configured on service node device , mock service node is to need summation function realization to configure according to service consumer, so that the mock service node exists Output parameter corresponding with parameter is inputted can be returned in mock test.
In one example, service node device can be the hardware such as Docker container or the virtual machine under configuration server Resource pool, so without being limited thereto in practice, the present embodiment is not intended to be limited in any the device type of service node device, such as services Node device may be the physical equipment with configuration server communication connection, such as the physical equipment that user is privately owned, to meet The individual demand of user.Wherein, when service node device is physical equipment, section that user terminal is sent to configuration server Point request to create further includes the IP address and log-on message of service node device, the account under log-on message such as SSH login mode Number and password.
Step 102, detect whether that the pattern configurations for receiving user terminal are requested;If so, execute step 103, otherwise after It is continuous to execute this step.
In one example, the mode of user terminal sending mode configuring request to configuration server includes: user terminal The configuration page of configuration server can be opened by browser, such as can log in this by inputting user name and password The page is configured, thus by the browser come sending mode configuring request;So without being limited thereto in practice, the present embodiment is to user's end The mode of end sending mode configuring request is not intended to be limited in any.
In present embodiment, pattern configurations request includes at least the mode type of test, the mock clothes of different mode type Business node has different test functions.The mode type of test can be mock mode type, transparent transmission mode type or recording mould Formula type;So without being limited thereto in practice, the present embodiment is not intended to be limited in any mode type, all can be according to service consumer Testing requirement is pre-configured on the configuration server, to realize the test function of associative mode type during the test.
In addition, in present embodiment, when the mode type for including in pattern configurations request is transparent transmission mode type or recording When mode type, pattern configurations request further includes the address information of service provider, and service provider is to service consumer One side of real service is provided.
In one example, configuration server can detect whether to receive pattern configurations request according to predetermined period; Wherein, predetermined period can according to need to be arranged, and predetermined period is, for example, 5 minutes (so without being limited thereto in practice), this implementation Example is not intended to be limited in any the detection mode of pattern configurations request, such as can also be measured in real time.
Step 103, pattern configurations request will be configured for the mode type of mock service node by service node device Including mode type, call the mock service node of the mode type for service consumer and receive mock service node and return The test data returned.
In one example, when the mode type that pattern configurations request includes is mock mode type, then service is configured The mode type of mock service node is configured mock mode type by device;It is so here exemplary illustration, it is unlimited in practice In this.
In terms of existing technologies, configuration server is pre-created the embodiment of the present invention on service node device Mock service node receives the pattern configurations request of user terminal, according to the mode class for the test that pattern configurations request includes Type configures the mode type for the mode type of mock service node by service node device, for service consumer tune It completes to test with the mock service node of the mode type and the test data that receives mock service node return, due to not Mock service node with mode type has different test functions so that service consumer by the configuration server with Mock service node can be realized a variety of test functions, meet a plurality of types of functional tests of extensive Service-oriented architecture Demand improves test flexibility ratio, offers convenience for software test.And in the embodiment of the present invention, configuration server and service Node device separation, undertakes corresponding test function by service node device, alleviates the processing pressure of configuration server (especially It is in service consumer in the biggish situation of mock service node calling amount), avoid configuration server to routed feelings as far as possible Condition occurs.
The realization details of the configuration method of the mock service node of present embodiment is specifically described below, below Content only for convenience of the realization details provided is understood, not implements the necessary of this programme.
In one example, following software is at least installed in configuration server: WEB application software, WEB application container, Database software, Docker Container Management programming facility and virtualization software, wherein be equipped in WEB container and taken as configuration The WEB application of business device operation entry, and the configuration information of all distributed Mock service nodes is stored in test data So without being limited thereto in practice in database or file system, the present embodiment does not make the software installed in configuration server any Limitation.
Preferably, configuration method further includes following steps after step 103 in present embodiment: mock being serviced and is saved The address information of service node device where point is sent to the user terminal.Address information includes the IP of the service node device Location and service providing end slogan, user terminal can be shown on the configuration page by browser, so that user is by address above mentioned Information configuration is in service consumer, so that service consumer successfully calls the mock service node according to the address information.This In embodiment, so that user eliminates the step of voluntarily recording or voluntarily remembering address above mentioned information, avoid going to search again above-mentioned Address information is provided convenience for test.
Preferably, further including following steps before step 102 in present embodiment: being received pair from user terminal The data configuration for the test data that mock service node returns under mock mode type is requested, according to data configuration request pair The test data that mock service node returns is configured;Mock service node will be sent to the test data postponed.This reality It applies in example, the test that user terminal returns to mock service node by configuration server under mock mode type Data are configured, and are provided convenience for user configuration test data.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed Core design with process is all in the protection scope of the patent.
Second embodiment of the present invention is related to a kind of configuration method.Second embodiment is on the basis of first embodiment On make improvements, mainly the improvement is that: in second embodiment of the invention, providing log look facility for user.
Configuration method in present embodiment is as shown in Figure 3,4, in step 201 and step 203 and first embodiment Step 101 is identical as 103 correspondences, and details are not described herein, and present embodiment has increased following steps newly:
Step 204, log query request is received, mock service section is obtained from logging device according to log query request The log recording that point uploads.
In present embodiment, it is illustrated in figure 4 the block diagram of system, further includes logging device 6,6 communication link of logging device It is connected to service node device 3 and configuration server 1.
In present embodiment, logging device is for receiving mock service node on each distributed service node device The log recording of biography, log recording include all data that service consumer is interacted with mock service node.In one example, Logging device can be the log database under configuration server;So without being limited thereto in practice, the present embodiment is to logging device The equipment form of expression is not intended to be limited in any, preferably, logging device may be the network by being equipped with big data processing software The physical equipment that equipment and storage equipment are constituted, it is safer in this way, avoid the abnormal work of configuration server being likely to occur Influence logging device.
In one example, user can by the configuration page of the browser login configurations server of user terminal, Configuration page sends log query request towards configuration server, and log query request is sent to log and set by configuration server Standby, which is requested corresponding log recording to be sent to configuration server by logging device;It is so here exemplary theory Bright, the sending method that the present embodiment requests log query is not intended to be limited in any.
In present embodiment, the log recording that mock service node is uploaded to logging device includes at least mock service section Point completes the log recording after test with service consumer under mock mode type or under transparent transmission mode type.
It in one example, may include Log Types (such as mock Log Types or transparent transmission day in log query request Will type), the title of mock service node, log keyword (such as in test process service consumer send data or Mock service node return data) at least one, so here be exemplary illustration, the present embodiment log query The query argument that request includes is not intended to be limited in any, and be can according to need and is preset.
Step 205, log recording is sent to user terminal, so that user verifies corresponding test function according to log recording Energy.
In present embodiment, user terminal can show the log recording after receiving log recording by browser Including detailed content or graphical diagrams data, so that user checks.
For first embodiment, configuration server receives log from user terminal and looks into the embodiment of the present invention Request is ask, log recording is obtained from logging device according to log query request and is sent to the user terminal log recording, with Corresponding test function (such as the data that send of service for checking credentials consumer or mock service section are verified according to log recording for user Whether the data that point returns are identical as corresponding preset data), to quickly test out service consumer or service provider Error Location.Also, in transparent transmission log recording, user can view the data interaction of protocol levels, be greatly saved out Hair cost (because in system black box, if tested service-oriented architecture system is developed for testability consideration This log query function out can bring the bad problem such as biggish development cost and intrusion code).
Third embodiment of the present invention is related to a kind of configuration method.Third embodiment is on the basis of second embodiment On improve, mainly the improvement is that: in third embodiment of the invention, configuration server have to mock service save The monitoring function of point.
Configuration method in present embodiment is as shown in figure 5, step 301 and step 305 and the step in first embodiment Rapid 201 is identical as 205 correspondences, and details are not described herein, and present embodiment has increased following steps newly:
Step 306, it monitors that mock service node is in abnormal operation, sends prompt information to user terminal.
In one example, configuration server can periodically send monitoring signals to mock service node, receive It is determined as that the mock service node is working properly to preset response signal corresponding with the monitoring signals, if not receiving sound Induction signal is determined as the mock service node operation irregularity;It is so here exemplary illustration, present embodiment takes mock The monitoring mode of business node is not intended to be limited in any.
In fact, present embodiment may be improvement project on the basis of first embodiment.
Preferably, in present embodiment, as shown in fig. 6, configuration method is further comprising the steps of:
Step 307, the mock service node is closed/restarted to the closing/reset command for receiving mock service node.
In present embodiment, for service consumer after completing all test business, user, which can choose, closes mock service Node.In one example, user terminal can be ordered by browser to the closing that configuration server sends mock service node It enables, after configuration server receives, closes the mock service node on service node device.
In present embodiment, mock service node is received from configuration server in user terminal and is in abnormal operation Prompt information after, reset command can be sent to configuration server, configuration server restart after receiving the reset command Mock service node in abnormal operation, so that the mock service node works on.
In the present embodiment, configuration server receives closing/reset command of mock service node, closes/restarts and is described Mock service node enables user terminal to close mock service node by configuration server, to save resource;And And user terminal can restart mock service node by configuration server, provide convenience for the continuity of test.It is practical On, this preferred embodiment may be improvement project on the basis of first or second embodiment.
The embodiment of the present invention monitors that mock service node is in abnormal work shape for second embodiment State, sends prompt information to user terminal, so that user knows according to the prompt information abnormal work shape of mock service node State, and then next step test job is carried out, the trouble shooting work for avoiding user that may make as far as possible.
4th embodiment of the invention is related to a kind of test method, is applied to service node device;As shown in fig. 7, this The test method of embodiment includes:
Step 401, node creation information is received from configuration server, the mock agreement that information includes is created according to node Type and service providing end slogan generate the mock service node of preconfigured corresponding mock protocol type.
Mock test is during the test, for certain objects for being not easy to construct or be not easy to obtain, with one Virtual object creates the test method so as to test;Wherein, which is exactly mock object, and mock object is exactly The substitute of real object dduring test.In mock test, mock tool or mock platform (can be needed according to called side Obtain mock object a side) specific call parameter, come determine return expected results.Expected results are pre-set bright True mock object execution is what to occur, such as return and specifically be worth, exception of dishing out and trigger an event etc..
In present embodiment, mock protocol type can be http agreement, https agreement or RPC agreement;The present embodiment In, configuration server is supported to generate the mock service node of various mock protocol types, meets under a variety of mock protocol types Testing requirement.So without being limited thereto in practice, the present embodiment is not intended to be limited in any specific mock protocol type.
In present embodiment, service node device realizes demand previously according to service consumer function, and configuration meets demand Mock service node join so that the mock service node can return to corresponding with parameter is inputted output in mock test Number.For example, it is desired to can be extended to mock service node during configuring the mock service node of corresponding mock protocol type The resolver of corresponding mock protocol type, so that the mock service node realizes the input parameter to the mock protocol type Mock.
Step 402, pattern configurations information is received from configuration server, according to the mould for the test that pattern configurations information includes The mode type of mock service node is switched to the mode type that pattern configurations information includes by formula type.
In present embodiment, the mock service node of different mode type has different test functions.The mode class of test Type can be mock mode type, transparent transmission mode type or recording mode type;So without being limited thereto in practice, the present embodiment is to mould Formula type is not intended to be limited in any.
In addition, in present embodiment, when the mode type for including in pattern configurations request is transparent transmission mode type or recording When mode type, pattern configurations information further includes the address information of service provider, and service provider is to service consumer One side of real service is provided.
In one example, the present mode type of mock service node is mock mode type, and the mode received is matched The mode type that confidence breath includes is transparent transmission mode type, then according to the pattern configurations information, by the mode of mock service node Type is switched to transparent transmission mode type from mock mode type;It is so here exemplary illustration, it is without being limited thereto in practice.
Step 403, it is requested by the test data that mock service node is received from service consumer, and returns to test number According to the corresponding test data of request to service consumer.
In terms of existing technologies, mock service node receives embodiments of the present invention according to from configuration server Node creation information (including mock protocol type and service providing end slogan), generate preconfigured corresponding mock protocol class The mock service node of type is met a variety of so as to realize the mock of the input parameter to different mock protocol types The testing requirement of the data of mock protocol type;Mock service node is according to according to the configuration information received from configuration server (mode type including test), the mode type of switching mock service node is the mode type, and is serviced and saved by mock Point receives test data from service consumer, and returns to corresponding with test data request test data to service consumer, by Have different test functions in the mock service node of different mode type so that mock service node can be realized it is a variety of Test function meets a plurality of types of functional test demands of extensive Service-oriented architecture, improves test flexibility ratio, be Software test offers convenience.
5th embodiment of the invention is related to a kind of test method.5th embodiment is on the basis of the 4th embodiment On improve, mainly the improvement is that: in fifth embodiment of the invention, providing mock service node in each mode Under the test pattern of type, the specific implementation of test data to service consumer is returned.
In an example of present embodiment, the test method of the example is as shown in figure 8, step 501 in the example Identical to 402 correspondences as the step 401 of the 4th embodiment to 502, details are not described herein, and the step 503 in this example is specific Are as follows:
Step 503, test data request is received from service consumer, is asked by mock service node according to test data The default corresponding relationship with test data is sought, test data is returned and requests corresponding test data to service consumer.
In this example, the default corresponding relationship of test data request and test data has been pre-configured in mock service node (test data is analogue data).When the mode type that pattern configurations information includes is mock mode type, mock clothes Business node can preset corresponding relationship according to this, return to test data corresponding with test data request to service consumer, with The test of application component to be measured is completed using the test data for service consumer.
Preferably, in this example, test method further comprise the steps of: by mock service node send with service consumer it Between interaction log recording to logging device.So that user terminal obtains log recording from logging device by configuration server, It allows users to visually know that service consumer calls mock service node and receives mock service from log recording The test data that node returns as services so that the function by log recording service for checking credentials consumer whether there is defect Consumer provides a kind of functional verification mode, provides convenience for test.
In another example of present embodiment, the configuration method of the example is as shown in figure 9, step in the example 601 to 602 is identical to 402 correspondences as the step 401 of the 4th embodiment, is not repeating herein, step 603 packet in this example Include following sub-step:
Sub-step 6031 receives test data request from service consumer, by mock service node by test data Request is pass-through to service provider.
In this example, service provider is the real service provider of service consumer.When pattern configurations information includes Mode type be transparent transmission mode type when, further include service provider from the pattern configurations information that configuration server receives Address information (such as the IP address of service provider and service providing end slogan), mock service node is as information transfer It stands, the test data request of service consumer is forwarded to service provider, service provider is receiving test data request Afterwards, true test data corresponding with test data request can be generated, and is sent to the mock service node.
Sub-step 6032 receives test data from service provider by mock service node and requests corresponding test number According to rear, the corresponding test data of return test data request to service consumer.
In this example, service consumer receives true test data, i.e. service consumer passes through mock service node True data interaction is completed with service provider;Meanwhile mock service node obtains service consumer and service provides Data interaction between side, so that these interaction datas are directly rendered into order to possible.
Preferably, test method further comprises the steps of: the log note interacted between transmission and service consumer in this example Record, the log recording interacted between service provider to logging device.So that user terminal passes through configuration server from log Equipment obtains log recording, allows users to visually know that service consumer calls mock service section from log recording The test data that the service provider of mock service node return generates is put and receives, to disappear by the log recording service for checking credentials The function of Fei Fang and service provider whether there is defect, a kind of functional verification side that as true data interaction side provides Formula is provided convenience for test.
In another example of present embodiment, the configuration method of the example is as shown in Figure 10, the step in the example Rapid 601 to 602 is identical to 602 correspondences as the step 601 of the 4th embodiment, the sub-step 7031 to 7032 that step 701 includes Identical as 6031 to 6032 correspondences, details are not described herein, and the step 703 in this example has increased following sub-step newly:
Step 7033, the log recording communicated with service consumer is sent to by configuration service by mock service node Device, so that user terminal requests corresponding test data by configuration server test data.
In this example, the mode type that pattern configurations information includes is recording mode type, then mock service node is being recorded True interaction data between the service consumer recorded under molding formula and service provider.It, will in a specific example The log recording communicated with service consumer is sent to configuration server, so that user terminal is tested by configuration server The corresponding test data of request of data, specifically: the log recording communicated with service consumer is sent out by mock service node It send to configuration server, so that test data is requested corresponding test data by configuration server by user terminal, is configured to The test data that mock service node returns under mock mode type requests corresponding test data.I.e. true interaction data is used In the test business of service mock mode type, mock service node is requested what is received from service provider with test data Corresponding true test data is sent to as the test data corresponding with test data request under mock mode type Service consumer (is sent to service consumer using true test data as analogue data).
In this example, the log recording communicated with service consumer is sent to configuration server, so that user terminal is stepped on The configuration page of configuration server is recorded, to obtain the log recording or modify data (such as the service consumer in log recording Interface when changing, then the test data returned under mock mode type is also required to modify, at this time directly in the configuration page The truthful data as analogue data is modified, very convenient).
In this example, mock service node preserves the log recording communicated with service consumer, and will be from clothes The business provider true test data corresponding with test data request that receives, as under mock mode type with survey The corresponding test data of examination request of data is sent to service consumer (i.e. using true test data as analogue data).
Embodiments of the present invention provide mock service node in various mode classes for the 4th embodiment Under type, the specific implementation of test data to service consumer is returned.Wherein, mock service node is in mock mode type Under, mock function is realized, so that service consumer completes mock test, so as to shorten test period and testing cost.In addition, Mock service node realizes transparent transmission function under transparent transmission mode type, so that service consumer and service provider are realized very Real data interaction, and under this transparent transmission mode, different service providers is allowed hand over, realizes the real-time of service provider Road is changed, to realize the test to the service provider of multiple versions.In addition, mock service node is under recording mode type, Realize recording function so that record data service in mock mode type test business (i.e. by true test data As analogue data), the configuration work of analogue data is eliminated, and the log recording communicated with service consumer is sent to Configuration server greatly facilitates configuration and maintenance work of the user to the truthful data as analogue data, reduces test Error rate in the process.
Sixth embodiment of the invention is related to a kind of configuration server, comprising: at least one processor;And with extremely The memory of few processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, refers to Order is executed by least one processor, so that at least one processor is able to carry out such as first embodiment to third embodiment Configuration method in middle any embodiment.
Wherein, memory is connected with processor using bus mode, and bus may include the bus of any number of interconnection And bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be such as peripheral Together with various other circuit connections of management circuit or the like, these are all well known in the art for equipment, voltage-stablizer , therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.Transceiver Can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with The unit of various other device communications.The data handled through processor are transmitted on the radio medium by antenna, further, Antenna also receives data and transfers data to processor.
Processor is responsible for managing bus and common processing, can also provide various functions, including periodically, peripheral interface, Voltage adjusting, power management and other control functions.And memory can be used for storage processor and execute operation when institute The data used.
In terms of existing technologies, configuration server is pre-created embodiment of the present invention on service node device Mock service node receives the pattern configurations request of user terminal, according to the mode class for the test that pattern configurations request includes Type configures the mode type for the mode type of mock service node by service node device, for service consumer tune It completes to test with the mock service node of the mode type and the test data that receives mock service node return, due to not Mock service node with mode type has different test functions, so that service consumer passes through the configuration server energy It enough realizes a variety of test functions, meets a plurality of types of functional test demands of extensive Service-oriented architecture, improve survey Flexibility ratio is tried, is offered convenience for software test.And in the embodiment of the present invention, configuration server is separated with service node device, Corresponding test function is undertaken by service node device, alleviates the processing pressure of configuration server (especially in service consumption Side is in the biggish situation of mock service node calling amount), the situation generation for avoiding configuration server to run quickly routed as far as possible.
Seventh embodiment of the invention is related to a kind of service node device, comprising: at least one processor;And with extremely The memory of few processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, refers to Order is executed by least one processor, so that at least one processor is able to carry out the test side of the 4th or the 5th embodiment Method.
Wherein, memory is connected with processor using bus mode, and bus may include the bus of any number of interconnection And bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be such as peripheral Together with various other circuit connections of management circuit or the like, these are all well known in the art for equipment, voltage-stablizer , therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.Transceiver Can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with The unit of various other device communications.The data handled through processor are transmitted on the radio medium by antenna, further, Antenna also receives data and transfers data to processor.
Processor is responsible for managing bus and common processing, can also provide various functions, including periodically, peripheral interface, Voltage adjusting, power management and other control functions.And memory can be used for storage processor and execute operation when institute The data used.
In terms of existing technologies, mock service node receives embodiments of the present invention according to from configuration server Node creation information (including mock protocol type and service providing end slogan), generate preconfigured corresponding mock protocol class The mock service node of type is met a variety of so as to realize the mock of the input parameter to different mock protocol types The testing requirement of the data of mock protocol type;Mock service node is according to according to the configuration information received from configuration server (mode type including test), the mode type of switching mock service node is the mode type, and is serviced and saved by mock Point receives test data from service consumer, and returns to corresponding with test data request test data to service consumer, by Have different test functions in the mock service node of different mode type so that mock service node can be realized it is a variety of Test function meets a plurality of types of functional test demands of extensive Service-oriented architecture, improves test flexibility ratio, be Software test offers convenience.
Eighth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer Configuration method of the first embodiment into third embodiment in any embodiment is realized when program is executed by processor.
In terms of existing technologies, mock service node receives embodiments of the present invention according to from configuration server Node creation information (including mock protocol type and service providing end slogan), generate preconfigured corresponding mock protocol class The mock service node of type is met a variety of so as to realize the mock of the input parameter to different mock protocol types The testing requirement of the data of mock protocol type;Mock service node is according to according to the configuration information received from configuration server (mode type including test), the mode type of switching mock service node is the mode type, and is serviced and saved by mock Point receives test data from service consumer, and returns to corresponding with test data request test data to service consumer, by Have different test functions in the mock service node of different mode type so that mock service node can be realized it is a variety of Test function meets a plurality of types of functional test demands of extensive Service-oriented architecture, improves test flexibility ratio, be Software test offers convenience.
Ninth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer The test method in the 4th or the 5th embodiment in any embodiment is realized when program is executed by processor.
In terms of existing technologies, mock service node receives embodiments of the present invention according to from configuration server Node creation information (including mock protocol type and service providing end slogan), generate preconfigured corresponding mock protocol class The mock service node of type is met a variety of so as to realize the mock of the input parameter to different mock protocol types The testing requirement of the data of mock protocol type;Mock service node is according to according to the configuration information received from configuration server (mode type including test), the mode type of switching mock service node is the mode type, and is serviced and saved by mock Point receives test data from service consumer, and returns to corresponding with test data request test data to service consumer, by Have different test functions in the mock service node of different mode type so that mock service node can be realized it is a variety of Test function meets a plurality of types of functional test demands of extensive Service-oriented architecture, improves test flexibility ratio, be Software test offers convenience.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (15)

1. a kind of configuration method, which is characterized in that be applied to configuration server;The configuration method includes:
Mock service node is pre-created on service node device;
Detect whether that the pattern configurations for receiving user terminal are requested;The pattern configurations request includes at least the mode class of test Type;
If receiving pattern configurations request, by the service node device by the mode type of the mock service node It is configured to the mode type, so that service consumer calls the mock service node of the mode type and receives the mock The test data that service node returns;The mock service node of different mode type has different test functions.
2. configuration method according to claim 1, which is characterized in that the mode type of the test is mock mode class Type, transparent transmission mode type or recording mode type;
It is described when the mode type for including in pattern configurations request is the transparent transmission mode type or recording mode type Pattern configurations request further includes the address information of service provider.
3. configuration method according to claim 1, which is characterized in that it is described will be described by the service node device Mock service node is configured to corresponding mode type, so that service consumer calls the mock service node of the mode type And after receiving the test data that the mock service node returns, further includes:
Log query request is received, according to log query request from being obtained on the mock service node in logging device The log recording of biography;
The log recording is sent to the user terminal, so that user verifies corresponding test function according to the log recording Energy.
4. configuration method according to claim 1, which is characterized in that the configuration method further include:
The mock service node is closed/restarted to the closing/reset command for receiving the mock service node.
5. configuration method according to claim 1, which is characterized in that the configuration method further include:
It monitors that the mock service node is in abnormal operation, sends prompt information to the user terminal.
6. configuration method according to claim 1, which is characterized in that the mode for detecting whether to receive user terminal Before configuring request, further includes:
The test returned under the mock mode type to the mock service node is received from the user terminal The data configuration of data is requested, and is matched according to the test data that data configuration request returns to the mock service node It sets;
The mock service node will be sent to the test data postponed.
7. a kind of test method, which is characterized in that be applied to service node device;The test method includes:
Node creation information is received from configuration server, the mock protocol type and clothes that information includes are created according to the node Business provides port numbers, generates the mock service node of the preconfigured correspondence mock protocol type;
Pattern configurations information is received from the configuration server, according to the mode class for the test that the pattern configurations information includes The mode type of the mock service node is switched to the mode type by type;
Test data request is received from service consumer by the mock service node, and returns to the test data request pair The test data answered is to the service consumer.
8. test method according to claim 7, which is characterized in that when the mode type is mock mode type, It is described to return to the test data and request corresponding test data to the service consumer, specifically:
By the mock service node according to the default corresponding relationship of test data request and test data, the test is returned The corresponding test data of request of data is to the service consumer.
9. test method according to claim 8, which is characterized in that described to return to the corresponding survey of the test data request After examination data to the service consumer, further includes:
By the mock service node send with the log recording that is interacted between the service consumer to logging device, for User terminal obtains the log recording by the configuration server.
10. test method according to claim 7, which is characterized in that when the mode type is transparent transmission mode type, The corresponding test data of the test data request that returns is specifically included to the service consumer:
Test data request is pass-through to the service provider by the mock service node;
The test data, which is received, from the service provider by the mock service node requests corresponding test data Afterwards, returning to the test data requests corresponding test data to the service consumer.
11. test method according to claim 10, which is characterized in that the return test data request is corresponding After test data to the service consumer, further includes:
It is sent by the mock service node with the log recording interacted between the service consumer, with the service and is provided The log recording of interaction is remembered to logging device so that user terminal obtains the log by the configuration server between side Record.
12. test method according to claim 7, which is characterized in that when the mode type is recording mode type, The corresponding test data of the test data request that returns is specifically included to the service consumer:
Test data request is pass-through to the service provider by the mock service node;
The test data, which is received, from the service provider by the mock service node requests corresponding test data Afterwards, the test data is returned to the service consumer;
The log recording communicated with the service consumer is sent to configuration server by the mock service node, for User terminal requests corresponding test data by test data described in the configuration server.
13. test method according to claim 12, which is characterized in that the day that will be communicated with the service consumer Will record is sent to configuration server, so that user terminal requests to correspond to by test data described in the configuration server Test data, specifically:
The log recording communicated with the service consumer is sent to configuration server by the mock service node, for The test data is requested corresponding test data by the configuration server by the user terminal, is configured to the mock The test data that service node returns under mock mode type requests corresponding test data.
14. a kind of configuration server characterized by comprising at least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out the configuration method as described in any in claim 1 to 6.
15. a kind of service node device characterized by comprising at least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out the test method as described in any in claim 7 to 13.
CN201811223248.9A 2018-10-19 2018-10-19 Configuration method, test method, configuration server and service node device Pending CN109344075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811223248.9A CN109344075A (en) 2018-10-19 2018-10-19 Configuration method, test method, configuration server and service node device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811223248.9A CN109344075A (en) 2018-10-19 2018-10-19 Configuration method, test method, configuration server and service node device

Publications (1)

Publication Number Publication Date
CN109344075A true CN109344075A (en) 2019-02-15

Family

ID=65310502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811223248.9A Pending CN109344075A (en) 2018-10-19 2018-10-19 Configuration method, test method, configuration server and service node device

Country Status (1)

Country Link
CN (1) CN109344075A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336863A (en) * 2019-06-19 2019-10-15 腾讯科技(深圳)有限公司 A kind of data reporting method and system
CN111026672A (en) * 2019-12-16 2020-04-17 广州品唯软件有限公司 Test method, terminal equipment and mock server
CN111367696A (en) * 2019-12-20 2020-07-03 苏州浪潮智能科技有限公司 Testing method and system based on Hive component of data warehouse tool
CN112052172A (en) * 2020-09-04 2020-12-08 云账户技术(天津)有限公司 Rapid testing method and device for third-party channel and electronic equipment
CN113448827A (en) * 2020-03-26 2021-09-28 北京沃东天骏信息技术有限公司 Test data processing method and device
CN114490336A (en) * 2021-12-28 2022-05-13 阿里云计算有限公司 Joint debugging test method, access system, front end and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335283A (en) * 2014-08-01 2016-02-17 阿里巴巴集团控股有限公司 Application testing method and device in terminal equipment
CN106970873A (en) * 2017-01-10 2017-07-21 阿里巴巴集团控股有限公司 Mock method of testings, apparatus and system on line
CN107395420A (en) * 2017-07-26 2017-11-24 携程计算机技术(上海)有限公司 Service end performance test methods, system, electronic installation and storage medium
CN108228457A (en) * 2017-12-29 2018-06-29 广州品唯软件有限公司 The test agent method and device of mobile terminal, computer readable storage medium
CN108345535A (en) * 2017-12-26 2018-07-31 阿里巴巴集团控股有限公司 Mock test methods, device and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335283A (en) * 2014-08-01 2016-02-17 阿里巴巴集团控股有限公司 Application testing method and device in terminal equipment
CN106970873A (en) * 2017-01-10 2017-07-21 阿里巴巴集团控股有限公司 Mock method of testings, apparatus and system on line
CN107395420A (en) * 2017-07-26 2017-11-24 携程计算机技术(上海)有限公司 Service end performance test methods, system, electronic installation and storage medium
CN108345535A (en) * 2017-12-26 2018-07-31 阿里巴巴集团控股有限公司 Mock test methods, device and equipment
CN108228457A (en) * 2017-12-29 2018-06-29 广州品唯软件有限公司 The test agent method and device of mobile terminal, computer readable storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336863A (en) * 2019-06-19 2019-10-15 腾讯科技(深圳)有限公司 A kind of data reporting method and system
CN110336863B (en) * 2019-06-19 2021-11-16 腾讯科技(深圳)有限公司 Data reporting method and system
CN111026672A (en) * 2019-12-16 2020-04-17 广州品唯软件有限公司 Test method, terminal equipment and mock server
CN111367696A (en) * 2019-12-20 2020-07-03 苏州浪潮智能科技有限公司 Testing method and system based on Hive component of data warehouse tool
CN113448827A (en) * 2020-03-26 2021-09-28 北京沃东天骏信息技术有限公司 Test data processing method and device
CN112052172A (en) * 2020-09-04 2020-12-08 云账户技术(天津)有限公司 Rapid testing method and device for third-party channel and electronic equipment
CN112052172B (en) * 2020-09-04 2024-01-30 云账户技术(天津)有限公司 Rapid test method and device for third-party channel and electronic equipment
CN114490336A (en) * 2021-12-28 2022-05-13 阿里云计算有限公司 Joint debugging test method, access system, front end and storage medium

Similar Documents

Publication Publication Date Title
CN109344075A (en) Configuration method, test method, configuration server and service node device
US8819638B2 (en) Application protoyping suite
KR101908467B1 (en) Method and apparatus for visualized network operation and maintenance
US11392873B2 (en) Systems and methods for simulating orders and workflows in an order entry and management system to test order scenarios
CN101502047B (en) A method and system for storing configuration information for network nodes in a network management system
CN107749807B (en) Network function verification method and verification system for NFV
CN110765024A (en) Simulation test method, simulation test device, electronic equipment and computer-readable storage medium
CN108768730A (en) Method and apparatus for operating intelligent network adapter
CN110677383B (en) Firewall wall opening method and device, storage medium and computer equipment
CN107113203A (en) The connective equipment, system and method for debugging network
CN112039868A (en) Firewall policy verification method, device, equipment and storage medium
CN110377325A (en) Interface allocation method, interface call method, device, equipment and storage medium
CN115309566A (en) Dynamic management method and system for service interface
CN107911251A (en) A kind of method for configuring network equipment, device and medium
CN110430084A (en) Node state monitoring method and device
Comer et al. Toward disaggregating the SDN control plane
CN107181606B (en) Method and apparatus for controlling network nodes
CN106921675A (en) The method and apparatus that a kind of Intelligent hardware accesses limited network
CN110460474A (en) The configuration method and device of functions of the equipments, storage medium, electronic equipment
US10310962B2 (en) Infrastructure rule generation
JP2015233283A (en) Interconnection network simulator and method for simulating interconnection network
CN115065720A (en) Method and device for automatically adapting a plurality of external registries to service grid Istio
CN113992517A (en) PaaS platform-based method and system for realizing network external service
CN109271310B (en) Development testing method and device for network function of mobile application program
CN101145953B (en) Method and system for dynamic debugging of network device management software

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190215