mirror of
https://github.com/google/nomulus
synced 2026-01-11 00:10:36 +00:00
Add a "loadtest" command to nomulus tool
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=151034721
This commit is contained in:
@@ -53,7 +53,7 @@ import org.joda.time.DateTime;
|
||||
* least one must be specified in order for load testing to do anything.
|
||||
*/
|
||||
@Action(
|
||||
path = "/_dr/loadtest",
|
||||
path = LoadTestAction.PATH,
|
||||
method = Action.Method.POST,
|
||||
automaticallyPrintOk = true)
|
||||
public class LoadTestAction implements Runnable {
|
||||
@@ -71,6 +71,8 @@ public class LoadTestAction implements Runnable {
|
||||
|
||||
private static final Random random = new Random();
|
||||
|
||||
public static final String PATH = "/_dr/loadtest";
|
||||
|
||||
/** The client identifier of the registrar to use for load testing. */
|
||||
@Inject
|
||||
@Parameter("loadtestClientId")
|
||||
|
||||
Reference in New Issue
Block a user