发明名称 Testing of client systems consuming contractual services on different server systems
摘要 An aspect of the present invention facilitates testing of client systems consuming contractual services on different server systems. In one embodiment, a contract (for which the client system is sought to be tested) is first inspected to determine the set of contractual services present in the contract and a minimal implementation for each of the determined set of contractual services is generated. The minimal implementations are designed to merely provide arbitrary outputs consistent with the contract. On receiving a request to invoke a desired one of the set of contractual services from the client system, a corresponding response is sent due to invocation of the (minimal) implementation generated for the desired contractual service, thereby facilitating testing of client system for a different server system.
申请公布号 US9043384(B2) 申请公布日期 2015.05.26
申请号 US200912573154 申请日期 2009.10.05
申请人 Oracle International Corporation 发明人 Subramanian Velmurugan
分类号 G06F15/16;H04L12/24;G06F15/173 主分类号 G06F15/16
代理机构 Narendra Reddy Thappeta 代理人 Narendra Reddy Thappeta
主权项 1. A server system facilitating testing of a client system consuming contractual services specified by a contract, said server system comprising: a processor; a random access memory (RAM); and a machine readable medium storing a first set of instructions and a second set of instructions to facilitate testing of a set of contractual services present in said contract, said set of contractual services including a first contractual service specified to send a set of outputs according to respective output formats, said first set of instructions containing a corresponding minimal implementation for each of said set of contractual services, wherein the minimal implementation for said first contractual service, upon execution, is designed to form a set of values respectively corresponding to said set of outputs according to said respective output formats, and said second set of instructions processing requests consuming contractual services in said server system, said processing comprising: receive in said server system, from said client system, a first request to consume said first contractual service;invoke, in said server system, said first contractual service as a response to said receiving of said first request, wherein invoking causes execution of the minimal implementation for said first contractual service, wherein said execution in said server system generates said set of values as said set of outputs according to said respective output formats; andsend, from said server system to said client system, said set of values according to said respective output formats, as a response to said first request, wherein said first request contains a first set of input values for said first contractual service, wherein the minimal implementation is executed with said first set of input values as a set of inputs, wherein said set of values generated by execution of the minimal implementation for said first set of input values, are arbitrary values without correlation to the actual values that would be generated by a production implementation of said first contractual service for said first set of input values as said set of inputs, wherein said client system is provided as a separate system external to said server system such that multiple client systems can be tested using said server system.
地址 Redwood Shores CA US