Class SendHttpRequestStep

  • All Implemented Interfaces:
    io.hyperfoil.api.config.SLA.Provider, io.hyperfoil.api.config.Step, java.io.Serializable

    public class SendHttpRequestStep
    extends StatisticsStep
    implements io.hyperfoil.api.config.SLA.Provider
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.hyperfoil.api.config.Step

        io.hyperfoil.api.config.Step.Catalog
    • Constructor Summary

      Constructors 
      Constructor Description
      SendHttpRequestStep​(int stepId, io.hyperfoil.http.steps.HttpRequestContext.Key contextKey, io.hyperfoil.function.SerializableBiFunction<io.hyperfoil.api.session.Session,​io.hyperfoil.api.connection.Connection,​io.netty.buffer.ByteBuf> bodyGenerator, io.hyperfoil.function.SerializableBiConsumer<io.hyperfoil.api.session.Session,​HttpRequestWriter>[] headerAppenders, boolean injectHostHeader, long timeout, io.hyperfoil.api.config.SLA[] sla)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean invoke​(io.hyperfoil.api.session.Session session)  
      io.hyperfoil.api.config.SLA[] sla()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.hyperfoil.api.config.SLA.Provider

        id
    • Constructor Detail

      • SendHttpRequestStep

        public SendHttpRequestStep​(int stepId,
                                   io.hyperfoil.http.steps.HttpRequestContext.Key contextKey,
                                   io.hyperfoil.function.SerializableBiFunction<io.hyperfoil.api.session.Session,​io.hyperfoil.api.connection.Connection,​io.netty.buffer.ByteBuf> bodyGenerator,
                                   io.hyperfoil.function.SerializableBiConsumer<io.hyperfoil.api.session.Session,​HttpRequestWriter>[] headerAppenders,
                                   boolean injectHostHeader,
                                   long timeout,
                                   io.hyperfoil.api.config.SLA[] sla)
    • Method Detail

      • invoke

        public boolean invoke​(io.hyperfoil.api.session.Session session)
        Specified by:
        invoke in interface io.hyperfoil.api.config.Step
      • sla

        public io.hyperfoil.api.config.SLA[] sla()
        Specified by:
        sla in interface io.hyperfoil.api.config.SLA.Provider