public final class PerfanaClient extends Object implements PerfanaCaller
| Modifier and Type | Method and Description |
|---|---|
String |
assertResults() |
void |
callPerfanaEvent(TestContext context,
String eventTitle,
String eventDescription) |
void |
callPerfanaTestEndpoint(TestContext context,
boolean completed) |
void |
callPerfanaTestEndpoint(TestContext context,
boolean completed,
Map<String,String> extraVariables) |
static String |
perfanaMessageToJson(TestContext context,
boolean completed,
Map<String,String> extraVariables) |
String |
toString() |
public void callPerfanaTestEndpoint(TestContext context, boolean completed) throws io.perfana.eventscheduler.exception.handler.KillSwitchException
callPerfanaTestEndpoint in interface PerfanaCallerio.perfana.eventscheduler.exception.handler.KillSwitchExceptionpublic void callPerfanaTestEndpoint(TestContext context, boolean completed, Map<String,String> extraVariables) throws io.perfana.eventscheduler.exception.handler.KillSwitchException
callPerfanaTestEndpoint in interface PerfanaCallerio.perfana.eventscheduler.exception.handler.KillSwitchExceptionpublic void callPerfanaEvent(TestContext context, String eventTitle, String eventDescription)
callPerfanaEvent in interface PerfanaCallerpublic static String perfanaMessageToJson(TestContext context, boolean completed, Map<String,String> extraVariables)
public String assertResults() throws PerfanaClientException, PerfanaAssertionsAreFalse
Copyright © 2022. All rights reserved.