In a method for testing a component of a distributed system, a first invocation request is sent to the component, where the first invocation request includes an identifier. A second invocation request is sent to a second component, where the second invocation request carries the identifier from the first invocation request. In addition, the second component switches behavior based upon the identifier, where the switching of behavior of the second component is employed to test the component.