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

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

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

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

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

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

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

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

Interface testing method, system and device and electronic equipment

The invention discloses an interface testing method, system and device and electronic equipment. Relates to the field of software testing. The method comprises the steps that a test task is received through an agent decision engine, and the test task is used for requesting interface testing of a to-be-tested system; the test task is responded, parameters of a test environment are obtained, environment parameters are obtained, and the test environment comprises an environment used for conducting interface testing on the to-be-tested system; the environment parameters are input into a target model, a test strategy is obtained, the test strategy comprises a test case set and an execution sequence of multiple test cases in the test case set, and the type of the target model comprises a large language model; and performing interface testing on the to-be-tested system based on the testing strategy, and adjusting the testing strategy based on testing data generated in the interface testing process. The technical problem that the maintenance cost of a test script is high when the test script is adopted to automatically test the interface in the related technology is solved.
Owner:TRAVELSKY TECHNOLOGY LIMITED

Interface testing method and electronic equipment

The invention discloses an interface testing method and electronic equipment. The method comprises the steps that use case data of a plurality of use cases of a to-be-tested interface are obtained, and the use case data comprise request parameters of the use cases; for the target use case, calling a to-be-tested interface and transmitting a request parameter of the target use case, and asserting an actual return value returned by the to-be-tested interface, the initial value of the target use case being the first use case in the plurality of use cases; if the assertion is successful, carrying out backstepping regression verification on the target use case; if the backstepping regression verification is passed, updating execution result information of the target use case, and determining the next use case of the target use case as the target use case; and if the backstepping regression verification is not passed, recording error information of the target use case, and determining the next use case of the target use case as the target use case. According to the method, for each case of the to-be-tested interface, if the to-be-tested interface is called and asserted successfully, the case is subjected to backstepping regression verification, and compared with a forward testing method, the efficiency is higher.
Owner:PICC INFORMATION TECH CO LTD

Inter-interface dependency relationship analysis method and interface test construction method based on large language model

The invention provides a big language model-based inter-interface dependency analysis method and an interface test construction method. The method comprises the following steps of: collecting service interface information for supporting user service circulation in a user service operation process; wherein the service interface information comprises interface metadata; generating a cue word text based on the service interface information, calling a large language model LLM and taking the cue word text as input, generating an LLM response text by the LLM according to a set dialogue state, and extracting structured semantic information based on the LLM response text; wherein the step of setting the dialogue state comprises single-interface analysis, double-interface comparison and association reasoning; the method comprises the steps of identifying a field-level dependency relationship between interfaces on the basis of structured semantic information, constructing an interface dependency relationship on the basis of the field-level dependency relationship between the interfaces, constructing a multi-layer dependency relationship and an interface calling path set on the basis of the interface dependency relationship and interface metadata, and then carrying out interface testing.
Owner:CLOUDCHAIN GRP CO LTD

Automatic interface testing system

The invention relates to an automatic interface test system, which comprises a package capture data import module, which is configured to obtain a package capture data file generated by browser package capture; the use case conversion and screening module is configured to convert the packet capture data file into a use case in a preset format according to preset HTTP (Hyper Text Transport Protocol) request information; the use case interface import module is configured to import a target interface in the use case in the preset format into a target position; the interface association module is configured to establish association between the target interface and a preset test case and construct a test case set; the interface editing module is configured to edit associated parameters of a target interface in the test case set, and the associated parameters are used for expanding a test function; the test execution scheduling module is configured to test the test case set by adopting a preset test execution mode to obtain a test result; and the result report generation module is configured to generate an interface test report according to the test result. The interface testing efficiency can be improved, and interface testing of complex scenes can be met.
Owner:太保科技有限公司

System and method for script-less automation for RTP testing or any API testing

The invention discloses a method for script-less automation testing of any API's based product including RTP's. The method utilizes a template-based approach for testing the API's based products. Further, the method automates the testing by eliminating behaviour capturing of the application under test. Furthermore, the method comprises of ‘user interface’ module and a ‘central automation solution’ module. The user interface module is utilized to trigger test execution for any API / RTP scenarios, configure inputs for test data & validation rules, and a test result dashboard to view the test execution results and test artifacts. The ‘central test automation solution’ module is a collection of microservices that are capable to perform required API / RTP service calls and subsequent validations dynamically based on the configuration at the ‘User Interface’ module.
Owner:UST GLOBAL PTE LTD

Automatic interface testing method and system, electronic equipment and program product

The invention provides an automatic interface testing method and system, electronic equipment and a program product, and the method comprises the steps: obtaining interface document data, carrying out the information extraction processing of the interface document data, and obtaining a structured data set; according to a preset cue word template, inputting the structured data set into a large model for case generation processing to obtain a test case set; screening the test case set through a preset test strategy rule to obtain a to-be-executed test case list; constructing an interface calling request according to the test case list, and carrying out automatic interface calling processing to obtain a calling result; and according to the calling result, carrying out automatic comparison and analysis processing on the expected response result in the test case set to obtain an automatic test result. The scheme can improve the automation degree of interface testing, and can be widely applied to the technical field of artificial intelligence.
Owner:CHINA TELECOM ARTIFICIAL INTELLIGENCE TECHNOLOGY (BEIJING) CO LTD

A software research and development security access control implementation method, device and equipment and storage medium

The application discloses a software research and development security access control implementation method, device and equipment and a storage medium. The method comprises the following steps: the function test and the interface test are divided into multiple short period windows; test traffic is captured at the end of each short period window, and the test traffic is subjected to deduplication processing; the deduplicated test traffic is subjected to playback attack test to obtain a test result; the test result is subjected to access control detection at a first security checkpoint to obtain a first security scanning result; when the detection time of the access control detection exceeds a first preset time and the access control detection is not completed, the test result is subjected to access control detection at a second security checkpoint according to a second preset time to obtain a second security scanning result; and the test result, the first security scanning result and the second security scanning result are reported. According to the method, the application with long security test time does not need to block the process, and efficient cooperation of full-process automatic security test and agile delivery is realized.
Owner:SHENZHEN YEAHKA TECH

An interface test method and device, electronic equipment and storage medium

The application discloses an interface test method and device, electronic equipment and storage medium, belongs to the computer technical field;The data of interface processing is analyzed;According to the data sensitivity level, the targeted test case is generated, and the exclusive test environment is configured;According to the sensitivity level, from high to low, the test case is executed, the high sensitivity level data interface is deeply checked and scanned, and the basic functional test is executed to the low sensitivity level data interface;Collect the execution result and log information, and dynamically adjust the test strategy;According to the test result, the hierarchical test report is generated, the vulnerability severity score of high sensitivity level data is calculated, the preset score threshold is set, the sensitivity level is improved or reduced, and the test strategy is adjusted again.The application comprehensively covers the interface test process, improves the security and stability of the high sensitivity level data interface, reasonably allocates resources, improves the overall test efficiency, and provides scientific basis and technical support for interface development and maintenance.
Owner:JIANGSU WANHAI XINGCHEN DATA TECHNOLOGY RESEARCH INSTITUTE CO LTD

Interface testing method and device, electronic equipment and storage medium

The invention discloses an interface testing method and device, electronic equipment and a storage medium, and relates to the technical field of software engineering or other related fields, and the method comprises the steps: obtaining a user login password and a user session identifier which are permitted by a user under the condition that an interface testing request of the user is received, establishing communication with the target server according to the interface test request; requesting a server dynamic public key from a target server, and encrypting the user login password in combination with the user session identifier and the server dynamic public key to obtain a dynamic login password in a ciphertext form; sending a token generation request to a target server based on the dynamic login password in the ciphertext form, and receiving a target access token after verification of the target server; and responding to the interface test request by using the target access token, and executing an interface test process to obtain an interface function verification result. According to the method and the device, the technical problem of low interface automatic test efficiency caused by use of a single static token verification mechanism in related technologies is solved.
Owner:CAXA TECH

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

The invention discloses an interface testing method and device, equipment, a storage medium and a program product, in the interface testing process, under the condition that a uniform resource location address URL of an interface document input by a user in an interface interface is received, an interface document generated based on the URL is obtained, and the interface document is generated based on the URL. Respectively matching the request addresses of all the interfaces in the system with the request addresses of the interfaces stored in the interface library to obtain a matching result; updating the interface in the interface list and the use case corresponding to the interface based on the matching result, and labeling the interface and the use case corresponding to the interface; displaying the interface of the interface list and the information of the use case corresponding to the interface on the target interface; according to the method, the interface document can be analyzed in real time, the interface state can be automatically updated and marked, meanwhile, the test case is dynamically updated, the generation efficiency of the test case can be improved, and the maintenance cost is reduced.
Owner:CHINA MOBILE M2M +1

Automatic testing method, device and system for LIN interface and medium

The invention relates to the technical field of vehicles, in particular to an LIN interface automatic test method, device and system and a medium, and the method comprises the steps: matching an arxml file with an RTE file, and generating an arxmlnfo table; matching the arxmlnfo table with the LIN.ldf file, identifying an interface to be subjected to piling, and outputting a list of the interface to be subjected to piling; generating an XCPgroup monitoring variable for the interface to be piled, and performing automatic piling on the RTE functions in the RTE function list to generate a new RTE file; based on the interface information of the arxmlnfo table and the frame configuration of the LIN.ldf file, an LIN interface CAPL test case file is generated; an A2L file is generated based on the new RTE file, LIN interface testing is executed on CANoe software, and a judgment result is output; according to the invention, the LIN interface testing efficiency and quality can be improved.
Owner:CHINA FAW CO LTD

An interface testing method and electronic device

This invention discloses an interface testing method and electronic device, relating to the field of interface testing technology. The method includes: determining a corresponding converter based on the type of the interface contract; parsing the interface contract through the converter to obtain target information; assembling the target information according to the structure of the target semantic model through the converter to obtain a target semantic model; determining the parameter values ​​of target parameters in the target semantic model according to a parameter semantic rule library; the parameter values ​​of the target parameters include multiple dimensions; combining the target parameters and their corresponding parameter values ​​to generate test cases; and executing the test cases to perform interface testing. This interface testing method can solve the problems of poor compatibility and high defect detection rate of interface contracts for different protocols in related technologies.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

A graphical interface automatic testing method, device and storage medium

The application provides a graphical interface automatic testing method and device and a storage medium, and relates to the technical field of computers. In response to a user's interface node selection operation, a target interface node in a panel area selected by the user is determined, and a graphical testing process corresponding to the target interface node is added in the display area. According to interface original definition data included in the target interface node, at least one parameter node is added to the graphical testing process from a parameter template of the panel area. In response to a user's operation of running the graphical testing process, the target interface node is tested according to use case data. The whole process of interface testing is visualized, the graphical testing process can be generated through a dragging mode, large-scale complex business is simplified, and the parameter nodes of the panel area can be reused for different target interfaces, so that the efficiency in the interface testing process is improved.
Owner:CHINA TELECOM CLOUD TECH CO LTD

KNN-based software test scope assessment method and apparatus

This application provides a KNN-based method and apparatus for software test scope assessment. The method includes: acquiring information on each first call chain affected by a code modification of a target software platform; determining information on the second call chains for each automated test scenario corresponding to each interface test case of the target software platform; and using the KNN model to determine all automated test scenarios corresponding to the code modification to generate a test scope assessment report for the code modification of the target software platform. This application can effectively improve the automation and intelligence of software test scope assessment, and can effectively improve the accuracy and validity of the software test scope assessment results, thereby improving the reliability and efficiency of testing based on the software test scope assessment results.
Owner:CLOUDCHAIN GRP CO LTD

Interface test method and device, electronic equipment and storage medium

The application relates to the technical field of interface testing, and proposes an interface testing method and device, an electronic device and a storage medium, the method comprising the following steps: obtaining an interface testing request; determining a to-be-tested interface and a test case of the to-be-tested interface according to the interface testing request; obtaining a work log generated by the to-be-tested interface in a production environment; the work log comprises first request data for calling the to-be-tested interface in the production environment and a first calling result responded by the to-be-tested interface according to the first request data; inputting the first request data into the to-be-tested interface according to the test case to obtain a second calling result responded by the to-be-tested interface; and comparing the first calling result with the second calling result to obtain a test result of the to-be-tested interface. According to the application, the work log in the production environment is used as test data of the to-be-tested interface, the production environment can be simulated, manual test data writing is not needed, and the interface testing efficiency is improved.
Owner:GUANGZHOU FANGGUI INFORMATION TECHNOLOGY CO LTD

Interface plug-in and plug-out test system and method

The invention relates to an interface plugging test system and method, and relates to the technical field of interface test. The system comprises host equipment, a test control module and tested equipment with a tested interface, a power line of the tested interface is connected to the host device through the relay module, and the test control module is connected with the host device and the tested device. The power line of the tested interface can be connected to the host equipment through the relay module, the power-on process of the tested interface can be simulated by controlling the relay module to be switched on, and the power-off process of the tested interface can be simulated by controlling the relay module to be switched off, so that the plugging test can be completed without manual or mechanical plugging; the test efficiency is high and the test cost is low. Meanwhile, the whole system can be built by using universal components, so that the hardware cost is lower, and the reliability is higher. In addition, the relay module can be switched on in a delayed manner, so that the requirement of performing a pull-plug test in a delayed manner is met, and the covered test scene is wider.
Owner:GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1