CN116188107A - Test order generation method, device, equipment and storage medium - Google Patents

Test order generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN116188107A
CN116188107A CN202310126314.5A CN202310126314A CN116188107A CN 116188107 A CN116188107 A CN 116188107A CN 202310126314 A CN202310126314 A CN 202310126314A CN 116188107 A CN116188107 A CN 116188107A
Authority
CN
China
Prior art keywords
target
list
commodity code
attribute
order
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
CN202310126314.5A
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.)
Shanghai Juhuotong E Commerce Co ltd
Shanghai Jushuitan Network Technology Co ltd
Original Assignee
Shanghai Juhuotong E Commerce Co ltd
Shanghai Jushuitan Network 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 Shanghai Juhuotong E Commerce Co ltd, Shanghai Jushuitan Network Technology Co ltd filed Critical Shanghai Juhuotong E Commerce Co ltd
Priority to CN202310126314.5A priority Critical patent/CN116188107A/en
Publication of CN116188107A publication Critical patent/CN116188107A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • 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
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for generating a test order. The invention relates to the technical field of testing. The method comprises the following steps: calling a preset interface to obtain an online platform shop list and a commodity code list of a user of the target account number on a third party platform; displaying the online platform shop list and the commodity code list through a page, responding to a first setting operation, acquiring target shops and target commodity codes, responding to a second setting operation, and determining attribute information of a test order; and generating a set format message according to the target store, the target commodity code and the attribute information, and generating a test order according to the set format message. The embodiment of the invention solves the problem of disordered formats when manufacturing virtual orders of different electronic commerce platforms, is beneficial to unifying the formats of the test orders, improves the generation quality and efficiency of the test orders, and ensures the smooth performance of test development work.

Description

Test order generation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of testing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a test order.
Background
With the vigorous development of electronic commerce, a plurality of electronic commerce platforms are developed, and the order formats generated by different electronic commerce platforms are different, for example, different degrees of difference exist in field meaning, field quantity and the like.
Typically, test development work requires the acquisition of orders for a large number of different e-commerce platforms, which are typically created manually, and thus, test orders for a large number of different e-commerce platforms need to be manufactured to complete the test development work. However, since the order formats of the e-commerce platforms are different, the order is easy to be confused when being manufactured. The reasons not only make the order making efficiency not high, but also seriously influence the quality of the test order.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for generating test orders, which are used for solving the problem of format confusion during manufacturing virtual orders of different electronic commerce platforms.
According to an aspect of the present invention, there is provided a method for generating a test order, including:
calling a preset interface to obtain an online platform shop list and a commodity code list of a user of the target account number on a third party platform;
displaying the online platform shop list and the commodity code list through a page, responding to a first setting operation, acquiring target shops and target commodity codes, responding to a second setting operation, and determining attribute information of a test order;
and generating a set format message according to the target store, the target commodity code and the attribute information, and generating a test order according to the set format message.
According to another aspect of the present invention, there is provided a test order generating apparatus, including:
the list acquisition module is used for calling a preset interface to acquire an online platform shop list and a commodity code list of a user of the target account number on a third party platform;
the information setting module is used for displaying the online platform store list and the commodity code list through pages, responding to a first setting operation, acquiring target stores and target commodity codes, responding to a second setting operation, and determining attribute information of a test order;
and the order generation module is used for generating a set format message according to the target store, the target commodity code and the attribute information and generating a test order according to the set format message.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating a test order according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a method for generating a test order according to any embodiment of the present invention.
According to the technical scheme, a user of the target account number is obtained through calling a preset interface, and the online platform shop list and the commodity code list of the third party platform are obtained; displaying the online platform shop list and the commodity code list through a page, responding to a first setting operation, acquiring target shops and target commodity codes, responding to a second setting operation, and determining attribute information of a test order; and generating a set format message according to the target store, the target commodity codes and the attribute information, and generating a test order according to the set format message, so that the problem of format confusion in the process of manufacturing virtual orders of different electronic commerce platforms is solved, the format of the test order is unified, the generation quality and efficiency of the test order are improved, and the smooth performance of test development work is ensured.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for generating a test order according to a first embodiment of the present invention;
FIG. 2 is a diagram showing a login page according to an embodiment of the present invention;
FIG. 3 is a first page display diagram according to an embodiment of the present invention;
FIG. 4 is a second page display diagram according to an embodiment of the present invention;
FIG. 5 is a flowchart of another method for generating a test order according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a test order generating device according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for generating a test order according to an embodiment of the present invention, where the method may be performed by a test order generating device for each electronic commerce platform, the test order generating device may be implemented in hardware and/or software, and the test order generating device may be configured in an electronic device. For example, the electronic device may be a server or a cluster of servers, or the like. As shown in fig. 1, the method includes:
step 110, calling a preset interface to obtain an online platform shop list and a commodity code list of a user of the target account number on a third party platform.
The account number is an account number of a user in an ERP system, and the ERP system is a system for managing online platform stores of the user on each third party platform. For example, the ERP system may be used to make virtual orders for various third party platforms. The third party platform may be an e-commerce platform. The store list refers to a list formed by stores of the same user on each third party platform. The commodity code list is a list formed by commodities contained in each store in the store list.
The method for calling the preset interface to obtain the online platform shop list and the commodity code list of the user of the target account number on the third party platform comprises the following steps:
invoking a store list interface through the ERP system to acquire an online platform store list of the user of the target account in the database on a third party platform; and calling a commodity code list interface through the ERP system to acquire a commodity code list of the user of the target account in the database on a third party platform.
The database is a database of the ERP system.
Specifically, store and commodity information of the user on the third party platform is stored in a database of the ERP system in advance, and can be directly called from the database through a store list interface or a commodity code list interface when the user needs to use the ERP system.
Before the user calling the preset interface to obtain the target account number obtains the online platform shop list and the commodity code list of the third party platform, the method further comprises the following steps:
under the condition that a target account successfully logs in an ERP system for the first time, acquiring an online platform shop list and a commodity code list of a user of the target account on a third party platform; and storing the online platform shop list and the commodity code list of the third party platform into a database of the ERP system.
Specifically, the acquisition of the online platform store list and the commodity code list of the user on the third party platform is performed under the condition that the user logs in the ERP system for the first time, and can acquire online store information and commodity code information of the user on all the third party platforms according to the authorization of the user, or acquire the online store information and commodity code information of the user on the third party platform according to the third party platform selected by the user. Store the online platform store information and commodity code information of the user on the third party platform in the form of online platform store list and commodity code list in the database of the ERP system, and then log in the ERP system again by the user, and can directly call the list from the database.
Before the user calling the preset interface to obtain the target account number obtains the online platform shop list and the commodity code list of the third party platform, the method further comprises the following steps:
logging in the ERP system according to the ERP system address, the user name and the password; and under the condition that the login is successful, a preset interface is called through the ERP system to acquire an online platform shop list and a commodity code list of the user of the target account number on a third party platform.
Specifically, fig. 2 is a display diagram of a login page provided in the first embodiment of the present invention, as shown in fig. 2, a user inputs an ERP system address (Host address), a user name (account number) and a password on the login page, clicks a one-click login button to login, and obtains data such as an online platform shop list and a commodity code list, which are stored in a database when the account number logs in for the first time, after successful login.
And 120, displaying the online platform store list and the commodity code list through a page, responding to a first setting operation, acquiring target stores and target commodity codes, responding to a second setting operation, and determining attribute information of the test order.
Wherein the first setting operation is a normal setting operation and the second setting operation is an advanced setting operation. The attribute information of the test order includes the attribute of the commodity of the order, the attribute of the type of the order, the attribute of the addressee, the attribute of payment and the like, and the attribute information can be freely set by the user.
The method comprises the steps of responding to a first setting operation, obtaining target shops and target commodity codes, responding to a second setting operation, and determining attribute information of a test order, wherein the method comprises the following steps:
acquiring a first setting operation in a first setting page, wherein the first setting operation comprises an online platform shop name of a test order to be generated and a commodity code of the test order to be generated; taking the online platform shop name to be generated with the test order in the first setting operation as a target shop; taking the commodity code to be generated into the test order in the first setting operation as a target commodity code; acquiring a second setting operation in a second setting page, wherein the second setting operation comprises an order commodity attribute, an order type attribute, a receiver attribute and a payment attribute of a test order to be generated; and determining the attribute information of the test order according to the order commodity attribute, the order type attribute, the receiver attribute and the payment attribute.
Specifically, fig. 3 is a first setting page display diagram according to a first embodiment of the present invention. As shown in fig. 3, the user may complete the first setting operation in the first setting page, and may select the target store based on the online platform store name in the online platform store list, and select the target commodity code based on the commodity code in the commodity code list. After determining the target store and the target commodity, the user may also perform a second setting operation based on the second setting page.
Fig. 4 is a second setup page display diagram according to a first embodiment of the present invention. As shown in fig. 4, the second setting operation may include an order merchandise attribute, an order type attribute, a recipient attribute, and a payment attribute of the test order to be generated. Specific parameter settings are also included for each attribute. By way of example, the merchandise attributes may include the number of merchandise items, whether the merchandise items contain gifts, merchandise amounts, and the like. And finishing all attribute information determination of the test order according to the first setting operation and the second setting operation.
And 130, generating a set format message according to the target store, the target commodity code and the attribute information, and generating a test order according to the set format message.
The set format message may be a json message. The test order is a virtual order for test development work.
Generating a set format message according to the target store, the target commodity code and the attribute information, and generating a test order according to the set format message, wherein the method comprises the following steps:
generating json messages according to the target shops, the target commodity codes and the attribute information; and calling an order import interface to import the json message into the ERP system, and calling an order generation interface through the ERP system to generate a test order based on the json message, wherein the test order is a virtual order corresponding to a third party platform.
Specifically, a json message is generated according to the target store, the target commodity code and the attribute information dynamically set by the user, the json message is imported into an ERP system by calling an order import interface, and a virtual order for testing and developing work is generated based on the imported json message by calling an order generation interface through the ERP system. It should be noted that, the attribute information set above may be directly multiplexed or may be modified for use when an order is generated next time after being stored.
In the embodiment, a user of the target account number is obtained by calling a preset interface to obtain an online platform shop list and a commodity code list of a third party platform; displaying the online platform shop list and the commodity code list through a page, responding to a first setting operation, acquiring target shops and target commodity codes, responding to a second setting operation, and determining attribute information of a test order; and generating a set format message according to the target store, the target commodity codes and the attribute information, and generating a test order according to the set format message, so that the problem of format confusion in the process of manufacturing virtual orders of different electronic commerce platforms is solved, the format of the test order is unified, the generation quality and efficiency of the test order are improved, and the smooth performance of test development work is ensured.
Example two
Fig. 5 is a flowchart of another method for generating a test order according to the second embodiment of the present invention. The method and the device are suitable for the situation that the user logs in the ERP system for the first time. As shown in fig. 5, the method includes:
step 201, a user inputs ERP system address, user name and password.
Specifically, registration and binding should also be performed before the user logs in for the first time.
Step 202, judging whether the login is successful; if not, executing 203; if yes, execution proceeds to 204.
Step 203, prompt the user for login failure.
And 204, calling a store list interface and a commodity code list interface to acquire online platform store information and commodity code information of the account number on a third party platform, generating an online platform store list and a commodity code list, and determining target stores and target commodity codes according to the online platform store list and the commodity code list.
Step 205, attribute information such as order commodity attribute, order type attribute, recipient attribute, payment attribute and the like is set.
The order commodity attributes may include a single item, multiple items, whether including a gift, etc. The order type attributes may include attributes of the order source platform, the name of the courier company, whether there is a preferential amount, etc. The recipient attributes may include recipient address, contact address, etc. The payment attributes may include payment means, payment amount, etc.
And 206, generating json messages according to the target shops, the target commodity codes and the attribute information.
Step 207, calling an order import interface to import the json message into the ERP system.
Step 208, the json message is called by the ERP system to generate a test order by calling an order generation interface.
In this embodiment, a set format message is generated according to the target store, the target commodity code and the attribute information, and a test order is generated according to the set format message, so that the problem of format confusion in manufacturing virtual orders of different e-commerce platforms is solved, the format of the test order is facilitated to be unified, the generation quality and efficiency of the test order are improved, and smooth performance of test development work is ensured.
Example III
Fig. 6 is a schematic structural diagram of a test order generating device according to a third embodiment of the present invention. As shown in fig. 6, the apparatus includes:
the list obtaining module 301 is configured to invoke a preset interface to obtain an online platform store list and a commodity code list of a third party platform for a user of the target account;
the information setting module 302 is configured to display the online platform store list and the commodity code list through a page, obtain a target store and a target commodity code in response to a first setting operation, and determine attribute information of a test order in response to a second setting operation;
the order generation module 303 is configured to generate a set format message according to the target store, the target commodity code and the attribute information, and generate a test order according to the set format message.
In the embodiment, a user of the target account number is obtained by calling a preset interface to obtain an online platform shop list and a commodity code list of a third party platform; displaying the online platform shop list and the commodity code list through a page, responding to a first setting operation, acquiring target shops and target commodity codes, responding to a second setting operation, and determining attribute information of a test order; and generating a set format message according to the target store, the target commodity codes and the attribute information, and generating a test order according to the set format message, so that the problem of format confusion in the process of manufacturing virtual orders of different electronic commerce platforms is solved, the format of the test order is unified, the generation quality and efficiency of the test order are improved, and the smooth performance of test development work is ensured.
Optionally, before the user invoking the preset interface to obtain the online platform store list and the commodity code list of the target account number of the third party platform, the device is further configured to:
under the condition that a target account successfully logs in an ERP system for the first time, acquiring an online platform shop list and a commodity code list of a user of the target account on a third party platform;
and storing the online platform shop list and the commodity code list of the third party platform into a database of the ERP system.
Optionally, the list obtaining module 301 is specifically configured to:
the first acquisition submodule is used for calling a store list interface through the ERP system and acquiring an online platform store list of the user of the target account in the database on a third party platform;
and the second acquisition sub-module is used for calling a commodity code list interface through the ERP system to acquire a commodity code list of the user of the target account in the database on a third party platform.
Optionally, before the user invoking the preset interface to obtain the online platform store list and the commodity code list of the target account number of the third party platform, the device is further configured to:
logging in the ERP system according to the ERP system address, the user name and the password;
and under the condition that the login is successful, a preset interface is called through the ERP system to acquire an online platform shop list and a commodity code list of the user of the target account number on a third party platform.
Optionally, the information setting module 302 is specifically configured to:
acquiring a first setting operation in a first setting page, wherein the first setting operation comprises an online platform shop name of a test order to be generated and a commodity code of the test order to be generated;
taking the online platform shop name to be generated with the test order in the first setting operation as a target shop;
taking the commodity code to be generated into the test order in the first setting operation as a target commodity code;
acquiring a second setting operation in a second setting page, wherein the second setting operation comprises an order commodity attribute, an order type attribute, a receiver attribute and a payment attribute of a test order to be generated;
and determining the attribute information of the test order according to the order commodity attribute, the order type attribute, the receiver attribute and the payment attribute.
Optionally, before generating the format setting message according to the target store, the target commodity code and the attribute information, the device is further configured to:
and storing the target store, the target commodity code, the order commodity attribute, the order type attribute, the receiver attribute and the payment attribute as setting examples, and multiplexing setting information through the setting examples, wherein the setting information comprises the target store, the target commodity code, the order commodity attribute, the order type attribute, the receiver attribute and the payment attribute.
Optionally, the order generation module 303 is specifically configured to:
generating json messages according to the target shops, the target commodity codes and the attribute information;
and calling an order import interface to import the json message into the ERP system, and calling an order generation interface through the ERP system to generate a test order based on the json message, wherein the test order is a virtual order corresponding to a third party platform.
The test order generating device provided by the embodiment of the invention can execute the test order generating method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example IV
Fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the generation of a method test order.
In some embodiments, the generation of the method test order may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the generation of the method test order described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the generation of the method test order in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of generating a test order, comprising:
calling a preset interface to obtain an online platform shop list and a commodity code list of a user of the target account number on a third party platform;
displaying the online platform shop list and the commodity code list through a page, responding to a first setting operation, acquiring target shops and target commodity codes, responding to a second setting operation, and determining attribute information of a test order;
and generating a set format message according to the target store, the target commodity code and the attribute information, and generating a test order according to the set format message.
2. The method of claim 1, further comprising, prior to invoking the preset interface to obtain the online platform store list and the commodity code list of the third party platform for the user of the target account number:
under the condition that a target account successfully logs in an ERP system for the first time, acquiring an online platform shop list and a commodity code list of a user of the target account on a third party platform;
and storing the online platform shop list and the commodity code list of the third party platform into a database of the ERP system.
3. The method according to claim 2, wherein the invoking the preset interface to obtain the online platform store list and the commodity code list of the target account number by the user on the third party platform comprises:
invoking a store list interface through the ERP system to acquire an online platform store list of the user of the target account in the database on a third party platform;
and calling a commodity code list interface through the ERP system to acquire a commodity code list of the user of the target account in the database on a third party platform.
4. A method according to any one of claims 1-3, further comprising, prior to invoking the preset interface to obtain the online platform store list and the commodity code list of the third party platform for the user of the target account number:
logging in the ERP system according to the ERP system address, the user name and the password;
and under the condition that the login is successful, a preset interface is called through the ERP system to acquire an online platform shop list and a commodity code list of the user of the target account number on a third party platform.
5. The method of claim 1, wherein the obtaining the target store and the target commodity code in response to the first setting operation, and the determining the attribute information of the test order in response to the second setting operation, comprises:
acquiring a first setting operation in a first setting page, wherein the first setting operation comprises an online platform shop name of a test order to be generated and a commodity code of the test order to be generated;
taking the online platform shop name to be generated with the test order in the first setting operation as a target shop;
taking the commodity code to be generated into the test order in the first setting operation as a target commodity code;
acquiring a second setting operation in a second setting page, wherein the second setting operation comprises an order commodity attribute, an order type attribute, a receiver attribute and a payment attribute of a test order to be generated;
and determining the attribute information of the test order according to the order commodity attribute, the order type attribute, the receiver attribute and the payment attribute.
6. The method of claim 5, further comprising, prior to generating a format-set message based on the target store, target commodity code, and attribute information:
and storing the target store, the target commodity code, the order commodity attribute, the order type attribute, the receiver attribute and the payment attribute as setting examples, and multiplexing setting information through the setting examples, wherein the setting information comprises the target store, the target commodity code, the order commodity attribute, the order type attribute, the receiver attribute and the payment attribute.
7. The method of claim 4, wherein generating a format-set message based on the target store, target commodity code, and attribute information, and generating a test order based on the format-set message, comprises:
generating json messages according to the target shops, the target commodity codes and the attribute information;
and calling an order import interface to import the json message into the ERP system, and calling an order generation interface through the ERP system to generate a test order based on the json message, wherein the test order is a virtual order corresponding to a third party platform.
8. A test order generation apparatus, comprising:
the list acquisition module is used for calling a preset interface to acquire an online platform shop list and a commodity code list of a user of the target account number on a third party platform;
the information setting module is used for displaying the online platform store list and the commodity code list through pages, responding to a first setting operation, acquiring target stores and target commodity codes, responding to a second setting operation, and determining attribute information of a test order;
and the order generation module is used for generating a set format message according to the target store, the target commodity code and the attribute information and generating a test order according to the set format message.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating a test order according to any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the method of generating a test order according to any one of claims 1-7.
CN202310126314.5A 2023-02-16 2023-02-16 Test order generation method, device, equipment and storage medium Pending CN116188107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310126314.5A CN116188107A (en) 2023-02-16 2023-02-16 Test order generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310126314.5A CN116188107A (en) 2023-02-16 2023-02-16 Test order generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116188107A true CN116188107A (en) 2023-05-30

Family

ID=86441843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310126314.5A Pending CN116188107A (en) 2023-02-16 2023-02-16 Test order generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116188107A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446876A (en) * 2015-11-03 2016-03-30 北京京东尚科信息技术有限公司 Service dimension based automatic testing method, apparatus and system
CN107592238A (en) * 2017-08-07 2018-01-16 千寻位置网络有限公司 Automatic test approach and system, service terminal, the memory of interface
CN108415832A (en) * 2018-02-07 2018-08-17 平安科技(深圳)有限公司 Automatic interface testing method, device, equipment and storage medium
CN111402005A (en) * 2020-03-18 2020-07-10 上海东普信息科技有限公司 E-commerce ERP system and management method thereof
CN115017039A (en) * 2022-05-31 2022-09-06 苏州浪潮智能科技有限公司 Automatic order processing method, system, equipment and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446876A (en) * 2015-11-03 2016-03-30 北京京东尚科信息技术有限公司 Service dimension based automatic testing method, apparatus and system
CN107592238A (en) * 2017-08-07 2018-01-16 千寻位置网络有限公司 Automatic test approach and system, service terminal, the memory of interface
CN108415832A (en) * 2018-02-07 2018-08-17 平安科技(深圳)有限公司 Automatic interface testing method, device, equipment and storage medium
CN111402005A (en) * 2020-03-18 2020-07-10 上海东普信息科技有限公司 E-commerce ERP system and management method thereof
CN115017039A (en) * 2022-05-31 2022-09-06 苏州浪潮智能科技有限公司 Automatic order processing method, system, equipment and medium

Similar Documents

Publication Publication Date Title
CN114579469A (en) Full link interface test method and device, electronic equipment and storage medium
CN116151718A (en) Overseas warehouse management system, method, equipment and storage medium
CN116227951A (en) Power distribution network project screening method, system, electronic equipment and storage medium
CN116188107A (en) Test order generation method, device, equipment and storage medium
CN115309730A (en) Data auditing method and device, electronic equipment and storage medium
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
CN112860762B (en) Method and apparatus for detecting overlapping time periods
CN113822745A (en) Article display method and device
CN116629810B (en) Operation recommendation method, device, equipment and medium based on building office system
CN116932033A (en) Component packaging method and device, electronic equipment and storage medium
CN116468824B (en) Animation redirection method, device, electronic equipment and storage medium
CN117667894A (en) Data migration method, device, electronic equipment and storage medium
CN117216066A (en) Material code generation method, device, equipment and storage medium
CN114911860A (en) Data interface generation method, data access method, data interface generation device, data access device, electronic equipment and medium
CN116245982A (en) Animation file generation method and device, electronic equipment and storage medium
CN117670236A (en) Mobile-terminal-based to-be-handled flow approval method, device, equipment and medium
CN117873452A (en) Static variable management method, device, electronic equipment and storage medium
CN117742730A (en) Project deployment method and device, electronic equipment and storage medium
CN117371403A (en) Form component generation method, device, equipment and storage medium
CN116069319A (en) Form rendering method and device, electronic equipment and storage medium
CN115665022A (en) Method, device and equipment for testing hardware equipment interface and storage medium
CN117806702A (en) Target software acquisition method and device, electronic equipment and storage medium
CN116258594A (en) Method, device, equipment, medium and product for determining bond issuer default risk
CN115373659A (en) Business system construction method and device, electronic equipment and storage medium
CN115630517A (en) Simulation service integration method and device, electronic equipment and storage medium

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