Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

658 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 device for testing application program interface

The invention provides a method and a device for testing an application program interface. The method comprises the following steps: the testing device receives the parameter information of an application program by a human-computer interface; the testing device packs the parameter information into interface testing data conforming to a communication mode between the application program interface and the testing device according to the communication mode and transmits the interface testing data to a server in which the application program is arranged; the server receives the interface testing data by the application program interface and carries out calculation processing according to the parameter information; the server transmits a processing result to the testing device; and the testing device receives and displays the processing result by the human-computer interface. By using the method and the device provided by the embodiment of the invention, simple configuration is carried out in a browser to test different interfaces, and favorable test correctness can be achieved.
Owner:ALIBABA GRP HLDG LTD

Method, device and system of test application program interface

The invention discloses a method, a device and a system of a test application program interface, wherein the method of the test application program interface is used in an application program interface arranged on a server by a client test and comprises the following steps: S1, receiving parameter information and assertion of the application program interface through a human-computer interface of a client, S2, according to a communication protocol between the client and the server, packaging the parameter information to be interface test data which confirm to the communication protocol and sending the interface test data to the server, S3, receiving return data processed by the server, and S4, analyzing the return data through the assertion and displaying a test result through the human-computer interface. According to the method, the device and the system of the test application program interface, a tester needs not to write a test code, the test data are input through a page table and the test result can be displayed through the page table directly, and workload of the tester is lightened and accuracy is improved.
Owner:ALIBABA GRP HLDG LTD

Testing distributed components

The present invention extends to methods, systems, and computer program products for testing distributed components. A test case definition indicates how APIs are to be called to test components of a distributed system. A test driver can execute the test case definition to invoke the APIs. Results of the APIs can be stored. A test case definition can use output from an API testing one distributed component as input to another API for testing a different distributed component. Accordingly, end to end integration testing is possible for computing functionality that spans multiple components of a distributed system
Owner:MICROSOFT TECH LICENSING LLC

Flexible storage interface tester with variable parallelism and firmware upgradeability

A system for use in automated test equipment. In one embodiment, the system includes a configurable integrated circuit (IC) programmable to provide test patterns for use in automated test equipment. The configurable IC includes a configurable interface core that is programmable to provide functionality of one or more protocol based interfaces for a device under test (DUT) and is programmable to interface with the DUT. The system also includes a connection configurable to couple the configurable IC to the DUT.
Owner:ADVANTEST CORP

Automatic testing system and method based on parallel ports

The invention discloses an automatic testing system and method based on parallel ports. The method comprises the steps that a testing monitor end transmits a testing execution instruction carrying a testing task to a dispatch server; the dispatch server reads corresponding port use cage scripts from a use case database according to the port execution instruction, and transmits the port use cage scripts to a testing server; the testing server operates the received corresponding port use case scripts in test items designated by the testing task; the testing server generates a testing report according to the operation results of the port use case scripts. The test items are prestored, by means of modularization management on port testing use cases, all ports needing to be tested by the corresponding test items can be tested only by inputting the address of the testing server and the addresses of the ports into the testing task, the testing report is automatically generated on the basis of the testing results, the situation that the same use cases are designed for testing each time is avoided, and testing efficiency is improved.
Owner:NUBIA TECHNOLOGY CO LTD

Interface testing method, interface testing device, electronic device and storage medium

The embodiment of the invention provides an interface testing method, an interface testing device, an electronic device and a storage medium, which relate to the technical field of software testing. The method comprises the following steps of obtaining the identification information of an interface to be tested; obtaining the corresponding test case information from a test case library based on the identification information of the interface to be tested; judging whether each information in the test case information is consistent with each standard use case information corresponding to the test case template of the interface to be tested; sending a test request to a server calling the interface under test according to the test case information when the test case is judged to be consistent;receiving a status code and a return value returned by the server in response to the test request, and determining a test result based on the returned status code and the return value. The technicalproposal of the embodiment of the invention not only can reduce the interface test cost and improve the interface test efficiency, but also can automatically analyze the interface test result.
Owner:ONE CONNECT SMART TECH CO LTD SHENZHEN

Interface testing method, system, device and storage medium based on database comparison

The invention discloses an interface test method, a system, a computer device and a storage medium based on database comparison. The method comprises the following steps: a test interface is created in a user interaction interface, and request parameters of the interface are configured; the content that needs to be parameterized are parameterized in the user interaction interface; the test interface is called to add assertions; the test tool performs test operations, configure database statements and inputs for asserting framework invocations in the configuration file; accurate assertion is accomplished by comparing the return message with the result of database statement query configured in the configuration file. The corresponding test cases are generated one by one by substituting parameter values. Obtain the result and judge the test result one by one, and store the test data, test result and judgment result into the list. The method achieves accurate assertion from business logic,realizes automatic judgment of business logic, reduces manual input of regression test, and improves test efficiency.
Owner:PING AN TECH (SHENZHEN) CO LTD

Online testing unification system with remote test automation technology

The present invention is directed to an online product validation solution integrating an online testing module configured to assist a user to create test cases and a remote test automation module configured to execute the created test cases on remote test systems. When a user creates a test plan, complete test coverage for the test plan may be ensured and cross-checked with product specifications stored in the knowledge database. Moreover, seamless integration of the online testing module and the remote test automation module may provide a uniform interface for generating both manual and automated test cases. Test case status is reported within the test plan in synchronicity with test case execution.
Owner:NETWORK APPLIANCE INC

Digital image capture and processing system supporting automatic communication interface testing/detection and system configuration parameter (SCP) programming

A digital image capture and processing system supporting automatic communication interface testing / detection and system configuration parameter programming. The digital image capture and processing system includes a housing having a port for receiving a standard connector associated with a flexible communication interface cable, and a multi-interface I / O subsystem disposed in the housing, and having an I / O port. The multi-interface I / O subsystem supports a software-controlled automatic communication interface test / detection process carried out over the flexible communication interface cable physically connecting the I / O ports of the digital image capture and processing subsystem and the designated host system. The digital image capture and processing system also supports automatic programming of multiple system configuration parameters (SCPs), associated with a particular communication interface (CI) detected by the multi-interface I / O subsystem, without reading programming-type bar codes.
Owner:METROLOGIC INSTR

Interface automation test method, device, storage medium and computer device

The invention relates to an interface automation test method, device, storage medium and a computer device. The method comprises following steps: obtaining a test plan of the interface to be tested, obtaining the test case and test environment configured in advance for the test plan of the interface under test from the database, and obtaining the interface information configured in advance for thetest case; generating an interface test request of the interface to be tested by combining the test case, the test environment and the interface information; sending the interface test request to a corresponding interface to be tested so that the interface to be tested executes a test case according to the test environment and interface information to test and obtaining the response data generated after the test of the interface under test. The test plan of the interface to be tested is determined, that is, a corresponding set of configured configuration items required for testing the interface can be obtained. Therefore, in the actual test, the tester is not required to write the test code, and testers need to configure all the configuration items in advance on the relevant configurationpage, which greatly improves the testing efficiency.
Owner:深圳市牛鼎丰科技有限公司

Automatic interface test method and device, equipment and storage medium

The invention relates to the field of software test, and provides an automatic interface test method, device and equipment and a storage medium. The method comprises the following steps of: obtaininginterface documents of different interfaces, and automatically generating Json test examples of the different interfaces according to the interface documents; automatically generating a test case template according to the Json test examples, automatically generating a Json test case according to the test case template, and automatically generating a Jmeter test script according to the Json test case; and generating an integration test case according to the Jmeter test script, calling the integration test case through a test tool, triggering the Jmeter test script to carry out test through theintegration test case, and automatically outputting a test result. According to the automatic interface test method, device and equipment and the storage medium, the automation degree of interface test can be improved, and the maintenance of the test cases during the interface modification is convenient.
Owner:PING AN TECH (SHENZHEN) CO LTD

Radar signal unit performance test and fault diagnosis system based on general test platform

The invention relates to the technical field of radar circuit fault detection and diagnosis, specifically to a radar signal unit performance test and fault diagnosis system based on a general test platform. The system comprises a general test platform, a test procedure set, an interface connection module, an interface test adapter and a signal processing unit to be tested, the general test platform includes general test instruments and hardware resources including a test procedure set, a programmable power supply, a spectrometer, a signal generator, a digital oscilloscope, a digital triple-purpose meter, a digital I / O, a communication interface, a multichannel ADC and a multichannel DAC, and the test platform is connected with the interface test adapter through the interface connection module. By adoption of a system architecture of the general test platform plus the interface test adapter, the system has very strong universality and expandability, allows multiple equipment to share one test platform, and the interface test adapter adopts a hardware architecture of FPGA+ARM, and has very strong universality, expansibility and reconfigurability.
Owner:NAVAL UNIV OF ENG PLA

Automatic operating method for interface test in embedded operating system

An automatic course method uses for interface testing in insert-type operating system. Create testing object by exploitation machine after periodic time and tests executing script and information of test case. Transmit the test object to goal machine and start system to download testing executing script. Circularly download test case and run to produce testing export information. Send testing export information and testing end information to exploitation machine and it will send the testing course result after comparing the d criterion export information and testing export information. It effectively shortens regression and testing period and assures the fast balanced advance of the system with smooth capability and without manpower interposition to save resource. It is suit for testing the application interface to bring benefit with broader range of application to further development of inset-type system and its super software.
Owner:KORTIDE LTD

Interface-oriented automatic test method for software fault injection

The invention provides an interface-oriented automatic test method for software fault injection, and aims at realizing the automatic test of interface fault injection. The method comprises the following steps of: firstly carrying out cross-linkage interface modeling, communication behavior modeling and protocol data modeling; designing a fault injection operator and carrying out test case modeling; automatically generating an XML-format test case on the basis of the model; and finally automatically generating the test case into a test script of C++ language on the basis of XSLT, calling windows SDK to automatically generate a test program and automatically executing the test program, realizing result collection through a Windows pipeline technology, and evaluating the test result so as to complete the fault injection test of the whole cross-linkage interface. According to the method, universality and usability realized by an interface fault injection test tool are effectively improved, the interface test efficiency is improved and the test cost is reduced.
Owner:中国船舶工业综合技术经济研究院

Interface testing method, apparatus, computer device and storage medium

The present application relates to a functional test, and provides an interface test method, an apparatus, a computer device, and a storage medium. The method comprises the following steps: receivinga Mock test instruction sent by a terminal, wherein the Mock test instruction carries a file identification; Obtaining the data of the interface to be tested and the Mock interface according to the file identification; Generating a test case according to the interface data to be tested and sending the test case to the terminal; Receiving a request message sent by the terminal, wherein the requestmessage is obtained from the test case by the terminal and generated according to the test information; Calling the Mock interface, generating the Mock data according to the request message and returnit to the terminal to complete the interface test. The method can improve the development efficiency.
Owner:PING AN TECH (SHENZHEN) CO LTD

Interface testing method and device, client and computer readable storage medium

The invention relates to the field of software testing and provides an interface testing method and device, a client and a computer readable storage medium. The interface testing method is used for testing an interface to be tested. The interface testing method comprises the steps that according to a tree-shaped structure chart, a target testing case of the interface to be tested is acquired; thetarget testing case is traversed, and case data information is obtained, wherein the case data information comprises request data information and response data information, and the case data information is formed by unlabeled languages; according to the request data information, a testing protocol used for testing the interface to be tested is generated; based on the testing protocol, an interfacetesting request is sent to a server, and interface response data fed back by the server is received; the interface response data is compared with the response data information, and thus a testing result is obtained. Compared with the prior art, the testing case can be quickly modified by dragging a node of the tree-shaped structure chart, meanwhile the testing case can be directly used for automatic interface testing, and the interface testing method is high in usability and testing efficiency.
Owner:ALIBABA (CHINA) CO LTD

Automated testing method for distributed information system interface

The invention discloses an automated testing method for a distributed information system interface, which relates to the field of automatic testing of software. The method comprises the following steps of: allocating an automated testing control end in a host machine independent from a tested system, and allocating a agent in a tested host machine; parsing a test case file by the automated testing control end, and checking whether the test case can be executed, if so, transmitting a testing message to the agent in the tested host machine; parsing the testing message by the agent and monitoring a message transmitted by the tested host machine, and if a first message in the test case is a event trigger, calling an automated testing tool by the agent to execute testing scripts transmitted bythe automated testing control end. In the testing process, the agent monitors the message in real time and forwards the message to the automated testing control end, and finally, the control end parses the received message, outputs verification result and generates a test report. With the automated testing method for the distributed information system interface, the testing efficiency for software interfaces of the distributed information system is improved, and work of testers is simplified.
Owner:BEIHANG UNIV

Interface test method and device

The invention discloses an interface test method and device and belongs to the field of testing technology. The method includes the step of calling an independent test code file corresponding to a target interface needing to be tested; the step of calling a public test code file through the independent test code file and transmitting test parameters and an interface path corresponding to the target interface to the public test code file; the step of generating request data through the public test code file according to the test parameters and public test parameters and generating a request address according to the interface path and a test environment address; the step of testing the target interface through the public test code file according to the request data and the request address. The problem that the reuse rate of test codes is low when interface testing is conducted through correlation techniques is solved; different independent test code files and the same public test code file are configured for different interfaces, and test codes needed for different interfaces are planned and managed in a unified mode, so that the reuse rate of the test codes is increased.
Owner:GUANGZHOU KUGOU TECH

Interface testing method and device, mobile terminal and storage medium

The invention provides an interface testing method and device, a mobile terminal and a storage medium. The method comprises the steps that an interface testing instruction is received, and according to debugging information in the interface testing instruction, a target test case is acquired from a test case database, and a test script is constructed; the target test case is run on the test script, and test logs are acquired in real time; test data display is performed in real time according to the acquired test logs; and when running of the test script is completed, acquisition of the test logs is stopped, and a test result is generated and displayed according to the test log acquired the last time. The method has a visual display effect, the data obtained in current testing can be displayed in real time, the finally displayed test result is rich in content, and user experience is improved.
Owner:GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1

Automatic interface testing method and server

InactiveCN102185734AImprove test efficiencySimplify and standardize automated testing stepsData switching networksComputer moduleTest Standardization
The invention provides an automatic interface testing method and a server. The method comprises that: a server receives a testing request from a client browser, and allocates a unique testing identifier to a test; the server receives an interface testing message and expected results of the test from the client browser; the server establishes connection with a business operation support system (BOSS) interface platform according to the interface testing message to make the BOSS interface platform obtains test response results of the test according to the interface testing message and return the obtained test response results to the server; and the server compares the test response results with the expected results to acquire a result indicating whether the test is successful or not. The server comprises an allocation module, a test execution module and an acquisition module. By the scheme provided by the invention, the automatic interface test and instance test standardization can be effectively realized.
Owner:HUAWEI SOFTWARE TECH

Interface mock method and interface test method

InactiveCN107179984AEnable independent testingDecoupling dependenciesSoftware testing/debuggingTest efficiencyComputer hardware
The invention provides an interface mock method and an interface test method. An interface is tested by configuring input data and output data of the interface in an interface test platform. The interface mock method comprises the steps of firstly obtaining a request sent to a server by a client; secondly analyzing the request to obtain the interface needed to be called by the client; thirdly configuring interface information of the interface in the interface test platform; and finally according to the interface information, configuring the input data and the output data of the interface in the interface test platform. According to the interface mock method and the interface test method, test personnel can be assisted to quickly realize interface Mock only through configuration information without programming, so that the interface test efficiency is greatly improved.
Owner:BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1

Centralized console API testing architecture

A method for API testing is provided that includes attaching a top level header to an API request from a console where the top level header facilitates processing of the API request by a host driver. The method also includes forwarding the API request with the top level header to the host driver and receiving an API response from the host driver where the API response includes the top level header. The method also includes removing the top level header from the API response so the console can process the API response.
Owner:ADAPTEC +1

Method and device for verifying interface test results

The invention provides a method and a device for verifying interface test results and is applicable to the field of interface test. The method includes steps of receiving verifying requests of the interface test results, wherein the verifying requests include verifying types of the interface test results; acquiring corresponding interface test data according to the verifying requests; matching the interface test data with preset correction result data to obtain verifying results. The corresponding interface test data can be acquired according to the verifying request types and are automatically compared and matched with the correction result data, and compared with existing manual comparison way, the method has the advantages that a great deal of labor can be saved, mistaken verifying rate is decreased, verifying efficiency is improved and cost is reduced.
Owner:TENCENT TECH (SHENZHEN) CO LTD

Interface testing method and device, simulation baffle and system

The invention discloses an interface testing method. The method comprises the steps that primary analysis is conducted on a to-be-tested message sent by a to-be-tested system to obtain a transaction code, a receiving interface format corresponding to the transaction code is determined according to the transaction code, and secondary analysis is conducted on the message according to the receiving interface format to obtain field data; when a matching rule matched with the field data does not exist, a scene identification corresponding to the receiving interface format is determined according tothe corresponding relationship between a preset receiving interface format and the scene identification, wherein a plurality of scene identifications are preset in a simulation baffle, and each sceneidentification corresponds to one type of feedback message; the feedback message corresponding to a test message is obtained according to the scene identification and sent to the to-be-tested system.According to the scheme, interface testing between systems also can be conducted when the matching rule cannot be matched, and therefore the effectiveness of interface testing is improved.
Owner:BANK OF CHINA

System and method for testing universal interface

InactiveCN102479134AAchieving the need for simultaneous testingMeet the needs of large data throughputError detection/correctionTest efficiencyCommunication interface
The invention provides a method of a system for testing a universal interface. The system consists of a personal computer (PC) end test script, a communication interface mother board, a communication interface sub-board and a test platform, wherein the test platform is a field programmable gate array (FPGA) or application specific integrated circuit (ASIC) platform; a PC end is connected with the communication interface mother board through a universal serial bus (USB) interface; the communication interface mother board is connected with the communication interface sub-board through a hard wire; the communication interface sub-board is connected with the test platform for test communication; and a communication sub-interface can be made independently according to a test requirement. The invention also provides a method for implementing the system for testing the universal interface. By utilizing the system and the method, the requirement for simultaneously testing by multi-interface test application can be met; the USB interface meets the requirement for high data throughput; and by utilizing the automatic test method, the test labor cost is reduced effectively and the test efficiency is improved.
Owner:SHANGHAI HUAHONG INTEGRATED CIRCUIT

interface automatic test method based on JMeter and Jenkins and a device thereof

The invention discloses an interface automation test method based on JMeter and Jenkins, which comprises the following steps: dividing service modules according to actual service scenarios, and preparing use cases corresponding to each service module according to use case modules; Runing JMeter to read the configuration file of each business module and obtain the code and data of the application example. Assembling The use case code and the use case data into test cases without signatures, and then sending to the server module through JMeter with HTTP request. Every time the test case is sentby JMeter with HTTP request, intercepting the HTTP request, calculating the parameters of the test case request, reassembling the test case, and re-sending the test case with signature to the server module by the signature algorithm. The server module returns the interface test result to the JMeter result output module according to the business scenario. The JMeter result output module judges whether the result is correct or not, and generates the corresponding test report. All test case collections will be written through JMeter and configured in Jenkins to execute at preset intervals in a loop.
Owner:义乌市执御信息技术有限公司

Multi-interface testing method and device

The invention provides a multi-interface testing method and device. The method comprises the steps that a testing case is analyzed, and multiple interfaces to be tested in the testing case and the dependency of the interfaces to be tested are obtained; according to the dependency of the interfaces to be tested, a plurality of interface requests corresponding to the interfaces to be tested are sequentially sent to a server; a response result which is returned by the server and corresponds to each interface request is received; the response results are analyzed so as to complete testing of the multiple interfaces to be tested, wherein according to two interfaces to be tested with the dependency, the interface request corresponding to the later interface to be tested is sent according to the response result corresponding to the previous interface to be tested. According to the multi-interface testing method and device, by designating the dependency of each interface to be tested in the testing case, the interface testing depth is increased, and the requirement for testing multiple interfaces with the high coupling degree under the complex business scene can be met.
Owner:BEIJING QIANXIN TECH

Interface testing and test data generation method and device, terminal and storage medium

The invention relates to an interface testing method. The interface testing method specifically comprises the following steps of reading basic parameters which are configured for a to-be-tested business in advance when a preset testing time is reached; transmitting the basic parameters to business logic corresponding to the to-be-tested business to trigger the business logic to run till the business logic is run to business stage nodes configured in the basic parameters, wherein the business logic is constituted by multiple kinds of coupled interface logic; receiving parameter-returning data returned at the business stage nodes, generating request parameter-incoming values of test cases corresponding to the to-be-tested business according to the parameter-returning data, and executing thetest case to obtain a testing result. By means of the interface testing method, interface testing can be more flexile, and the testing efficiency can be higher.
Owner:PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products