×

SYSTEM AND METHOD FOR TESTING A COAP SERVER

  • US 20160337216A1
  • Filed: 03/24/2016
  • Published: 11/17/2016
  • Est. Priority Date: 05/14/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for testing a Constrained Application Protocol(CoAP) server and a plurality of resources hosted over the CoAP server, the method comprising:

  • receiving, by a processor, an Internet Protocol (IP) address of a CoAP server;

    identifying, by the processor, a plurality of URI links corresponding to a plurality of resources hosted over the CoAP server using the IP address;

    accepting, by the processor, the plurality of URI links corresponding to the plurality of resources, wherein each URI link from the plurality of URI links is configured to store a set of parameters associated with each resource from the plurality of resources, wherein the set of parameters include a Resource Type (RT) field and Interface Description (IF) field wherein the RT field indicating each resource being a sleeping-node resource or a non-sleeping node resource;

    generating, by the processor, a plurality of test cases to test the plurality of resources, wherein each test case is generated based on the set of parameters associated with the resources and a test configuration, wherein the test configuration is generated based on inputs received from a tester;

    classifying, by the processor, the plurality of resources into non-sleeping node resources and sleeping-node resources based on the RT field; and

    testing, by the processor, the plurality of resources using the plurality of test cases, wherein the testing comprises;

    executing test cases associated with the non-sleeping node resources, by generating CoAP requests to test each non-sleeping node resource, wherein CoAP requests are generated based on test configuration, RT field, IF field and a payload to be sent with the CoAP requests based on the IF field; and

    executing test cases associated with the sleeping node resources, by generating CoAP requests to test each sleeping node resource, wherein the CoAP requests are generated based on test configuration, RT field, IF field and a payload to be sent with the CoAP requests based on IF field of the sleeping node resources, wherein the CoAP requests to test each sleeping node resource are sent multiple times with a predefined time interval in between the CoAP requests.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×