The invention discloses a
remote procedure call fault injection test method, device and equipment and a medium, and relates to the technical field of
software testing, the method comprises the following steps: retrieving a
precondition of a current round of iteration RPC, under the condition that the
precondition of the current round of iteration RPC is empty, injecting a fault into the current round of iteration RPC and carrying out
fault injection test, and if the
precondition of the current round of iteration RPC is empty, carrying out
fault injection test on the current round of iteration RPC; when the fault
injection test is carried out on the RPC of the current round of iteration, finding the RPC triggered by the
error processing logic, taking the RPC of the current round of iteration as a precondition of the RPC triggered by the
error processing logic, taking the RPC triggered by the
error processing logic as the RPC of the next round of iteration, and executing the fault
injection test of the next round of iteration; the RPC triggered by the error handling logic is found through multiple iterations and a fault
injection test is performed on the found RPC triggered by the error handling logic.