[beta] APIシナリオテストとは? 複数のAPIを連鎖的に呼び出し(Chaining Requests)て実行するテストのことです。 例えばユーザーの新規登録後に更新させるケースでレスポンス(ユーザーID)を次のAPIのパラメータとし て引き継ぎながらAPIを呼び出すテスト。 1. ユーザー新規登録(Create User) curl -X 'POST' \ 'https://example.com/api/v3/user' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "username": "newUser", "firstName": "John", "lastName": "James", "email": "john@example.com", "password"
![APIシナリオテストを書くべき10の理由 | ドクセル](https://cdn-ak-scissors.b.st-hatena.com/image/square/34fcd70d94263aa02522cda5659ea5d671643317/height=288;version=1;width=512/https%3A%2F%2Fbcdn.docswell.com%2Fpage%2FPJR2WQ3WE9.jpg%3Fwidth%3D480)