Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Service testing method and device

A business testing and post-testing technology, applied in the field of information processing, can solve problems such as the inability to meet the needs of different types of business testing, and achieve the effect of a simple testing process

Active Publication Date: 2014-08-06
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a business testing method to solve the problem that the existing same testing tool cannot meet different types of business testing requirements

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service testing method and device
  • Service testing method and device
  • Service testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 A schematic diagram of a system scenario to which the service testing method provided by Embodiment 1 of the present invention is shown is shown. For convenience of description, only parts related to this embodiment are shown.

[0029] Such as figure 1 As shown, the system includes a server 1, a management front desk 2 and a management background 3, and the server 1, the management front desk 2 and the management background 3 communicate through a network connection.

[0030] Wherein, the management front desk 2 can be any terminal device with network connection function, including but not limited to mobile phone, computer and so on.

[0031] The server 1 and the management background 3 can be a single server, or a server end composed of several functional servers.

[0032] Exemplarily, the system adopts a client / server (Client / Server, C / S) architecture. The container of management background 3 uses Apache's tomcat (jsp or servlet container). Management Fro...

Embodiment 2

[0041] figure 2 It shows the implementation flow of the service testing method provided by Embodiment 2 of the present invention, and the method process is described in detail as follows:

[0042] In step S201, service test request information is received, and the service test request information carries the service test interface information selected by the user.

[0043] In this embodiment, the service test request information may carry one or more service test interface information selected by the user, and each service test interface corresponds to a type of service. Such as image 3 As shown in a, jump to image 3 b, when a user selection is detected image 3 One or more business test interfaces shown in b, and when the selected business test interface is dragged and dropped to the circle test area on the right, the business test request information will be sent to the management background.

[0044] Wherein, in this embodiment, before receiving the service test requ...

Embodiment 3

[0074] Figure 5 The specific flow of the service testing method provided by Embodiment 3 of the present invention is shown, and the process of the method is described in detail as follows:

[0075] In step S501, the management background configures business information, and the business information includes business name, business type, business content, etc.;

[0076] In step S502, the management background builds a business test framework, including building a test-driven class framework, etc.;

[0077] In step S503, the management background receives the added business logic related to the business information;

[0078] In step S504, the management background loads the test protocol related to the business information;

[0079] In step S505, the management background receives the uploaded test cases and test drive classes related to business information;

[0080] In step S506, the management foreground displays the service test interfaces configured in the management ba...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the field of information processing, and provides a service testing method and device. The method comprises the following steps: receiving service testing request information, wherein the service testing request information carries information of a service testing interface selected by a user; looking for a testing drive class corresponding to the information of the service testing interface from a pre-stored testing drive class; performing the found testing drive class to load a corresponding testing case; extracting the content of the testing case, and sending the extracted content to a server for testing; receiving a testing result information returned by the server after the testing is finished according to the content in the testing case. By the adoption of the method and the device, the problem that the same testing tool cannot meet testing requirements of different services, is effectively solved, and automatic testing requirements of most services can be met.

Description

technical field [0001] The invention belongs to the technical field of information processing, and in particular relates to a service testing method and device. Background technique [0002] There are more and more types of enterprise business, and the internal structure is also very different. Therefore, the logical relationship between various businesses is also different, which increases the difficulty of business testing to a certain extent. [0003] In the prior art, services are mainly tested through test tools, but each test tool can generally only test one type of service, and the same test tool cannot meet the test requirements of different types of services. Contents of the invention [0004] The purpose of the embodiments of the present invention is to provide a business testing method to solve the problem that the existing same testing tool cannot meet different types of business testing requirements. [0005] The embodiment of the present invention is achieve...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/00
Inventor 刘洋刘楚蓉杨春喜张宁胡元甲敬巍
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products