Intelligent automated testing method for restful web services
    1.
    发明授权
    Intelligent automated testing method for restful web services 有权
    用于安静的Web服务的智能自动测试方法

    公开(公告)号:US09419884B1

    公开(公告)日:2016-08-16

    申请号:US13730261

    申请日:2012-12-28

    CPC classification number: H04L43/50 H04L63/12 H04L67/06

    Abstract: A generalized testing framework for testing a RESTful web service defines test cases that described RESTful operations on resource object and associated data in configuration files generates HTTP requests to the web service based upon a test case and receives corresponding responses, creates expected responses, and filters fields of interest from the actual and expected responses, and compares the filtered responses to determine whether they match. Expected responses are automatically created during runtime by mapping input data and RESTful API operations to a resource object based upon the test case, avoiding the necessity of predicting responses in advance. Test cases may be readily changed or adapted to different Restful web services by changing configuration files.

    Abstract translation: 用于测试RESTful Web服务的通用测试框架定义了在资源对象上描述RESTful操作的测试用例,并且配置文件中的关联数据基于测试用例生成对Web服务的HTTP请求,并接收相应的响应,创建预期响应和过滤字段 从实际和预期的响应中感兴趣,并比较过滤的响应以确定它们是否匹配。 根据测试案例,将输入数据和RESTful API操作映射到资源对象,在运行时自动创建预期响应,避免了事先预测响应的必要性。 通过更改配置文件,测试用例可能会很容易地更改或适应不同的Restful Web服务。

Patent Agency Ranking