# How to test action server

**URL:** <https://forum.rasa.com/t/how-to-test-action-server/43330>\
**Category:** Rasa Open Source\
**Created:** [May 7, 2021, 1:35pm UTC](https://forum.rasa.com/t/how-to-test-action-server/43330 "2021-05-07T13:35:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason73](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@Jason73](https://forum.rasa.com/u/Jason73)\
**Post date:** [May 7, 2021, 1:35pm UTC](https://forum.rasa.com/t/how-to-test-action-server/43330/1 "2021-05-07T13:35:32Z")

</div>

Hi all,

I have just completed writing my action server and I would like to write unit tests for it. However, I am really quite stuck for both actions and form validations. Is there any websites or tutorial that will help me to understand the process of writing unit tests?

Thanks!

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [May 13, 2021, 8:48pm UTC](https://forum.rasa.com/t/how-to-test-action-server/43330/2 "2021-05-13T20:48:14Z")

</div>

We have some examples of unit tests with pytest in our [financial-demo](https://github.com/RasaHQ/financial-demo/blob/main/tests/test_actions.py).
