Nested threads and steps
wrap
method. This will allow you to add additional steps or threads to the existing one.
client.getCurrentThread()
and client.getCurrentStep()
getCurrentThread
and getCurrentStep
methods are type-safe and they will throw an error if called outside of a wrapped context.