# Feeders in before block

**URL:** <https://community.gatling.io/t/feeders-in-before-block/6089>\
**Category:** Gatling (Open-Source)\
**Created:** [May 11, 2021, 12:39am UTC](https://community.gatling.io/t/feeders-in-before-block/6089 "2021-05-11T00:39:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sn02](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@sn02](https://community.gatling.io/u/sn02)\
**Post date:** [May 11, 2021, 12:39am UTC](https://community.gatling.io/t/feeders-in-before-block/6089/1 "2021-05-11T00:39:46Z")

</div>

Can feeders be used in the before block?

I haven’t seen an example. If it can be used, can I request for a sample?

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [May 11, 2021, 6:41am UTC](https://community.gatling.io/t/feeders-in-before-block/6089/2 "2021-05-11T06:41:26Z")

</div>

From documentation: [https://gatling.io/docs/current/general/simulation\_structure/#hooks](https://gatling.io/docs/current/general/simulation_structure/#hooks)

You won’t be able to use Gatling DSL in there, as it’s only intended for load test. You can only use your own code. If you’re looking for executing Gatling DSL, you might consider using [sequential scenarios](https://gatling.io/docs/current/general/simulation_setup#simulation-inject-seq).
