×

Testing and reproduction of concurrency issues

  • US 10,579,501 B2
  • Filed: 04/04/2018
  • Issued: 03/03/2020
  • Est. Priority Date: 04/04/2018
  • Status: Active Grant
First Claim
Patent Images

1. A method for testing a server code in a server concurrently handling multiple client requests, the method comprising:

  • creating a job-specific breakpoint in the server code using a library application programming interface, wherein the job-specific breakpoint in the server code is enabled or disabled based on a job identifier dynamically retrieved during execution of the server code using the library application programming interface, the library application programming interface controls the job-specific breakpoint in the server code, the library application programming interface comprises,a plurality of readymade functions that execute, in a desired sequence, various synchronous and asynchronous program paths associated with the multiple client requests and are capable of establishing a new server connection with the server and retrieving the job identifier from the server associated with the established new server connection;

    based on the job identifier, pausing an execution of a client job by based on enabling the job-specific breakpoint in the server code using the library application programming interface;

    based on the job identifier, resuming the execution of the client job by based on disabling the job-specific breakpoint in the server code using the library application programming interface;

    debugging and reproducing one or more concurrency issues in the server code based onthe pausing and resuming of the execution of the client job; and

    writing, using the library application programming interface, readable and repeatablereproduction scripts and test cases containing interleaved executions of parallel client requests through various breakpoints.

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