Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Using Perses

Nikolaos Kanakis edited this page Jul 13, 2019 · 2 revisions

Create a Connection

Create a Connection

Perses allows only 1 connection per time, so you need to choose between local or remotely.

Search the Methods

You have 2 options when searching for the target method that you want to inject the failure/latency.

  • Only fill the Classpath.
    • Perses will fetch all methods declared at the specified classpath.
  • Fill also the Method Name, in case the method name is not unique fill the Signature to point to the correct method.
    • Perses will fetch only the called method from the specified method.

Search Methods

Inject Failure

To inject a failure, you need to fill which exception you want to inject and the rate*.

Inject Latency

To inject a latency, you need to fill the latency (milliseconds) you want to inject and the rate*.

*Note: The rate value is between 0 and 1 (default), so if you choose 0.5 there is 50% change each time the method is executed that the selected attack will be triggered

Restore

To restore the default behavior of the method, you can click on the button called Restore.

Inject

Clone this wiki locally