How should I setup tests? #1268
-
So, I am looking at setting up tests with Thunder. I read the testing doc, but still have a few questions around how I should setup my tests: Say, I have an API that takes a POST request to add a user exposed at, http://localhost:8000/api/v1/user, there are various tests I want to check for:
Basically, I will have different json docs, ordering and looking at different error codes. I get how I can look into the error codes and possibly error codes in the test configuration. However, I do need the tests to take different json docs, and possibly have a specific order. Do I need to setup these tests as separate requests or is there a way to do that as part of the test screen? Any help appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
there are 2 options
You can choose any based on your preference. more advanced using scripting.
|
Beta Was this translation helpful? Give feedback.
Hi @phantomdenkali
there are 2 options
You can choose any based on your preference.
more advanced using scripting.