CN112256587A - Data testing method and device based on SCRM system, electronic equipment and storage medium - Google Patents

Data testing method and device based on SCRM system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112256587A
CN112256587A CN202011244106.8A CN202011244106A CN112256587A CN 112256587 A CN112256587 A CN 112256587A CN 202011244106 A CN202011244106 A CN 202011244106A CN 112256587 A CN112256587 A CN 112256587A
Authority
CN
China
Prior art keywords
test
data
channel
scrm
library
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011244106.8A
Other languages
Chinese (zh)
Other versions
CN112256587B (en
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.)
Enyike Beijing Data Technology Co ltd
Original Assignee
Enyike Beijing Data 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 Enyike Beijing Data Technology Co ltd filed Critical Enyike Beijing Data Technology Co ltd
Priority to CN202011244106.8A priority Critical patent/CN112256587B/en
Priority claimed from CN202011244106.8A external-priority patent/CN112256587B/en
Publication of CN112256587A publication Critical patent/CN112256587A/en
Application granted granted Critical
Publication of CN112256587B publication Critical patent/CN112256587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/3676Test management for coverage analysis
    • 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/3684Test management for test design, e.g. generating new test cases
    • 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/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

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 application relates to a data testing method, a data testing device, electronic equipment and a storage medium based on an SCRM system, wherein the method comprises the following steps: constructing a test channel library and a test database according to the demand channels and the test cases, and completing configuration programs of corresponding channels by combining the initial demand data; outputting test data, namely acquiring and outputting the test data according to the corresponding channel data and the actual test scene conditions; and receiving and carrying out interactive functional test on the SCRM system according to the test data, and comparing the output test result with the test data to obtain an interactive test result of the SCRM system. The method comprises the steps of establishing a test channel library and a test database, matching the test channel library and the test database to corresponding channels, generating test data by utilizing an automatic test data generation program, and carrying out comprehensive interactive functional test on the SCRM system through scene random matching processing, so that the test data diversification is realized, the test scene is comprehensively covered, and the test scene is improved.

Description

Data testing method and device based on SCRM system, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer testing technologies, and in particular, to a data testing method and apparatus based on an SCRM system, an electronic device, and a storage medium.
Background
In the internet information era, enterprises can utilize each social platform to interact with users, accurately master user requirements, know user interest trends and solve problems encountered by the users. For the SCRM system (interactive and marketing customer experience management system), the testing workload is large and the coverage is single due to the diversity of data and the complex business logic of each social platform of the enterprise. At this moment, the workload of testing personnel is reduced, and the testing scene is comprehensively covered, so that the method is very important.
In the existing testing method, a test case is designed according to requirements, the interaction data of each social platform is tested according to the test case, and the interaction data of each social platform can be tested through pages or an interface is automatically tested by calling an interface, so that the existing testing method has the following defects that the former has the disadvantages of more repetitive work, low testing efficiency and difficulty in generating the test data; the latter has single test data and insufficient test scene coverage rate.
At present, no effective solution is provided aiming at the problems of repeated workload, influence on testing efficiency and incomplete coverage of testing scenes in the related technology.
Disclosure of Invention
The embodiment of the application provides a data testing method and device based on an SCRM system, electronic equipment and a storage medium.
In a first aspect, an embodiment of the present application provides a data testing method based on an SCRM system, including the following steps:
a configuration step, namely constructing a test channel library and a test database according to the demand channel and the test case, and combining the initial demand data to complete a configuration program of the corresponding channel;
outputting test data, namely acquiring and outputting the test data according to the corresponding channel data and the actual test scene conditions;
and a step of verifying a result, namely receiving and carrying out interactive functional test on the SCRM system according to the test data, and comparing the output test result with the test data to obtain an interactive test result of the SCRM system.
In some of these embodiments, the configuring step includes the steps of:
a step of constructing a test channel library, which is to design and construct the test channel library according to the requirement channel and the test case;
a step of constructing a test database, which is to construct a test database corresponding to the test channel library according to the test channel library and an automatic generation test data program;
and a configuration finishing step, namely receiving and finishing the configuration program of the corresponding channel by combining the test channel library and the test database according to initial demand data.
In some embodiments, the step of outputting test data comprises the steps of:
a channel data acquisition step, namely acquiring the channel data corresponding to a test scene program from the test channel library according to the test scene program;
acquiring a test data group, namely acquiring the test data group of a corresponding channel from the test database according to the channel data and the test scene conditions;
and a step of outputting test data, namely receiving and utilizing an acquisition program to randomly acquire a piece of test data according to the test data group and outputting the test data.
In some of these embodiments, the library of test channels includes, but is not limited to, a tremble channel, a small red book channel, a microblog channel.
In a second aspect, an embodiment of the present application provides a data testing apparatus based on an SCRM system, including:
the configuration module receives and constructs a test channel library and a test database according to the demand channel and the test case, and completes the configuration program of the corresponding channel by combining the initial demand data;
the test data output module is used for acquiring and outputting test data according to the corresponding channel data and the actual test scene conditions;
and the verification result module is used for receiving and carrying out interactive functional test on the SCRM system according to the test data, and comparing the output test result with the test data to obtain an interactive test result of the SCRM system.
In some of these embodiments, the configuration module comprises:
a test channel library unit is constructed, and the test channel library is designed and constructed according to the demand channel and the test case;
a test database building unit which builds a test database corresponding to the test channel library according to the test channel library and an automatic generation test data program;
and the configuration finishing unit is used for receiving and finishing the configuration program of the corresponding channel by combining the test channel library and the test database according to the initial demand data.
In some of these embodiments, the output test data module includes the steps of:
a channel data acquiring unit which acquires the channel data corresponding to the test scene program from the test channel library according to the test scene program;
the test data group acquisition unit acquires the test data group of the corresponding channel from the test database according to the channel data and the test scene conditions;
and the test data output unit receives and randomly acquires a piece of test data according to the test data group by using an acquisition program and outputs the test data.
In some of these embodiments, the library of test channels includes, but is not limited to, a tremble channel, a small red book channel, a microblog channel.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the SCRM system-based data testing method according to the first aspect is implemented.
In a fourth aspect, the present application provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the SCRM system-based data testing method as described in the first aspect above.
Compared with the related art, the data testing method and device based on the SCRM system, the electronic equipment and the storage medium provided by the embodiment of the application are matched with the corresponding channels by establishing the testing channel library and the testing database, the testing data is generated by utilizing the automatic generation testing data program, and the SCRM system is comprehensively and interactively tested in functionality by scene random matching processing, so that the diversification of the testing data is realized, the testing scene is comprehensively covered, and the testing scene is improved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flow chart of a data testing method based on an SCRM system according to an embodiment of the present application;
FIG. 2 is a flow chart of configuration steps according to an embodiment of the present application;
FIG. 3 is a flowchart of the step of outputting test data according to an embodiment of the present application;
FIG. 4 is a preferred flow chart for application to a dither tone according to an embodiment of the present application;
FIG. 5 is a block diagram of a data testing apparatus based on the SCRM system according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Description of the drawings:
1. a configuration module; 2. A test data output module; 3. A verification result module;
11. constructing a test channel library unit; 12. Constructing a test database unit;
13. completing the configuration unit; 21. Acquiring a channel data unit;
22. acquiring a test data group unit; 23. Outputting a test data unit;
81. a processor; 82. A memory; 83. A communication interface; 80. A bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
SCRM (Social Customer Relationship management), which is a short term for Social Relationship management, is referred to as "socialization" and "bidirectionality", and provides a transparent business environment that supports each other and is reliable to attract customers to interact with each other, and the demands of customers, i.e., enterprise targets, pay attention to all the interactive relationships between enterprises and business partners and customers, thereby creating new value for customers.
The Test Case (Test Case) refers to the description of a Test task performed on a specific software product, and embodies Test schemes, methods, techniques and strategies. The contents of the test object, the test environment, the input data, the test steps, the expected results, the test scripts and the like are included, and finally, a document is formed. Simply considered, a test case is a set of test inputs, execution conditions, and expected results tailored for a particular purpose to verify whether a particular software requirement is met.
The embodiment provides a data testing method based on an SCRM system. Fig. 1 is a flowchart of a data testing method based on an SCRM system according to an embodiment of the present application, and as shown in fig. 1, the flowchart includes the following steps:
a configuration step S1, constructing a test channel library and a test database according to the demand channels and the test cases, and completing configuration programs of corresponding channels by combining the initial demand data;
a test data output step S2, wherein test data are acquired and output according to the corresponding channel data and the actual test scene conditions;
and a step S3 of verifying the result, wherein the step S3 is used for receiving and carrying out interactive functional test on the SCRM system according to the test data, and comparing the output test result with the test data to obtain the interactive test result of the SCRM system.
Through the steps, the test channel library containing a plurality of channel data is obtained according to the demand channel and the test case, so that the method more comprehensively covers the test scene, and the test data is complete and diverse; according to the corresponding channel data and the actual test scene conditions, the test data group can be automatically obtained and the test data can be output, the test data can be automatically generated, the test efficiency is greatly improved, the workload of testers is reduced, and the test cost is saved; and the output test data is utilized to carry out interactive functional test on the SCRM system, so that the functional test is more convenient and faster, and the test result is more accurate.
Fig. 2 is a flowchart of configuration steps according to an embodiment of the present application, and in some embodiments, as shown in fig. 2, the configuration step S1 includes the following steps:
a step S11 of constructing a test channel library, wherein the test channel library is designed and constructed according to the demand channel and the test case;
a step S12 of constructing a test database, namely constructing the test database corresponding to the test channel library according to the test channel library and the automatic generation test data program;
and a step S13 of completing configuration, wherein the step S13 of receiving and combining the test channel library and the test database according to the initial demand data to complete the configuration program of the corresponding channel.
The constructed test database corresponds to channels in the test channel library, so that the accuracy of test data is ensured, and the automatic test data generation program is automatically generated according to the corresponding channels or scenes.
FIG. 3 is a flowchart of the step of outputting test data according to an embodiment of the present application, and in some embodiments, as shown in FIG. 3, the step of outputting test data S2 includes the following steps:
a channel data acquisition step S21, acquiring channel data corresponding to the test scene program from the test channel library according to the test scene program;
a test data group acquisition step S22, acquiring a test data group of a corresponding channel from a test database according to the channel data and the test scene conditions;
the output test data step S23 receives and randomly obtains a piece of test data according to the test data group by using the obtaining program, and outputs the test data.
In actual application, traversing a channel database according to a test scene program, and acquiring channel data corresponding to the test scene program from the test channel database; traversing the test database according to the channel data and the test scene conditions, and acquiring a test data group of a corresponding channel from the test database; and receiving and randomly acquiring a piece of test data according to the test data group by using an acquisition program and outputting the test data.
In some of these embodiments, the library of test channels includes, but is not limited to, a tremble channel, a small red book channel, a microblog channel.
The diversity of the channels in the test channel library further ensures that the method has wide coverage of test scenes and complete and diverse test data.
The embodiments of the present application are described and illustrated below by means of preferred embodiments.
In the preferred embodiment, the SCRM system is connected to the data of the jittering platform, the user interacts with the jittering account number of the enterprise in a private letter mode, and the enterprise replies to the user in a text mode.
Fig. 4 is a preferred flowchart applied to a dither according to an embodiment of the present application, and as shown in fig. 4, the data testing method includes the following steps:
1. constructing a test channel library according to the demand channel and the test case;
2. building a test database according to the buffeting channel data and the automatic test data generating program, and storing the generated buffeting test data into the test database;
3. receiving a jitter channel, and performing a jitter channel configuration program to complete configuration;
4. acquiring the data of the tremble channel corresponding to the scene from a test channel library according to scene test (the scene is tremble channel interaction and replies to the user through characters);
5. matching a jittering test data group replied by characters from a test database according to a jittering channel and actual scene conditions;
6. randomly acquiring a piece of jittering test data from the matched jittering test data group through an acquisition program and outputting the jittering test data;
7. carrying out an interactive function test of the SCRM system on the jittering test data, sending the output jittering test data to a user, and outputting a test result;
8. comparing the output test result with the output tremble test data to verify the correctness of the test result;
9. and obtaining the interactive test result of the SCRM system through the verification result.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The present embodiment further provides a data testing apparatus based on the SCRM system, which is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus is omitted here. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a data testing apparatus based on an SCRM system according to an embodiment of the present application, as shown in fig. 5, the apparatus includes:
the configuration module 1 receives and constructs a test channel library and a test database according to the demand channel and the test case, and completes the configuration program of the corresponding channel by combining the initial demand data;
the test data output module 2 is used for acquiring and outputting test data according to the corresponding channel data and the actual test scene conditions;
and the verification result module 3 is used for receiving and carrying out interactive functional test on the SCRM system according to the test data, and comparing the output test result with the test data to obtain an interactive test result of the SCRM system.
In some of these embodiments, the configuration module 1 comprises:
a test channel library constructing unit 11 for designing and constructing a test channel library according to a demand channel and a test case;
a test database constructing unit 12 for constructing a test database corresponding to the test channel library according to the test channel library and the automatic generation test data program;
and the configuration finishing unit 13 is used for receiving and finishing the configuration program of the corresponding channel by combining the test channel library and the test database according to the initial demand data.
In some of these embodiments, the output test data module 2 includes the steps of:
a channel data acquiring unit 21 that acquires channel data corresponding to the test scenario program from the test channel library according to the test scenario program;
the test data group acquiring unit 22 acquires a test data group corresponding to the channel from the test database according to the channel data and the test scene condition;
and an output test data unit 23 that receives and randomly acquires a piece of test data according to the test data group by using the acquisition program and outputs the acquired test data.
In some of these embodiments, the library of test channels includes, but is not limited to, a tremble channel, a small red book channel, a microblog channel.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
In addition, the data testing method based on the SCRM system according to the embodiment of the present application described in conjunction with fig. 1 may be implemented by an electronic device. Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
The electronic device may include a processor 81 and a memory 82 storing computer program instructions.
Specifically, the processor 81 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 82 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 82 may include a Hard Disk Drive (Hard Disk Drive, abbreviated to HDD), a floppy Disk Drive, a Solid State Drive (SSD), flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 82 may include removable or non-removable (or fixed) media, where appropriate. The memory 82 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 82 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, Memory 82 includes Read-Only Memory (ROM) and Random Access Memory (RAM). The ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), Electrically rewritable ROM (EAROM), or FLASH Memory (FLASH), or a combination of two or more of these, where appropriate. The RAM may be a Static Random-Access Memory (SRAM) or a Dynamic Random-Access Memory (DRAM), where the DRAM may be a Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), an Extended data output Dynamic Random-Access Memory (EDODRAM), a Synchronous Dynamic Random-Access Memory (SDRAM), and the like.
The memory 82 may be used to store or cache various data files for processing and/or communication use, as well as possible computer program instructions executed by the processor 81.
The processor 81 reads and executes the computer program instructions stored in the memory 82 to implement any one of the SCRM system-based data testing methods in the above embodiments.
In some of these embodiments, the electronic device may also include a communication interface 83 and a bus 80. As shown in fig. 6, the processor 81, the memory 82, and the communication interface 83 are connected via the bus 80 to complete communication therebetween.
The communication interface 83 is used for implementing communication between modules, devices, units and/or equipment in the embodiment of the present application. The communication port 83 may also be implemented with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
The bus 80 includes hardware, software, or both to couple the components of the electronic device to one another. Bus 80 includes, but is not limited to, at least one of the following: data Bus (Data Bus), Address Bus (Address Bus), Control Bus (Control Bus), Expansion Bus (Expansion Bus), and Local Bus (Local Bus). By way of example, and not limitation, Bus 80 may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (FSB), a Hyper Transport (HT) Interconnect, an ISA (ISA) Bus, an InfiniBand (InfiniBand) Interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a microchannel Architecture (MCA) Bus, a PCI (Peripheral Component Interconnect) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a Video Electronics Bus (audio Electronics Association), abbreviated VLB) bus or other suitable bus or a combination of two or more of these. Bus 80 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The electronic equipment can obtain a test channel library and a test database based on the acquired demand channel, the test case, the initial demand data and the automatically generated test data program, select a specific channel and a test data group based on an actual application scene to obtain test data, input the test data into the SCRM system to execute, and compare the output test result with the test data to obtain an interactive test result of the SCRM system.
In addition, in combination with the data testing method based on the SCRM system in the foregoing embodiment, the embodiment of the present application may provide a storage medium to implement. The storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any one of the SCRM system based data testing methods in the above embodiments.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A data testing method based on an SCRM system is characterized by comprising the following steps:
a configuration step, namely constructing a test channel library and a test database according to the demand channel and the test case, and combining the initial demand data to complete a configuration program of the corresponding channel;
outputting test data, namely acquiring and outputting the test data according to the corresponding channel data and the actual test scene conditions;
and a step of verifying a result, namely receiving and carrying out interactive functional test on the SCRM system according to the test data, and comparing the output test result with the test data to obtain an interactive test result of the SCRM system.
2. The SCRM system based data testing method according to claim 1, wherein said configuring step comprises the steps of:
a step of constructing a test channel library, which is to design and construct the test channel library according to the requirement channel and the test case;
a step of constructing a test database, which is to construct a test database corresponding to the test channel library according to the test channel library and an automatic generation test data program;
and a configuration finishing step, namely receiving and finishing the configuration program of the corresponding channel by combining the test channel library and the test database according to initial demand data.
3. The SCRM system-based data testing method according to claim 1, wherein said step of outputting test data comprises the steps of:
a channel data acquisition step, namely acquiring the channel data corresponding to a test scene program from the test channel library according to the test scene program;
acquiring a test data group, namely acquiring the test data group of a corresponding channel from the test database according to the channel data and the test scene conditions;
and a step of outputting test data, namely receiving and utilizing an acquisition program to randomly acquire a piece of test data according to the test data group and outputting the test data.
4. The SCRM system-based data testing method according to claim 1, wherein said testing channel library comprises but is not limited to a trembler channel, a small red book channel, a micro blog channel.
5. A data testing apparatus based on SCRM system, comprising:
the configuration module receives and constructs a test channel library and a test database according to the demand channel and the test case, and completes the configuration program of the corresponding channel by combining the initial demand data;
the test data output module is used for acquiring and outputting test data according to the corresponding channel data and the actual test scene conditions;
and the verification result module is used for receiving and carrying out interactive functional test on the SCRM system according to the test data, and comparing the output test result with the test data to obtain an interactive test result of the SCRM system.
6. The SCRM system-based data testing apparatus according to claim 5, wherein said configuration module comprises:
a test channel library unit is constructed, and the test channel library is designed and constructed according to the demand channel and the test case;
a test database building unit which builds a test database corresponding to the test channel library according to the test channel library and an automatic generation test data program;
and the configuration finishing unit is used for receiving and finishing the configuration program of the corresponding channel by combining the test channel library and the test database according to the initial demand data.
7. The SCRM system based data testing apparatus according to claim 5, wherein said output test data module comprises the steps of:
a channel data acquiring unit which acquires the channel data corresponding to the test scene program from the test channel library according to the test scene program;
the test data group acquisition unit acquires the test data group of the corresponding channel from the test database according to the channel data and the test scene conditions;
and the test data output unit receives and randomly acquires a piece of test data according to the test data group by using an acquisition program and outputs the test data.
8. The SCRM system-based data testing apparatus according to claim 5, wherein said testing channel library comprises but is not limited to a trembler channel, a small red book channel, a micro blog channel.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the SCRM system based data testing method according to any of claims 1 to 4 when executing the computer program.
10. A storage medium having stored thereon a computer program, characterized in that the program, when being executed by a processor, implements the SCRM system based data testing method according to any one of claims 1 to 4.
CN202011244106.8A 2020-11-10 Data testing method and device based on SCRM system, electronic equipment and storage medium Active CN112256587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011244106.8A CN112256587B (en) 2020-11-10 Data testing method and device based on SCRM system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011244106.8A CN112256587B (en) 2020-11-10 Data testing method and device based on SCRM system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112256587A true CN112256587A (en) 2021-01-22
CN112256587B CN112256587B (en) 2024-06-28

Family

ID=

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3122023A1 (en) * 2014-03-20 2017-01-25 Huizhou TCL Mobile Communication Co., Ltd. Smart wristband testing method and testing system thereof
CN108763076A (en) * 2018-05-22 2018-11-06 深圳乐信软件技术有限公司 A kind of Software Automatic Testing Method, device, equipment and medium
CN109815119A (en) * 2018-12-14 2019-05-28 平安科技(深圳)有限公司 A kind of test method and device of APP link channel
CN109960648A (en) * 2017-12-26 2019-07-02 北京奇虎科技有限公司 A kind of test method of application program, device
CN110471834A (en) * 2019-06-28 2019-11-19 平安银行股份有限公司 Credit card analog detection method and relevant device under more transaction channels
CN110554958A (en) * 2019-08-01 2019-12-10 北京百度网讯科技有限公司 Graph database testing method, system, device and storage medium
CN111258882A (en) * 2020-01-03 2020-06-09 恩亿科(北京)数据科技有限公司 Test data acquisition method and device based on digital media system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3122023A1 (en) * 2014-03-20 2017-01-25 Huizhou TCL Mobile Communication Co., Ltd. Smart wristband testing method and testing system thereof
CN109960648A (en) * 2017-12-26 2019-07-02 北京奇虎科技有限公司 A kind of test method of application program, device
CN108763076A (en) * 2018-05-22 2018-11-06 深圳乐信软件技术有限公司 A kind of Software Automatic Testing Method, device, equipment and medium
CN109815119A (en) * 2018-12-14 2019-05-28 平安科技(深圳)有限公司 A kind of test method and device of APP link channel
CN110471834A (en) * 2019-06-28 2019-11-19 平安银行股份有限公司 Credit card analog detection method and relevant device under more transaction channels
CN110554958A (en) * 2019-08-01 2019-12-10 北京百度网讯科技有限公司 Graph database testing method, system, device and storage medium
CN111258882A (en) * 2020-01-03 2020-06-09 恩亿科(北京)数据科技有限公司 Test data acquisition method and device based on digital media system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CHIDI ORJI: "How To Test Your React Apps With The React Testing Library", pages 1 - 14, Retrieved from the Internet <URL:《https://www.smashingmagazine.com/2020/07/react-apps-testing-library/》> *
JINJIN ZHOU等: "Automatic Sleep Stage Classification With Single Channel EEG Signal Based on Two-Layer Stacked Ensemble Model", 《IEEE ACCESS ( VOLUME: 8)》, pages 57283 *
小二学测试: "软件测试用例设计(三)——场景法", pages 1 - 14, Retrieved from the Internet <URL:《https://blog.csdn.net/baidu_37837739/article/details/102823514?spm=1001.2014.3001.5502》> *
葛晋鹏: "物流软件自动化测试用例管理和执行调度的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 138 - 233 *

Similar Documents

Publication Publication Date Title
US9858177B2 (en) Automated test generation for multi-interface enterprise virtualization management environment
CN111045756B (en) Method, apparatus, computing device and medium for generating interface service
US9898395B2 (en) Unit-level formal verification for vehicular software systems
CN108897691A (en) Data processing method, device, server and medium based on interface analog service
CN110474900B (en) Game protocol testing method and device
US10572373B2 (en) Automated test generation for multi-interface and multi-platform enterprise virtualization management environment
US9329979B2 (en) Derivation of generalized test cases
CN109815112B (en) Data debugging method and device based on functional test and terminal equipment
CN114546738A (en) Server general test method, system, terminal and storage medium
CN110764996A (en) Contract testing method, system, storage medium and terminal equipment
CN110688111A (en) Configuration method, device, server and storage medium of business process
US7996801B2 (en) Methods and systems for on-the-fly chip verification
CN113032202B (en) Chip verification method, system, device, computer equipment and storage medium
CN112732547B (en) Service testing method and device, storage medium and electronic equipment
CN112256587A (en) Data testing method and device based on SCRM system, electronic equipment and storage medium
CN116701208A (en) Verification method, system, chip and device for kernel module in chip
CN112256587B (en) Data testing method and device based on SCRM system, electronic equipment and storage medium
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
CN113535338A (en) Interaction method, system, storage medium and electronic device for data access
CN112463627A (en) Testing method and system for enterprise WeChat, electronic equipment and storage medium
CN110297625B (en) Application processing method and device
CN113220362A (en) Log record obtaining method and device, computer equipment and storage medium
CN114443375A (en) Test method and device, electronic device and computer readable storage medium
CN111538663A (en) Test case generation method and device, computing device and medium
CN110825438B (en) Method and device for simulating data processing of artificial intelligence chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant