trait GrpcDsl extends AnyRef
- Alphabetic
- By Inheritance
- GrpcDsl
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type ManagedChannelBuilder = io.grpc.ManagedChannelBuilder[T] forSome {type T <: io.grpc.ManagedChannelBuilder[T]}
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
- 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.
- def Never: StreamEndLog
Passed to com.github.phisgr.gatling.grpc.action.StreamStartBuilder.streamEndLog Never add the stream end event to the report.
- 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.
- 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.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def grpc(requestName: Expression[String]): Grpc
- def grpc(channelBuilder: io.grpc.ManagedChannelBuilder[_]): StaticGrpcProtocol
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def managedChannelBuilder(name: String, port: Int): ManagedChannelBuilder
- def managedChannelBuilder(target: String): ManagedChannelBuilder
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()