Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

173 results about "API testing" patented technology

API testing is a type of software testing that involves testing application programming interfaces (APIs) directly and as part of integration testing to determine if they meet expectations for functionality, reliability, performance, and security. Since APIs lack a GUI, API testing is performed at the message layer. API testing is now considered critical for automating testing because APIs now serve as the primary interface to application logic and because GUI tests are difficult to maintain with the short release cycles and frequent changes commonly used with Agile software development and DevOps.

API testing for multi-tenant software-as-a-service

In an example embodiment, a singular test is used to validate a user entity data model for any type of instance in an efficient manner. This results in an Entity-Agnostic test. This approach provides tremendous savings from test implementation, support, data storage, and test triaging perspective, as well as being able to always validate the functional correctness of the data model for any customer / user.
Owner:SAP SE

Automatic testing method, system and equipment applied to WSDL sending interface and medium

The invention discloses an automatic test method, system and device applied to a WSDL sending interface and a medium, and the method comprises the steps: associating a single test case into various scenes through a scene page preset parameter rule, and verifying the coupling between interface response and scene logic in real time during automatic execution; a WSDL interface definition and parameterization rule engine is dynamically analyzed, and automatic execution of multiple test cases is achieved; encrypted feedback data flow returned by an interface is captured in real time, key indexes are dynamically analyzed and extracted, automatic comparison and root cause tracing are carried out based on a multi-dimensional verification rule, and a test report is generated. According to the method, the problems that interface testing depends on manual coding, the process is split and the maintenance cost is high in aerospace engineering can be solved, zero-code rapid verification, forward and reverse closed-loop testing and interface change self-adaptive maintenance are achieved, and the aerospace software testing efficiency and reliability are remarkably improved.
Owner:ORIENTAL SPACE TECH (SHANDONG) CO LTD

Python-based Web system automatic test method

The invention relates to a Python-based Web system automatic test method, which comprises the following steps of interface test data capture, page element acquisition, test framework establishment and establishment of a visual test platform by combining a UI (User Interface) and an interface case, in the interface test data capture, a charls tool is used for data capture, agent setting and SSL (Secure Socket Layer) certificate installation; after packet capturing is completed, file conversion in a yaml format is carried out; in the step of page element acquisition, related information of elements is acquired by using a method provided by Selenium, and a page is analyzed, processed and packaged. According to the method, the Web automatic test execution efficiency can be improved, the problem that the use threshold is too high is avoided, and the project risk and the labor cost are reduced.
Owner:HANGZHOU JIRUI NEW MATERIAL TECH +1

Interface automatic test management method and device, equipment and medium

The invention relates to an automatic interface test management method and device, equipment and a medium, and the method comprises the steps: obtaining an interface document of a to-be-tested interface, carrying out the analysis of the interface document, generating interface case data containing the primary configuration content of an interface case, and transmitting the interface case data to a server; performing execution grouping on the interface cases configured with the input parameter value set, generating a case execution group based on interface grouping information and a preset test execution strategy, setting an execution sequence and an exception handling rule for the case execution group, and generating a corresponding execution link at the same time; calling an execution link based on the trigger request to sequentially use each group of request content execution cases in the input parameter value set to execute the interface cases in the group, and generating corresponding case execution results; high automation and intelligentization are achieved in the whole interface test process, manual intervention is remarkably reduced, the test coverage rate is increased, the problem response speed is increased, and therefore the working efficiency of testers is effectively improved, and the human error risk is reduced.
Owner:BEIJING SHENZHOU EVERBRIGHT TECH CO LTD

Interface test optimization method, system and equipment based on artificial intelligence and medium

The invention is applicable to the technical field of interface testing, and provides an artificial intelligence-based interface testing optimization method, which comprises the following steps: constructing a multi-dimensional interface knowledge graph of a tested system, the multi-dimensional interface knowledge graph comprising but not limited to static structure information, business semantic information and running state feature information; based on the multi-dimensional interface knowledge graph, the driving state and the action space, deploying a test agent based on reinforcement learning; in the test agent, according to a preset multi-target reward function, executing a target-oriented exploration action, and generating a dynamic test case; according to the method, the twinborn test environment of the tested system is constructed for the test agent to perform exploratory test and generate the test case set, the value density of the test cases generated by the method is high, defects can be effectively found, the test cases are associated with interface service semantics and operation rules, and the reliability of the test cases is improved.
Owner:ANHUI SANQI JIYU NETWORK TECH CO LTD

Interface testing method, system and equipment

The interface testing method is applied to an interface testing system and comprises the steps that a script is called for interface testing, and a testing result of an interface is obtained; under the condition that the test result shows that the interface test system is abnormal, determining an abnormal type; and based on the exception type, determining a repair strategy for the interface test system. In the interface testing process, corresponding repairing strategies are set by determining different exception types. According to the interface testing method, system repairing can be carried out in a targeted mode, the situation that system repairing is carried out only in a single mode is avoided, and the efficiency of solving the abnormity is improved.
Owner:ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1

Console-based cross-type interface test method and system, terminal and medium

The invention relates to the field of interface testing, and particularly provides a cross-type interface testing method and system based on a console, a terminal and a medium, and the method comprises the steps: packaging a bottom layer function of an operating system through a dynamic link library; interface configuration information is analyzed from the interface registration request, and a unique ID is allocated to an interface and registered to a console; receiving an interface test request, selecting an execution mode according to a test strategy identifier carried in the test request, if the execution mode is a single-interface test, directly calling a target interface and introducing a test parameter to carry out an interface test, and if the execution mode is scripted, analyzing an interface calling sequence and a logic control rule in a test script to carry out the interface test; calling a corresponding adapter according to the interface type in the testing process; and generating a structured test report for display. According to the method, a lightweight and high-expansion cross-type interface test scheme is realized, and the test coverage rate and efficiency are improved through dynamic interface adaptation, scripted process control and visual result analysis.
Owner:INSPUR FINANCIAL INFORMATION TECHNOLOGY CO LTD

Test case level-to-level management system

According to the test case level-to-level management system provided by the invention, a dynamic perception-intelligent decision-accurate execution closed-loop system is constructed through cooperative operation of the intelligent arrangement center module, the multi-modal test fusion module and the heterogeneous execution environment adaptation module. Real-time dynamic allocation of test resources is realized based on a bidirectional sensing mechanism, and the resource utilization rate is improved; a data feedback channel of five-dimensional linkage of interface testing, function testing, UI testing, performance testing and safety testing is established through a multi-modal testing fusion module, and cross-modal conversion and multiplexing are carried out on key testing elements such as boundary value cases and safety injection points, so that the coverage rate of a testing scene is increased, and the defect escape rate is reduced; the heterogeneous execution environment adaptation module realizes automatic identification and accurate matching of a virtual machine, a container and a physical machine environment based on a feature fingerprint database, manual configuration errors are eliminated, environment adaptation time consumption is reduced, the test period is greatly shortened, and the defect positioning efficiency is greatly improved.
Owner:HUANENG INFORMATION TECH CO LTD +1

Augmenting Automated Runtime API Testing with Static Analysis

A method for developing a testing plan for API endpoints including: ingesting source code of the API for which the security findings were found; conducting or importing static analysis on the ingested source code and returning static analysis API inventory; ingesting a runtime API inventory from a runtime traffic inspection of network traffic to the API endpoints; extracting a set of features from the static analysis API inventory; extracting a set of features from the runtime API inventory; comparing features from the set of features from the static analysis API inventory with features from the set of features from the runtime API inventory; outputting matched pairs of runtime API inventory and static analysis API inventory; and generating a runtime testing plan based on the runtime API inventory augmented with the static API inventory.
Owner:APIIRO LTD

Web end deep learning framework test method based on constraint difference driving

The invention provides a Web end deep learning framework test method based on constraint difference driving, and belongs to the technical field of network security. In the method, implementation source codes and official document information of target APIs in a native deep learning framework and a Web platform deep learning framework are obtained, source code constraints and document constraints of the target APIs in the native deep learning framework and the Web platform deep learning framework are extracted respectively, and constraint fusion is carried out; wherein the constraint fusion refers to execution of intersection and difference set operation; and determining a legal range of test input based on the constraints in the intersection set, identifying boundary conditions which may trigger abnormal behaviors based on the constraints in the difference set, further generating a test case and executing a test so as to mine defects existing in the Web platform deep learning framework. According to the method, through automatic extraction and analysis of the constraint difference between the frameworks, automatic API testing for the Web platform deep learning framework is realized.
Owner:NAT UNIV OF DEFENSE TECH

Software product function test method and device, electronic equipment and storage medium

The invention relates to the technical field of software testing, can be applied to the field of science and technology finance / digital medical treatment, and discloses a software product function testing method and device, electronic equipment and a storage medium. The method comprises the steps of generating an artificial intelligence script for function testing of a target software product, wherein the artificial intelligence script runs based on a pre-trained product function automatic checking model; inputting the demand document, the test case, the code library and the test case of the target software product to the product function automatic checking model as test support data; driving the product function automatic checking model to generate interface test data according to the test support data and the artificial intelligence script; and in the test environment of the target software product, calling the tested function interface of the target software product by using the interface test data through the artificial intelligence script to obtain a function test result. According to the method, full-process automation of software product function testing is achieved, and testing efficiency and accuracy are improved.
Owner:CHINA PING AN PROPERTY INSURANCE CO LTD

Automatic test system and method for modular interface

The invention discloses an automatic testing system and method for a modular interface, and relates to the technical field of interface testing, and the system comprises an interface analysis module which is used for loading a to-be-analyzed interface document and extracting interface basic information from the to-be-analyzed interface document; the test case generation module is used for generating test cases of normal and abnormal scenes based on the interface basic information and a preset case template; the interface information comparison module is used for automatically detecting updating of an interface document, positioning changed content and synchronously updating a test case before the test is executed; the test execution module is used for executing an interface test by calling a test tool or a built-in Selenium interface automation framework; the test data analysis module is used for collecting test data generated in a test process in real time, and calling AI model analysis to quickly position an interface error reason; and the test document output module is used for summarizing the test data and the AI analysis result and generating a test report in multiple dimensions. According to the invention, the test and maintenance work of various interfaces can be rapidly and accurately completed.
Owner:INSPUR QILU SOFTWARE IND

Dynamic self-verification method based on business flow-test flow homologous heterogeneous execution

The invention discloses a dynamic self-verification method based on service flow-test flow homologous heterogeneous execution. The method comprises the following steps: uniformly describing service logic and a corresponding interface test contract through a strong type of domain specific language (DSL); the method comprises the following steps: simultaneously compiling homologous DSL descriptions into stateful business workflows executed by a process engine and stateless and combinable atomic test contract sets called by a test executor by utilizing a double-path compiling engine; during operation, loose coupling synchronous triggering and execution of a service flow and a test flow are realized based on a high-throughput event bus, and real-time and high-fidelity contract verification, performance monitoring and chaos probe testing are performed on cross-system interface calling in a production environment. According to the invention, the traditional post-event and off-line integration test is converted into the in-event, on-line and continuous system endogenous capability, and the industrial problems that the complex enterprise system group integration test is difficult and the operation and maintenance monitoring is passive are effectively solved.
Owner:ANHUI HIGH QUALITY MINING TECH DEV CO LTD

Methods, systems, apparatuses, devices, and media for testing software products

The application provides a method, system, device, equipment and medium for testing a software product, belonging to the technical field of data processing. The method is applied to a GTest engine and includes: in response to receiving a start instruction sent by a to-be-tested software product, performing an initialization operation of GTest and a loading operation of each test case, the to-be-tested software product being developed using an Unreal Engine, and the each test case including: each test case related to C++ interface testing of the to-be-tested software product, and / or each test case related to user interface (UI) testing of the to-be-tested software product; executing, by a test service, each test case loaded by the GTest engine to obtain an execution result of the each test case; and returning the execution result of the each test case to the to-be-tested software product.
Owner:CHINA TELECOM ARTIFICIAL INTELLIGENCE TECHNOLOGY (BEIJING) CO LTD

Automatic interface testing method and device, equipment, medium and program product

The invention relates to an automatic interface testing method and device, equipment, a medium and a computer program product. The method comprises the following steps: acquiring and analyzing a target data packet to obtain an interface calling sequence; the interface calling sequence comprises at least one test step; generating an initial test script according to the interface calling sequence; wherein the initial test script comprises parameter values corresponding to the test steps; generating a corresponding value expression for each parameter value to obtain a value mapping relationship between the parameter value and the value expression; according to the value mapping relationship, replacing each parameter value in the initial test script with a corresponding value expression to obtain a target test script; and executing the target test script to complete the test task of the to-be-tested interface. By adopting the method, the execution efficiency of interface testing can be improved.
Owner:SHANGHAI PUDONG DEVELOPMENT BANK

Circuit board element testing device

The utility model relates to a circuit board element testing device which comprises a rack, a positioning assembly used for positioning an element to be tested is arranged on the rack, a testing unit is arranged on the rack, and the testing unit comprises a probe testing assembly and an interface testing assembly. According to the utility model, through the test unit integrating the probe test assembly and the interface test assembly, circuit board probe test and element interface test can be carried out at the same time, and the comprehensive performance is strong; the device is simple to operate, convenient to use and capable of saving equipment investment cost.
Owner:久度兴业(苏州)科技有限公司

Integration test method, device, equipment, medium and product

The invention provides an integration test method and device, equipment, a medium and a product, and relates to the technical field of automatic testing, and the specific technical scheme is as follows: obtaining an action library corresponding to a test object of an integration test service, and screening a target action from test actions in the interface test dimension, the file test dimension, the database test dimension and the script test dimension of the action library, and generating a test case based on the target action. And performing collection processing according to the test case and a preset case to obtain a test task, and running the integrated test task based on the execution dependency relationship to obtain an integrated test result of the test object. According to the method, on one hand, the action library comprises the test actions under multiple test dimensions, and the test applicability is wider; and on the other hand, based on the execution dependency relationship, the integration test task is automatically operated, the integration test result of the test object is obtained, manual intervention on triggering and sequence control between cases is not needed, automatic test is achieved, and the test efficiency is improved.
Owner:CHINA CONSTRUCTION BANK +1

Automatic generation method of API (Application Program Interface) process scene based on gateway and large model

The invention discloses an automatic generation method of an API process scene based on a gateway and a large model, and relates to the technical field of API testing. The method comprises the steps of marking and executing a test case, capturing and verifying gateway data, exporting a JMX test script, exporting request response details, intelligently analyzing a large model, storing returned content as a standard JMX file, and executing verification. Through cooperative work of the gateway and the large model, automatic capture, data association analysis and test script generation of an API test scene are realized, the generation time of the API test script is shortened from an hour level to a minute level, and the efficiency is improved by more than 10 times; non-professionals can generate complex test scripts through simple operation, and dependence on professional testers is reduced; a large model automatically analyzes data association, and omission and errors caused by manual analysis are avoided; full-process automation from interface calling and capturing to test script generation is achieved, and tool switching is reduced.
Owner:SHENZHEN LANYOU TECHNOLOGY CO LTD

Interface testing method and device for business system, equipment and storage medium

The embodiment of the invention provides an interface testing method and device for a business system, equipment and a storage medium, relates to the technical field of testing, and can be applied to the field of financial science and technology. According to the method, field constraint information is obtained by analyzing a field constraint document of an interface, test data used for interface testing is generated based on the field constraint information, then target interface calling is carried out based on the test data, a calling result is obtained, the validity of the test data is analyzed based on the calling result, and a test analysis report is generated. According to the method, the test data conforming to the interface specification is quickly and comprehensively generated through the field constraint information of the interface, and the interface test efficiency and accuracy are improved. Besides, according to the method, the validity of the test data is intelligently analyzed based on the calling result, the test analysis report is generated, and the generation efficiency and reliability of the test analysis result are improved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Interface testing method and device, equipment, storage medium and program product

The invention relates to an interface testing method and device, equipment, a storage medium and a program product. The method comprises the steps of responding to an interface test event for a target interface, calling a work order system to generate a target test work order corresponding to the target interface according to original configuration parameters in the interface test event, and determining an interface test result of the target interface according to target feedback information when the target test work order flows in the work order system, and in response to a test ending request, according to the work order identification information of the target test work order, performing handling processing on the target test work order, the test ending request being initiated based on the target feedback information and / or the interface test result. By adopting the method, the reliability of interface testing can be improved.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Interface testing method and device based on knowledge graph

This invention provides a knowledge graph-based interface testing method and apparatus, relating to the field of artificial intelligence technology, and applicable to the financial technology field or other technical fields. The knowledge graph-based interface testing method includes: acquiring a test interface; determining the interface test model corresponding to the test interface; determining the business function corresponding to the interface test model; determining controls based on the business function; and performing test operations on the controls through an agent trained based on the operation interface and response interface in the interface test model to obtain the interface test results. This invention can automatically sort out call relationships and perform automated testing, achieving full coverage of interfaces.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Multifunctional test system for spaceflight time sequence control equipment

The invention relates to a multifunctional test system for spaceflight time sequence control equipment, and belongs to the technical field of engineering. Comprising a display, a mouse keyboard, a PXI mother board, a PXI controller, a control board card, a switching value output board card 1, a switching value output board card 2, a switching value acquisition board card 1, a switching value acquisition board card 2, a conditioning processing circuit, a programmable power supply, a power supply channel B1 and a power supply channel B2. The multifunctional test system provided by the invention meets the requirements of all function tests and interface tests of time sequence control equipment of different models, and realizes automatic tests of multiple pieces of equipment; in order to improve the test capability, a test case is solidified and a test result is automatically interpreted through a configuration file; according to the invention, the project test and interpretation can be automatically completed according to configuration under various test conditions, and the dependence on manual operation is reduced.
Owner:BEIJING AEROSPACE AUTOMATIC CONTROL RES INST

An interface call test method applied to microservices and a related device

The application provides an interface call test method applied to micro services and a related device. The method comprises the following steps: obtaining a target interface parameter document based on a target interface code of a target interface, the target interface being used to represent a to-be-tested transaction interface provided by an interface provider in the micro services, the interface provider being used to represent an application system providing a transaction interface in the micro services; automatically generating a target test interface code based on the target interface code and the target interface parameter document, the target test interface code being used to represent a simulation interface code corresponding to an interface consumer, the interface consumer being used to represent an application system calling a transaction interface in the micro services; automatically generating a target test script based on the target test interface code and the target interface parameter document; and executing the target test script by using an interface test tool to obtain a test result of the target interface. The target test interface code and the corresponding target test script can be automatically generated by the above method, and the call test of the target interface is realized.
Owner:AGRICULTURAL BANK OF CHINA

Method and apparatus for recommending interface parameters based on traffic data

ActiveCN116048888BEngineeringData mining
The interface parameter recommendation method and apparatus based on traffic data provided in this application provide meaningful data for expanding the analysis sample and for subsequent more intelligent and accurate analysis. It can acquire several traffic data points generated when a specified interface is used in a production environment, and then flatten these traffic data points. This not only quickly removes redundant data from the traffic data but also obtains multiple fields and feature values ​​for each traffic data point. Next, this application can determine the feature value attributes and rules corresponding to the interface parameters of the specified interface based on the multiple fields and feature values ​​of each traffic data point. This provides more refined field recommendations when configuring test cases for interface testing, facilitating parameter input for interface testing and improving test coverage.
Owner:GUANGZHOU PINWEI SOFTWARE CO LTD

Interface test method and device for abnormal test case, equipment and medium

The invention provides an interface test method, device and equipment for an abnormal test case and a medium, and the method comprises the steps: receiving an interface request parameter which comprises at least one field; setting each abnormal scene; combining each field in the interface request parameter with each abnormal scene to generate a corresponding abnormal test case; and testing is performed according to the abnormal test case to obtain the test report, so that all abnormal scenes are ensured to be tested, the working efficiency of testers is improved, and the cost of enterprises is reduced.
Owner:ZIXUN TECHNOLOGY (FUJIAN) CO LTD

Automatic testing method, device and equipment based on power SOAP interface and medium

The invention belongs to the technical field of interface testing, and discloses an automatic testing method and device based on an electric power SOAP interface, equipment and a medium. The method comprises the following steps: creating an SOAP test task; the SOAP test task comprises a plurality of test cases; accessing an InitialWSDL address of the to-be-tested power application software, obtaining an InitialWSDL file of the SOAP interface of the to-be-tested power application software through the InitialWSDL address, constructing an XML DOM tree, analyzing the XML DOM tree through an XML analysis library, and obtaining structure information of the SOAP interface; aiming at the SOAP test task, checking an initial message corresponding to the SOAP test task, and filling each test case in the initial message based on the obtained structure information of the SOAP interface to obtain a constructed SOAP request; sending the constructed SOAP request to an SOAP interface of the power application software to be tested; and receiving SOAP service response content returned by the SOAP interface of the target power application software, and analyzing and displaying the SOAP service response content. The method is easy to use, and tedious debugging steps of testers are reduced.
Owner:CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD

Rear-end interface test method, system, device and product based on intelligent input parameter generation

The invention discloses a back-end interface test method, system, device and product based on intelligent input parameter generation, and the method comprises the steps: creating an interface document of a target to-be-tested interface and a corresponding standard input parameter instance, and defining normal and abnormal input parameters to form a prompt document; in response to a parameter-in case set creation task, calling a pormpt document input parameter to generate an AI model, generating a parameter-in case set and returning the parameter-in case set; calling the input parameter case set in response to the interface test task, converting the input parameter case set into a test case set, and adding a request header; creating a thread pool, bringing the test case set into the thread pool, initiating calling of a target interface in batches, uniformly obtaining tokens, constructing an authentication request header, executing the test cases in the test case set until all tasks are completed, and closing the thread pool; and returning the execution result of each test case, and judging whether the execution result is abnormal or defective. According to the invention, the repeated workload of back-end interface testing personnel can be reduced, and the testing efficiency of the back-end interface is improved.
Owner:SHANGHAI SHENXUE SUPPLY CHAIN MANAGEMENT CO LTD

Interface testing method and device, electronic equipment and storage medium

The application provides an interface test method and device, electronic equipment and a storage medium, the method comprising: according to the identification information of the interface to be tested, searching the interface configuration information of the interface to be tested in the database constructed in advance; according to the processor type information, adapting the processor corresponding to the processor type information for the processor to process the pre-task of the interface to be tested; receiving the processing result returned by the processor, generating the test request information of the interface to be tested according to the processing result; testing the interface to be tested according to the test request information, and obtaining the actual test result of the interface to be tested. The application realizes automatic adaptation of the processor according to the interface configuration information of the interface to be tested, tests the interface to be tested after pre-task processing, has high automation degree and test efficiency, and has good versatility and flexibility.
Owner:QINGDAO HAIER TECH +1