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

260 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.

Method and system for realizing hosted API automatic test by API gateway

The invention discloses a method and a system for realizing hosted API automatic testing by an API gateway, belongs to the technical field of computer software, and aims at solving the technical problems of how to realize non-intrusive and automatic API testing, ensuring that monitoring and verification can be directly carried out on an API flow level, improving the testing efficiency and the coverage rate and improving the testing efficiency. According to the technical scheme, the method comprises the steps of test case generation, wherein an interface structure is automatically analyzed based on an API document, and a basic test case set is generated; flow capturing: monitoring the actual calling condition of the API in real time, and recording the specific content of each request and the corresponding response data; carrying out flow playback: carrying out playback test based on the captured historical flow, and verifying the compatibility of the API; assertion verification: assertion judgment is performed on indexes of the return value and the response time through an assertion mechanism, and abnormity is found; and test report generation: aggregating test result data, generating a test report containing success rate, response time and error log detailed information, and supporting HTML / PDF / JSON export.
Owner:INSPUR ENTERPRISE CLOUD TECHNOLOGY (SHANDONG) CO LTD

Interface testing method and device, nonvolatile storage medium and electronic equipment

The invention discloses an interface testing method and device, a nonvolatile storage medium and electronic equipment. The method comprises the following steps: receiving test data and an interface document of an application programming interface; generating target prompt information according to the test data and the interface document; processing the target prompt information through the intention understanding model to obtain an interface test case output by the intention understanding model; and determining an arrangement sequence of the interface test cases, and executing the interface test cases according to the arrangement sequence. According to the method and the device, the technical problem of relatively low test efficiency caused by relatively long time consumption of manually writing the interface test case is solved.
Owner:CHINA TELECOM ARTIFICIAL INTELLIGENCE TECHNOLOGY (BEIJING) CO LTD

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

Interface testing method and device, electronic equipment and medium

The invention relates to the technical field of interface testing, and provides an interface testing method and device, electronic equipment and a medium. The method comprises the steps of obtaining a test request of a service interface and test specification data of the service interface; analyzing the test request through a large language model to obtain business logic information of the business interface; performing analysis processing on the test specification data through a large language model to obtain test index data of the service interface; generating a test case of the service interface based on a large language model according to the service logic information of the service interface and the test index data of the service interface; and calling a preset test tool to execute the test case to obtain a test result of the test case.
Owner:SHENZHEN XUMI YUNTU SPACE TECH 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

Interface testing method and device and electronic equipment

The invention discloses an interface testing method and device and electronic equipment. The method relates to the technical field of computers, and comprises the following steps: receiving an interface test request sent by a test user; analyzing the interface test request to obtain a test item and test data for testing the target interface; a target test agent corresponding to the test item is determined from the multiple test agents, and the test agents are used for executing interface test operation; and calling the target test agent to execute the test item according to the test data to obtain a test result of the target interface. Through the interface function testing method and device, the problems of low accuracy and efficiency of manual interface function testing in related technologies are solved.
Owner:STATE GRID BEIJING ELECTRIC POWER CO +3

Test processing method and device, equipment and storage medium

The embodiment of the invention relates to a test processing method and device, equipment and a storage medium, and the method comprises the steps: collecting the test flow data of a tested version interface, obtaining the initial test flow data, analyzing the initial test flow data, obtaining an input parameter field, and forming a first field set, and performing code analysis on an interface source code of the target test interface to obtain input parameter fields to form a second field set, and determining a to-be-tested field set corresponding to the target test interface based on the first field set and the second field set. The to-be-tested fields in the to-be-tested field set are used for extracting target test flow data used for performing interface testing on the target test interface from the initial test flow data. According to the method, the to-be-tested field set is determined from the two dimensions of the code and the test flow data, and the target test flow data used for testing the target test interface is constructed, so that the test of the optimized interface is completed through the test flow of a relatively small magnitude, and the purpose of improving the interface test efficiency is achieved.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

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

Interface test method and device for generating test case based on interface description document

The invention discloses an interface test method and device for generating a test case based on an interface description document. The method comprises the following steps: generating an interface model and a parameter model according to an obtained interface description document; generating a plurality of test cases based on the interface model and the parameter model, and setting a parameter value of each test case; according to the interface model and the parameter model, generating a test step for each test case, and setting an expected result and an assertion rule; all the test cases and the corresponding interface models and parameter models are stored in a case library; and obtaining a test report based on all the test cases and the case library. According to the method, the interface description document is automatically collected and analyzed, the test case is generated and executed to obtain the test report, high automation of the whole interface test process is achieved, and the test frequency and quality are greatly improved.
Owner:RICHFIT INFORMATION TECH +1

Automatic interface testing method and device, equipment and medium

The embodiment of the invention discloses an automatic interface testing method and device, equipment and a medium, belongs to the technical field of software interface testing, and is used for solving the technical problems that in a software interface testing scene, manual interface testing causes low testing efficiency, interface abnormal conditions are not easy to find, and on-time quality guarantee delivery of projects is affected. The method comprises the steps of compiling a test case based on a test environment and a development environment; selecting a preset operation mode based on the test case; wherein the preset running mode at least comprises any one of running according to a project, running according to a plan, running according to a suite and running according to a set use case; and based on the preset operation mode, performing an interface automatic test on the test case to obtain a test result.
Owner:AULTON NEW ENERGY AUTOMOBILE TECHNOLOGY 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 performance detection alarm method

The invention relates to the technical field of interface detection, and discloses an automatic interface performance detection alarm method, which comprises the following steps: S1, an interface test request: when a back-end developer performs a function test, after receiving the interface test request, accessing a back-end system; s2, components are added, after a back-end system is accessed, a method interception agent component is added at a business method calling position of each level of a back end, and when a method of each level is called according to a calling sequence, a method interceptor component intercepts a calling request; and S3, carrying out layered interception. According to the invention, when a rear-end developer develops functions, the rear-end developer can carry out a performance test in a transparent and non-inductive manner, and obtains a performance alarm prompt in time, so that loss caused by finding and even leaving in a client site or on line in a later period is avoided, a large amount of special performance test manpower and workload are reduced, and the development cost is reduced.
Owner:SUZHOU COLLABORATIVE INNOVATION INTELLIGENT MFG EQUIP 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