Referring to types from Gatling API in custom code

Hi,

I’ve built a little framework of scala objects and classes to help me to more rapidly build scenarios that fit our technology stack and application architecture.

In order to implement this I’m referring to some types inside Gatling, currently these being:
io.gatling.core.session.Expression package

io.gatling.http.request.builder.HttpRequestBuilder

io.gatling.core.check.CheckBuilder

io.gatling.http.check.HttpCheck

io.gatling.http.protocol.HttpProtocolBuilder

io.gatling.core.structure.ScenarioBuilder

Am I safe in referring to these? If the assumption is that people will only ever implement scenarios and simulations by chaining Gatling api functions then function return types could change in future versions of Gatling without breaking anything. However as I’m referring to types then I could be more at risk.

And it’s not approved, what’s the correct approach?

Thanks,
Tom

image941287.png

image251140.png

image640443.png

image815017.png

image683809.png

image382163.png

image921323.png

image152195.png

image970658.png

image115055.png

image771868.png
nosig​

The types you listed should be pretty stable.

image941287.png

image251140.png

image640443.png

image815017.png

image683809.png

image382163.png

image921323.png

image152195.png

image970658.png

image115055.png

image771868.png