Skip to content

Commit 4770676

Browse files
update swagger and postman
1 parent d266b44 commit 4770676

4 files changed

+5802
-23313
lines changed

Verification.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# TopCoder Challenge API Verification
22

3-
## Postman tests
4-
- clear the environment, run command `npm run init-db` and `npm run init-es force`
5-
- import Postman collection and environment in the docs folder to Postman
6-
- run tests from up to down in order
7-
- You need to run command `npm run sync-es` before you run `Challenges/get challenge` and `Challenges/search challenge` test case.
3+
## E2E Postman tests
4+
- Import Postman collection and environment in the docs folder to Postman
5+
- Set `token` variable in environment variables folder
6+
- Open Runner
7+
- Put E2E Test Folder inside Runner
8+
- Set `Delay` to 2000ms
9+
- Check `Save Responses`
10+
- Start Run
811

912
## DynamoDB Verification
1013
Run command `npm run view-data <ModelName>` to view table data, ModelName can be `Challenge`, `ChallengeType`, `AuditLog`, `Phase`, `TimelineTemplate`, `Attachment` or `ChallengeTimelineTemplate`

0 commit comments

Comments
 (0)