# Polling Error in Gatling

**URL:** <https://community.gatling.io/t/polling-error-in-gatling/4586>\
**Category:** Gatling (Open-Source)\
**Created:** [October 22, 2018, 12:38am UTC](https://community.gatling.io/t/polling-error-in-gatling/4586 "2018-10-22T00:38:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navdit\_Sharma](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@Navdit\_Sharma](https://community.gatling.io/u/Navdit_Sharma)\
**Post date:** [October 22, 2018, 12:38am UTC](https://community.gatling.io/t/polling-error-in-gatling/4586/1 "2018-10-22T00:38:28Z")

</div>

Hi There

I am a bit new to Gatling, so I apologize in advance for my naive query.  
I am trying to achieve polling for a post request (as I need to subscribe to certain events, for which I would like to get updates)

My scenario looks like:

```auto
val scn = scenario("LivePolling")
  .exec(
    polling.pollerName("LiverServer_Poll")
      .every(10 seconds)
      .exec(http("LiveServ_POST")
        .post("/push")
          .headers(headers_0)
          .formParam("Event1!!!", ""))
  )
  .pause(5)
  .exec(polling.stop)

```

```auto

```
