object Predef extends GrpcDsl with GrpcCheckSupport with StreamingCheckSupport with StatusSupport
- Alphabetic
- By Inheritance
- Predef
- StatusSupport
- StreamingCheckSupport
- GrpcCheckSupport
- GrpcDsl
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def $[T](name: String)(implicit arg0: ClassTag[T], arg1: NotNothing[T]): Expression[T]
$("name")is a simpler alternative to the EL string"#{name}".$("name")is a simpler alternative to the EL string"#{name}". Unlike the EL string, this Expression does not do type casting (e.g. parsing a String to an Int).- T
expected type of the session attribute. Usually inferred by the compiler
- name
name of the session attribute
- returns
an Expression that retrieves the session attribute and checks its type
- Definition Classes
- GrpcDsl
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ErrorOnly: StreamEndLog
Passed to com.github.phisgr.gatling.grpc.action.StreamStartBuilder.streamEndLog Add the stream end event to the report only when an error occurred.
Passed to com.github.phisgr.gatling.grpc.action.StreamStartBuilder.streamEndLog Add the stream end event to the report only when an error occurred.
- Definition Classes
- GrpcDsl
- def Never: StreamEndLog
Passed to com.github.phisgr.gatling.grpc.action.StreamStartBuilder.streamEndLog Never add the stream end event to the report.
Passed to com.github.phisgr.gatling.grpc.action.StreamStartBuilder.streamEndLog Never add the stream end event to the report.
- Definition Classes
- GrpcDsl
- def NextMessage: WaitType
Passed to com.github.phisgr.gatling.grpc.request.ListeningStream.reconciliate or com.github.phisgr.gatling.grpc.request.BidiStream.complete.
Passed to com.github.phisgr.gatling.grpc.request.ListeningStream.reconciliate or com.github.phisgr.gatling.grpc.request.BidiStream.complete. Suspends the execution of the virtual user until the next message arrives or the stream ends.
- Definition Classes
- GrpcDsl
- def StreamEnd: WaitType
Passed to com.github.phisgr.gatling.grpc.request.ListeningStream.reconciliate or com.github.phisgr.gatling.grpc.request.BidiStream.complete.
Passed to com.github.phisgr.gatling.grpc.request.ListeningStream.reconciliate or com.github.phisgr.gatling.grpc.request.BidiStream.complete. Suspends the execution of the virtual user until the stream ends.
- Definition Classes
- GrpcDsl
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def bidi(e: Expression[BidiStreamState]): BidiStatusSupport
- Definition Classes
- StatusSupport
- implicit def checkBuilder2GrpcCheck[A, P, ResOrAny, Res](checkBuilder: CheckBuilder[A, P])(implicit materializer: CheckMaterializer[A, GrpcCheck[ResOrAny], GrpcResponse[ResOrAny], P], contravarianceHelper: (GrpcCheck[ResOrAny]) => GrpcCheck[Res]): GrpcCheck[Res]
- Definition Classes
- GrpcCheckSupport
- implicit def checkBuilder2StreamCheck[A, P, Res](checkBuilder: CheckBuilder[A, P])(implicit materializer: CheckMaterializer[A, StreamCheck[Res], Res, P]): StreamCheck[Res]
- Definition Classes
- StreamingCheckSupport
- implicit def client(e: Expression[ClientStreamState]): ClientStatusSupport
- Definition Classes
- StatusSupport
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def dynamicChannel(channelAttributeName: String): DynamicGrpcProtocol
Creates a GrpcProtocol that looks up a channel created at runtime.
Creates a GrpcProtocol that looks up a channel created at runtime. The virtual user has to go through
exec(com.github.phisgr.gatling.grpc.protocol.DynamicGrpcProtocol.setChannel)before running a gRPC action with.target(dynamicChannel)- channelAttributeName
The key in the session for storing the channel. Start it with
"gatling."to stop it from being removed by Session.reset.- returns
a DynamicGrpcProtocol
- Definition Classes
- GrpcDsl
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extract[T, X](f: (T) => Validation[Option[X]]): Find[ResponseExtract, T, X]
- Definition Classes
- GrpcCheckSupport
- def extractMultiple[T, X](f: (T) => Validation[Option[Seq[X]]]): Default[ResponseExtract, T, X]
- Definition Classes
- GrpcCheckSupport
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit def findCheckBuilder2GrpcCheck[A, P, X, ResOrAny, Res](findCheckBuilder: Find[A, P, X])(implicit materializer: CheckMaterializer[A, GrpcCheck[ResOrAny], GrpcResponse[ResOrAny], P], contravarianceHelper: (GrpcCheck[ResOrAny]) => GrpcCheck[Res]): GrpcCheck[Res]
- Definition Classes
- GrpcCheckSupport
- implicit def findCheckBuilder2StreamCheck[A, P, X, Res](findCheckBuilder: Find[A, P, X])(implicit materializer: CheckMaterializer[A, StreamCheck[Res], Res, P]): StreamCheck[Res]
- Definition Classes
- StreamingCheckSupport
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def grpc(requestName: Expression[String]): Grpc
- Definition Classes
- GrpcDsl
- def grpc(channelBuilder: io.grpc.ManagedChannelBuilder[_]): StaticGrpcProtocol
- Definition Classes
- GrpcDsl
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def managedChannelBuilder(name: String, port: Int): ManagedChannelBuilder
- Definition Classes
- GrpcDsl
- def managedChannelBuilder(target: String): ManagedChannelBuilder
- Definition Classes
- GrpcDsl
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def resMat[Res]: CheckMaterializer[ResponseExtract, GrpcCheck[Res], GrpcResponse[Res], Res]
- Definition Classes
- GrpcCheckSupport
- implicit def server(e: Expression[ServerStreamState]): ServerStatusSupport
- Definition Classes
- StatusSupport
- implicit def someWrapper[T](value: T): SomeWrapper[T]
Adds extension method
.someto values, to convert aTto anOption[T]Adds extension method
.someto values, to convert aTto anOption[T]- Definition Classes
- GrpcCheckSupport
- val statusCode: Find[StatusExtract, Status, Code]
- Definition Classes
- GrpcCheckSupport
- val statusDescription: Find[StatusExtract, Status, String]
- Definition Classes
- GrpcCheckSupport
- implicit val statusMat: CheckMaterializer[StatusExtract, GrpcCheck[Any], GrpcResponse[Any], Status]
- Definition Classes
- GrpcCheckSupport
- implicit def streamResMat[Res]: CheckMaterializer[ResponseExtract, StreamCheck[Res], Res, Res]
- Definition Classes
- StreamingCheckSupport
- implicit val streamStatusMat: CheckMaterializer[StatusExtract, StreamCheck[GrpcStreamEnd], GrpcStreamEnd, Status]
- Definition Classes
- StreamingCheckSupport
- implicit val streamTrailersMat: CheckMaterializer[TrailersExtract, StreamCheck[GrpcStreamEnd], GrpcStreamEnd, Metadata]
- Definition Classes
- StreamingCheckSupport
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trailer[T](key: Key[T]): Default[TrailersExtract, Metadata, T]
- Definition Classes
- GrpcCheckSupport
- implicit val trailersMat: CheckMaterializer[TrailersExtract, GrpcCheck[Any], GrpcResponse[Any], Metadata]
- Definition Classes
- GrpcCheckSupport
- implicit def validatorCheckBuilder2GrpcCheck[A, P, X, ResOrAny, Res](vCheckBuilder: Validate[A, P, X])(implicit materializer: CheckMaterializer[A, GrpcCheck[ResOrAny], GrpcResponse[ResOrAny], P], contravarianceHelper: (GrpcCheck[ResOrAny]) => GrpcCheck[Res]): GrpcCheck[Res]
- Definition Classes
- GrpcCheckSupport
- implicit def validatorCheckBuilder2StreamCheck[A, P, X, Res](vCheckBuilder: Validate[A, P, X])(implicit materializer: CheckMaterializer[A, StreamCheck[Res], Res, P]): StreamCheck[Res]
- Definition Classes
- StreamingCheckSupport
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()