Supercharge Your Innovation With Domain-Expert AI Agents!

Script testing method and device

A script test and script technology, which is applied in the computer field, can solve problems such as test scripts not establishing script relationships, test result errors, etc., and achieve the effect of improving the speed and accuracy of test results

Active Publication Date: 2017-12-08
LUSTER TERABAND PHOTONICS TECHNOLOGY CO LTD
View PDF11 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a script testing method and device to solve the problem that the test script does not establish the relationship between the scripts in the traditional method, resulting in errors in the test results

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
  • Script testing method and device
  • Script testing method and device
  • Script testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] see figure 2 , is a flow chart of a script testing method provided in the embodiment of the present application, such as figure 2 As shown, the method includes:

[0022] S101. Acquire feature information of a script to be tested, where the feature information includes script byte count and script direction.

[0023] Judging whether the format of the loaded script to be tested meets the test requirements; if the format of the script to be tested meets the test requirements, acquiring the information of the script to be tested. For example, the Smartflow software is installed in the Smartbit tester. The Smartflow software is a graphical software for the throughput, delay, jitter, and packet loss rate tests on the Smartbit instrument, and the script format that runs during the Smartflow test is also specific, so if it passes When using the Smartflow software in the Smartbit tester, it is necessary to judge whether the format of the loaded script to be tested can be run...

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 embodiment of the invention discloses a script testing method and device. The method includes the steps of obtaining feature information of to-be-tested scripts, wherein the feature information includes script byte numbers and script direction; according to the script byte numbers and the script direction, dividing the to-be-tested scripts into groups, and setting the to-be-tested scripts which are same in script byte number and script direction into one testing group; according to the total script number and the total script byte number of the testing groups, determining a testing sequence; according to a preset script testing index and the testing sequence, testing the to-be-tested scripts in each testing group. By dividing the to-be-tested scripts into the groups according to the feature information of the to-be-tested scripts, a relationship among scripts can be effectively built, and therefore when need initial parameters, the scripts running later can directly obtain the initial parameters of other scripts in the same group during running; multiple testing groups are tested successively, so that the script testing speed is increased and the accuracy of testing results is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a script testing method and device. Background technique [0002] Smartbit tester is a test instrument used to test network equipment data, and is widely used in the verification of network equipment functions and performance. figure 1 Schematic diagram of automatically testing network equipment for Smartbit tester, such as figure 1 The Smartbit tester shown is connected to the control computer and the device under test respectively. The user inputs test instructions to the control computer through control, and the control computer sends the corresponding control instructions to the Smartbit tester. After receiving the test instructions from the control computer, the Smartbit tester , to test the network equipment performance indicators such as throughput, delay and packet loss rate of the network equipment to be tested. [0003] In the prior art, when the Smartbit ...

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/36
CPCG06F11/3688
Inventor 浦毅彬姚毅张见陈佳妮
Owner LUSTER TERABAND PHOTONICS TECHNOLOGY CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More