public class WSClientAutobahnTest$
extends java.lang.Object
implements scala.App
Modifier and Type | Field and Description |
---|---|
static WSClientAutobahnTest$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
WSClientAutobahnTest$() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Agent() |
<T> scala.Function1<scala.util.Try<T>,scala.runtime.BoxedUnit> |
completion() |
<T> org.apache.pekko.stream.scaladsl.Flow<T,T,scala.concurrent.Future<org.apache.pekko.Done>> |
completionSignal() |
org.apache.pekko.stream.scaladsl.Flow<Message,Message,scala.concurrent.Future<org.apache.pekko.Done>> |
echo() |
long |
executionStart() |
scala.concurrent.Future<java.lang.Object> |
getCaseCount() |
Uri |
getCaseCountUri() |
scala.concurrent.Future<WSClientAutobahnTest.IndexedCaseInfo> |
getCaseInfo(int caseId) |
Uri |
getCaseInfoUri(int caseIndex) |
scala.concurrent.Future<scala.collection.immutable.Map<java.lang.String,WSClientAutobahnTest.IndexedCaseInfo>> |
getCaseMap()
Map from textual case ID (like 1.1.1) to IndexedCaseInfo
|
scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> |
getCaseStatus(int caseId,
java.lang.String agent) |
Uri |
getCaseStatusUri(int caseIndex,
java.lang.String agent) |
int |
Parallelism() |
scala.concurrent.Future<WSClientAutobahnTest.CaseResult> |
richRunCase(int caseIndex,
java.lang.String agent) |
scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> |
runCase(int caseIndex,
java.lang.String agent) |
Uri |
runCaseUri(int caseIndex,
java.lang.String agent) |
<T> scala.concurrent.Future<T> |
runToSingleJsonValue(Uri uri,
spray.json.JsonReader<T> evidence$1) |
scala.concurrent.Future<java.lang.String> |
runToSingleText(Uri uri)
The autobahn tests define a weird API where every request must be a WebSocket request and
they will send a single websocket message with the result.
|
<T> T |
runWs(Uri uri,
org.apache.pekko.stream.scaladsl.Flow<Message,Message,T> clientFlow) |
org.apache.pekko.actor.ActorSystem |
system() |
scala.concurrent.Future<scala.runtime.BoxedUnit> |
updateReports(java.lang.String agent) |
void |
updateReportsAndShutdown() |
Uri |
updateReportsUri(java.lang.String agent) |
public static final WSClientAutobahnTest$ MODULE$
public final long executionStart()
executionStart
in interface scala.App
public org.apache.pekko.actor.ActorSystem system()
public java.lang.String Agent()
public int Parallelism()
public Uri getCaseCountUri()
public Uri runCaseUri(int caseIndex, java.lang.String agent)
public Uri getCaseStatusUri(int caseIndex, java.lang.String agent)
public Uri getCaseInfoUri(int caseIndex)
public Uri updateReportsUri(java.lang.String agent)
public scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> runCase(int caseIndex, java.lang.String agent)
public scala.concurrent.Future<WSClientAutobahnTest.CaseResult> richRunCase(int caseIndex, java.lang.String agent)
public scala.concurrent.Future<java.lang.Object> getCaseCount()
public scala.concurrent.Future<WSClientAutobahnTest.IndexedCaseInfo> getCaseInfo(int caseId)
public scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> getCaseStatus(int caseId, java.lang.String agent)
public scala.concurrent.Future<scala.runtime.BoxedUnit> updateReports(java.lang.String agent)
public scala.concurrent.Future<scala.collection.immutable.Map<java.lang.String,WSClientAutobahnTest.IndexedCaseInfo>> getCaseMap()
public org.apache.pekko.stream.scaladsl.Flow<Message,Message,scala.concurrent.Future<org.apache.pekko.Done>> echo()
public <T> scala.Function1<scala.util.Try<T>,scala.runtime.BoxedUnit> completion()
public void updateReportsAndShutdown()
public <T> T runWs(Uri uri, org.apache.pekko.stream.scaladsl.Flow<Message,Message,T> clientFlow)
public <T> org.apache.pekko.stream.scaladsl.Flow<T,T,scala.concurrent.Future<org.apache.pekko.Done>> completionSignal()
public scala.concurrent.Future<java.lang.String> runToSingleText(Uri uri)
uri
- (undocumented)public <T> scala.concurrent.Future<T> runToSingleJsonValue(Uri uri, spray.json.JsonReader<T> evidence$1)