Uses of Interface
io.ryos.rhino.sdk.data.UserSession
-
-
Uses of UserSession in io.ryos.rhino.sdk
Methods in io.ryos.rhino.sdk that return types with arguments of type UserSession Modifier and Type Method Description UserRepository<UserSession>
SimulationMetadata. getUserRepository()
-
Uses of UserSession in io.ryos.rhino.sdk.data
Classes in io.ryos.rhino.sdk.data that implement UserSession Modifier and Type Class Description class
UserSessionImpl
User define is a stash to store objects and share them among scenarios or DSLs in every load generation cycle. -
Uses of UserSession in io.ryos.rhino.sdk.dsl
Methods in io.ryos.rhino.sdk.dsl that return UserSession Modifier and Type Method Description UserSession
ResultHandler. handle(E resultObject)
UserSession
ResultingDsl. handleResult(UserSession userSession, R response)
Methods in io.ryos.rhino.sdk.dsl that return types with arguments of type UserSession Modifier and Type Method Description java.util.function.Function<UserSession,java.lang.String>
HttpDsl. getEndpoint()
java.util.function.Consumer<UserSession>
ExpressionDsl. getExpression()
java.util.List<java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>>>
HttpDsl. getFormParameters()
java.util.function.Function<UserSession,java.lang.String>
SomeDsl. getFunction()
Function contains the code snippet to be applied.java.util.List<java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>>>
HttpDsl. getHeaders()
java.util.function.Function<UserSession,R>
ForEachDsl. getIterableSupplier()
java.util.function.Function<UserSession,java.lang.String>
HttpDsl. getLazyStringPayload()
java.util.function.Predicate<UserSession>
EnsureDsl. getPredicate()
java.util.function.Predicate<UserSession>
FilterDsl. getPredicate()
Returns thePredicate
which will be applied to the filter.java.util.function.Predicate<UserSession>
RunUntilDsl. getPredicate()
java.util.List<java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>>>
HttpDsl. getQueryParameters()
java.util.function.Function<UserSession,User>
HttpConfigDsl. getUserAccessor()
java.util.function.Function<UserSession,User>
HttpDsl. getUserAccessor()
Methods in io.ryos.rhino.sdk.dsl with parameters of type UserSession Modifier and Type Method Description UserSession
ResultingDsl. handleResult(UserSession userSession, R response)
Method parameters in io.ryos.rhino.sdk.dsl with type arguments of type UserSession Modifier and Type Method Description DslBuilder
IterableDsl. asLongAs(java.util.function.Predicate<UserSession> predicate, MaterializableDslItem spec)
Runs theMaterializableDslItem
as long as thePredicate
holds.HttpConfigDsl
HttpConfigDsl. auth(java.util.function.Function<UserSession,User> sessionAccessor)
HttpConfigDsl
HttpConfigDsl. endpoint(java.util.function.BiFunction<UserSession,HttpDsl,java.lang.String> endpoint)
HttpConfigDsl
HttpConfigDsl. endpoint(java.util.function.Function<UserSession,java.lang.String> endpoint)
DslBuilder
AssertionDsl. ensure(java.util.function.Predicate<UserSession> predicate)
Ensure DSL is to assert the predicate passed holds true, otherwise it stops the pipeline.DslBuilder
AssertionDsl. ensure(java.util.function.Predicate<UserSession> predicate, java.lang.String reason)
Ensure DSL is to assert the predicate passed holds true, otherwise it stops the pipeline.MaterializableDslItem
SomeDsl. exec(java.util.function.Function<UserSession,java.lang.String> function)
Method to add a spec function into the DSL.DslBuilder
DslBuilder. filter(java.util.function.Predicate<UserSession> predicate)
Filter is used to filter according to the predicate.<E,R extends java.lang.Iterable<E>,T extends MaterializableDslItem>
DslBuilderIterableDsl. forEach(java.util.function.Function<UserSession,R> iterableExtractor, java.util.function.Function<E,T> dslItemExtractor)
<E,R extends java.lang.Iterable<E>,T extends MaterializableDslItem>
DslBuilderIterableDsl. forEach(java.util.function.Function<UserSession,R> iterableExtractor, java.util.function.Function<E,T> dslItemExtractor, java.lang.String sessionKey)
<E,R extends java.lang.Iterable<E>,T extends MaterializableDslItem>
DslBuilderIterableDsl. forEach(java.util.function.Function<UserSession,R> iterableExtractor, java.util.function.Function<E,T> dslItemExtractor, java.lang.String sessionKey, SessionDslItem.Scope scope)
HttpConfigDsl
HttpConfigDsl. formParam(java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> formParamFunction)
HttpConfigDsl
HttpConfigDsl. header(java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> headerFunction)
Adds a new header into headers.HttpConfigDsl
HttpConfigDsl. payload(java.util.function.Function<UserSession,java.lang.String> payloadFunction)
HttpConfigDsl
HttpConfigDsl. queryParam(java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> queryParamFunction)
DslBuilder
DslBuilder. runIf(java.util.function.Predicate<UserSession> predicate, MaterializableDslItem spec)
Conditional runnable DSL is aDslBuilder
ifPredicate
returnstrue
, then the execution proceeds and it runs theMaterializableDslItem
passed as parameter.DslBuilder
IterableDsl. until(java.util.function.Predicate<UserSession> predicate, MaterializableDslItem spec)
Runs theMaterializableDslItem
till thePredicate
holds. -
Uses of UserSession in io.ryos.rhino.sdk.dsl.data
Constructors in io.ryos.rhino.sdk.dsl.data with parameters of type UserSession Constructor Description HttpSpecAsyncHandler(UserSession session, HttpDsl dslItem)
-
Uses of UserSession in io.ryos.rhino.sdk.dsl.data.builder
Methods in io.ryos.rhino.sdk.dsl.data.builder that return types with arguments of type UserSession Modifier and Type Method Description java.util.function.Function<UserSession,R>
ForEachBuilder. getIterableSupplier()
java.util.function.Function<UserSession,R>
ForEachBuilderImpl. getIterableSupplier()
java.util.function.Function<UserSession,T>
MapperBuilder. getSessionExtractor()
Method parameters in io.ryos.rhino.sdk.dsl.data.builder with type arguments of type UserSession Modifier and Type Method Description static <E,R extends java.lang.Iterable<E>,T extends MaterializableDslItem>
ForEachBuilder<E,R,T>ForEachBuilderImpl. in(java.util.function.Function<UserSession,R> iterableSupplier)
static <R,T>
MapperBuilder<R,T>MapperBuilder. in(java.util.function.Function<UserSession,T> sessionExtractor)
Constructor parameters in io.ryos.rhino.sdk.dsl.data.builder with type arguments of type UserSession Constructor Description ForEachBuilderImpl(java.util.function.Function<UserSession,R> iterableSupplier)
-
Uses of UserSession in io.ryos.rhino.sdk.dsl.impl
Methods in io.ryos.rhino.sdk.dsl.impl that return UserSession Modifier and Type Method Description UserSession
ExpressionDslImpl. handleResult(UserSession userSession, java.lang.Object returnValue)
UserSession
ForEachDslImpl. handleResult(UserSession userSession, java.lang.Object response)
UserSession
HttpDslImpl. handleResult(UserSession userSession, HttpResponse response)
Methods in io.ryos.rhino.sdk.dsl.impl that return types with arguments of type UserSession Modifier and Type Method Description java.util.function.Function<UserSession,java.lang.String>
HttpDslImpl. getEndpoint()
java.util.function.Consumer<UserSession>
ExpressionDslImpl. getExpression()
java.util.List<java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>>>
HttpDslImpl. getFormParameters()
java.util.function.Function<UserSession,java.lang.String>
SomeDslImpl. getFunction()
java.util.List<java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>>>
HttpDslImpl. getHeaders()
java.util.function.Function<UserSession,R>
ForEachDslImpl. getIterableSupplier()
java.util.function.Function<UserSession,java.lang.String>
HttpDslImpl. getLazyStringPayload()
java.util.function.Predicate<UserSession>
ConditionalDslWrapper. getPredicate()
java.util.function.Predicate<UserSession>
EnsureDslImpl. getPredicate()
java.util.function.Predicate<UserSession>
FilterDslImpl. getPredicate()
java.util.function.Predicate<UserSession>
RunUntilDslImpl. getPredicate()
java.util.List<java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>>>
HttpDslImpl. getQueryParameters()
java.util.function.Function<UserSession,User>
HttpDslImpl. getUserAccessor()
Methods in io.ryos.rhino.sdk.dsl.impl with parameters of type UserSession Modifier and Type Method Description UserSession
ExpressionDslImpl. handleResult(UserSession userSession, java.lang.Object returnValue)
UserSession
ForEachDslImpl. handleResult(UserSession userSession, java.lang.Object response)
UserSession
HttpDslImpl. handleResult(UserSession userSession, HttpResponse response)
Method parameters in io.ryos.rhino.sdk.dsl.impl with type arguments of type UserSession Modifier and Type Method Description DslBuilder
DslBuilderImpl. asLongAs(java.util.function.Predicate<UserSession> predicate, MaterializableDslItem dslItem)
HttpConfigDsl
HttpDslImpl. auth(java.util.function.Function<UserSession,User> sessionAccessor)
HttpConfigDsl
HttpDslImpl. endpoint(java.util.function.BiFunction<UserSession,HttpDsl,java.lang.String> endpoint)
HttpConfigDsl
HttpDslImpl. endpoint(java.util.function.Function<UserSession,java.lang.String> endpoint)
DslBuilder
DslBuilderImpl. ensure(java.util.function.Predicate<UserSession> predicate)
DslBuilder
DslBuilderImpl. ensure(java.util.function.Predicate<UserSession> predicate, java.lang.String reason)
MaterializableDslItem
SomeDslImpl. exec(java.util.function.Function<UserSession,java.lang.String> function)
DslBuilder
DslBuilderImpl. filter(java.util.function.Predicate<UserSession> predicate)
<E,R extends java.lang.Iterable<E>,T extends MaterializableDslItem>
DslBuilderDslBuilderImpl. forEach(java.util.function.Function<UserSession,R> iterableExtractor, java.util.function.Function<E,T> dslItemExtractor)
<E,R extends java.lang.Iterable<E>,T extends MaterializableDslItem>
DslBuilderDslBuilderImpl. forEach(java.util.function.Function<UserSession,R> iterableExtractor, java.util.function.Function<E,T> dslItemExtractor, java.lang.String sessionKey)
<E,R extends java.lang.Iterable<E>,T extends MaterializableDslItem>
DslBuilderDslBuilderImpl. forEach(java.util.function.Function<UserSession,R> iterableExtractor, java.util.function.Function<E,T> dslItemExtractor, java.lang.String sessionKey, SessionDslItem.Scope scope)
HttpConfigDsl
HttpDslImpl. formParam(java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> formParamFunction)
HttpConfigDsl
HttpDslImpl. header(java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> headerFunction)
HttpConfigDsl
HttpDslImpl. payload(java.util.function.Function<UserSession,java.lang.String> payloadFunction)
HttpConfigDsl
HttpDslImpl. queryParam(java.util.function.Function<UserSession,java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> queryParamFunction)
DslBuilder
DslBuilderImpl. runIf(java.util.function.Predicate<UserSession> predicate, MaterializableDslItem dslItem)
DslBuilder
DslBuilderImpl. until(java.util.function.Predicate<UserSession> predicate, MaterializableDslItem dslItem)
Constructor parameters in io.ryos.rhino.sdk.dsl.impl with type arguments of type UserSession Constructor Description ConditionalDslWrapper(MaterializableDslItem wrappedDslItem, java.util.function.Predicate<UserSession> predicate)
EnsureDslImpl(java.lang.String measurement, java.util.function.Predicate<UserSession> predicate)
EnsureDslImpl(java.util.function.Predicate<UserSession> predicate)
EnsureDslImpl(java.util.function.Predicate<UserSession> predicate, java.lang.String cause)
ExpressionDslImpl(java.util.function.Consumer<UserSession> expression)
FilterDslImpl(java.util.function.Predicate<UserSession> predicate)
ForEachDslImpl(java.lang.String name, java.util.List<MaterializableDslItem> children, java.lang.String sessionKey, SessionDslItem.Scope scope, java.util.function.Function<UserSession,R> iterableSupplier, java.util.List<java.util.function.Function<S,T>> forEachFunctions, java.util.function.Function<S,java.lang.Object> mapper)
Constructs a newForEachDsl
instance.RunUntilDslImpl(MaterializableDslItem spec, java.util.function.Predicate<UserSession> predicate)
-
Uses of UserSession in io.ryos.rhino.sdk.dsl.mat
Methods in io.ryos.rhino.sdk.dsl.mat that return UserSession Modifier and Type Method Description UserSession
CollectingHttpResultHandler. handle(HttpResponse resultObject)
Methods in io.ryos.rhino.sdk.dsl.mat that return types with arguments of type UserSession Modifier and Type Method Description reactor.core.publisher.Mono<UserSession>
CollectingMaterializer. materialize(UserSession session)
reactor.core.publisher.Mono<UserSession>
ConditionalDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
DslMaterializer. materialize(UserSession userSession)
Materializer takes the DSL items and convert it into aMono
.reactor.core.publisher.Mono<UserSession>
DslMethodMaterializer. materialize(UserSession session)
reactor.core.publisher.Mono<UserSession>
EnsureDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
ExpressionDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
FilterDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
ForEachDslMaterializer. materialize(UserSession session)
reactor.core.publisher.Mono<UserSession>
HttpDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
LoadDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
MapperDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
MeasureDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
RunUntilDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
SessionDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
SomeDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
WaitDslMaterializer. materialize(UserSession userSession)
Methods in io.ryos.rhino.sdk.dsl.mat with parameters of type UserSession Modifier and Type Method Description reactor.core.publisher.Mono<UserSession>
CollectingMaterializer. materialize(UserSession session)
reactor.core.publisher.Mono<UserSession>
ConditionalDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
DslMaterializer. materialize(UserSession userSession)
Materializer takes the DSL items and convert it into aMono
.reactor.core.publisher.Mono<UserSession>
DslMethodMaterializer. materialize(UserSession session)
reactor.core.publisher.Mono<UserSession>
EnsureDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
ExpressionDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
FilterDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
ForEachDslMaterializer. materialize(UserSession session)
reactor.core.publisher.Mono<UserSession>
HttpDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
LoadDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
MapperDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
MeasureDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
RunUntilDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
SessionDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
SomeDslMaterializer. materialize(UserSession userSession)
reactor.core.publisher.Mono<UserSession>
WaitDslMaterializer. materialize(UserSession userSession)
Constructors in io.ryos.rhino.sdk.dsl.mat with parameters of type UserSession Constructor Description CollectingHttpResultHandler(UserSession userSession, HttpDsl httpSpec)
CollectingHttpResultHandler(java.lang.String contextKey, UserSession userSession, ResultingDsl resultingDsl)
-
Uses of UserSession in io.ryos.rhino.sdk.dsl.utils
Methods in io.ryos.rhino.sdk.dsl.utils that return types with arguments of type UserSession Modifier and Type Method Description static <T> java.util.function.Function<UserSession,T>
SessionUtils. global(java.lang.String sessionKey)
static <T> java.util.function.Function<UserSession,T>
SessionUtils. global(java.lang.String sessionKey, java.lang.String expression)
static java.util.function.Predicate<UserSession>
DslUtils. ifStatusCode(int statusCode)
Used as predicate to conditional DSL components:static <T> java.util.function.Function<UserSession,T>
SessionUtils. session(java.lang.String sessionKey)
static <T> java.util.function.Function<UserSession,T>
SessionUtils. session(java.lang.String sessionKey, java.lang.String expression)
Methods in io.ryos.rhino.sdk.dsl.utils with parameters of type UserSession Modifier and Type Method Description static User
SessionUtils. getActiveUser(UserSession userSession)
Method parameters in io.ryos.rhino.sdk.dsl.utils with type arguments of type UserSession Modifier and Type Method Description static DslBuilder
DslUtils. asLongAs(java.util.function.Predicate<UserSession> predicate, MaterializableDslItem dslItem)
static DslBuilder
DslUtils. ensure(java.util.function.Predicate<UserSession> predicate)
static DslBuilder
DslUtils. ensure(java.util.function.Predicate<UserSession> predicate, java.lang.String reason)
static ExpressionDsl
DslUtils. eval(java.util.function.Consumer<UserSession> expression)
static DslBuilder
DslUtils. filter(java.util.function.Predicate<UserSession> predicate)
static DslBuilder
DslUtils. runIf(java.util.function.Predicate<UserSession> predicate, MaterializableDslItem matDslItem)
static DslBuilder
DslUtils. until(java.util.function.Predicate<UserSession> predicate, MaterializableDslItem dslItem)
-
Uses of UserSession in io.ryos.rhino.sdk.providers
Constructor parameters in io.ryos.rhino.sdk.providers with type arguments of type UserSession Constructor Description OAuthUserProvider(CyclicUserSessionRepository<UserSession> userSessionRepository)
Constructs a newOAuthUserProvider
instance. -
Uses of UserSession in io.ryos.rhino.sdk.runners
Methods in io.ryos.rhino.sdk.runners that return types with arguments of type UserSession Modifier and Type Method Description protected reactor.core.publisher.Flux<UserSession>
AbstractSimulationRunner. appendRampUp(reactor.core.publisher.Flux<UserSession> flux)
protected reactor.core.publisher.Flux<UserSession>
AbstractSimulationRunner. appendTake(reactor.core.publisher.Flux<UserSession> flux, int stopAfter)
protected reactor.core.publisher.Flux<UserSession>
AbstractSimulationRunner. appendThrottling(reactor.core.publisher.Flux<UserSession> flux)
Method parameters in io.ryos.rhino.sdk.runners with type arguments of type UserSession Modifier and Type Method Description protected reactor.core.publisher.Flux<UserSession>
AbstractSimulationRunner. appendRampUp(reactor.core.publisher.Flux<UserSession> flux)
protected reactor.core.publisher.Flux<UserSession>
AbstractSimulationRunner. appendTake(reactor.core.publisher.Flux<UserSession> flux, int stopAfter)
protected reactor.core.publisher.Flux<UserSession>
AbstractSimulationRunner. appendThrottling(reactor.core.publisher.Flux<UserSession> flux)
-
Uses of UserSession in io.ryos.rhino.sdk.users.repositories
Classes in io.ryos.rhino.sdk.users.repositories with type parameters of type UserSession Modifier and Type Interface Description interface
CyclicUserSessionRepository<T extends UserSession>
interface
UserRepository<T extends UserSession>
User repository is a storage for test user.interface
UserRepositoryFactory<T extends UserSession>
UseUserRepositoryFactory
instance to create customUserRepository
instances.Methods in io.ryos.rhino.sdk.users.repositories that return UserSession Modifier and Type Method Description UserSession
CyclicUserSessionRepositoryImpl. take()
Methods in io.ryos.rhino.sdk.users.repositories that return types with arguments of type UserSession Modifier and Type Method Description UserRepository<UserSession>
BasicUserRepositoryFactoryImpl. create()
UserRepository<UserSession>
DefaultUserRepositoryFactoryImpl. create()
UserRepository<UserSession>
OAuthUserRepositoryFactoryImpl. create()
Creates a new repositoryOAuthUserRepositoryFactoryImpl
instance.java.util.List<UserSession>
CyclicUserSessionRepositoryImpl. getUserList()
java.util.List<UserSession>
BasicUserRepositoryImpl. leaseUsers(int numberOfUsers, java.lang.String region)
java.util.List<UserSession>
DefaultUserRepositoryImpl. leaseUsers(int numberOfUsers, java.lang.String region)
java.util.List<UserSession>
OAuthUserRepositoryImpl. leaseUsers(int numberOfUsers, java.lang.String region)
Constructor parameters in io.ryos.rhino.sdk.users.repositories with type arguments of type UserSession Constructor Description CyclicUserSessionRepositoryImpl(UserRepository<UserSession> userRepository, java.lang.String region)
CyclicUserSessionRepositoryImpl(UserRepository<UserSession> userRepository, java.lang.String region, int maxNumberOfUsers)
-