# Test user several number of user registrations

**URL:** <https://community.gatling.io/t/test-user-several-number-of-user-registrations/1793>\
**Category:** Gatling (Open-Source)\
**Created:** [December 10, 2014, 5:16am UTC](https://community.gatling.io/t/test-user-several-number-of-user-registrations/1793 "2014-12-10T05:16:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parag\_Redkar](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Parag\_Redkar](https://community.gatling.io/u/Parag_Redkar)\
**Post date:** [December 10, 2014, 5:16am UTC](https://community.gatling.io/t/test-user-several-number-of-user-registrations/1793/1 "2014-12-10T05:16:32Z")

</div>

I want to test several number of user registrations.  
There is ajax call for adding user to db, which i have specified in gatling.  
I have provided the user details, and the url.  
But I dont see real entries getting added to Database user table, after i run gatling.bat file.  
How are the reports generated then, if user entry is not getting added to to database table?  
Oe am I missing something?

.exec(http(“request\_13”)  
.post("""/wp-content/themes/myprek/api/index.php/student""")  
.formParam(""“user-name”"", “”“[testuser1@mail78.com](mailto:testuser1@mail78.com)”"")  
.formParam(""“user-email”"", “”“[testuser2@mail78.com](mailto:testuser2@mail78.com)”"")  
.formParam(""“user-password”"", “”“testpass123"”")  
.formParam(""“user-confirmpassword”"", “”“testpass123"”")  
.formParam(""“user-telephonenumber”"", “”“8734392323"”")  
.headers(headers\_13)  
)

Thanks in advance for reply/help

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [December 10, 2014, 6:08am UTC](https://community.gatling.io/t/test-user-several-number-of-user-registrations/1793/2 "2014-12-10T06:08:39Z")

</div>

You’re the only one who can figure this out.  
Usually, registration process requires clicking on some link in a confirmation email…

---

<div class="post-metadata">

**Author:** ![Parag\_Redkar](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Parag\_Redkar](https://community.gatling.io/u/Parag_Redkar)\
**Post date:** [December 10, 2014, 6:26am UTC](https://community.gatling.io/t/test-user-several-number-of-user-registrations/1793/3 "2014-12-10T06:26:02Z")

</div>

That was a quick response. Thanks.🙂

In my case, there is no confirmation email.  
User gets added to user table in database, once the values are posted to the URL.

If I run the test, the gatling will post the supplied param values to the given url and generate report based on response?  
or till which action, the gatling will generate report?

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [December 10, 2014, 7:11am UTC](https://community.gatling.io/t/test-user-several-number-of-user-registrations/1793/4 "2014-12-10T07:11:38Z")

</div>

Gatling is not Selenium and doesn’t drive a browser. It’s an HTTP client. So it has nothing to do with what you call “actions”, it sends HTTP requests.
