> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 本番環境にデプロイする前に、Auth0 の実装をテストする方法を説明します。

# デプロイ前テストを実行する

稼働中のアプリケーションやサービスに Auth0 をデプロイする前に、単体テストと結合テストを実行する必要があります。Auth0 API に対してテストを行うと、アカウントに[レート制限](/docs/ja-jp/troubleshoot/customer-support/operational-policies/rate-limit-policy)が適用される可能性があるため、テスト時には Auth0 API のモックを作成することをお勧めします。開発環境によっては、テストツール自体に API モック機能が備わっている場合もあります。また、[MockServer](https://www.mock-server.com/) や [JSON Server](https://github.com/typicode/json-server) のように、テスト用の擬似 API をすばやく作成できる API モックツールも数多くあります。

Enterprise サブスクリプションをご利用の場合は、Auth0 に対する[負荷テスト](/docs/ja-jp/troubleshoot/customer-support/operational-policies/load-testing-policy)をリクエストできます。

<div id="performance-tests">
  ## パフォーマンステスト
</div>

パフォーマンステストの実施中に問題が発生した場合は、以下の方法でトラブルシューティングを行ってください。

<div id="auth0-dashboard">
  ### Auth0 Dashboard
</div>

Auth0 Dashboard の [Monitoring > Logs](https://manage.auth0.com/#/logs) セクションには、次のデータが保存されています。

* 管理者が Auth0 Dashboard で行った操作
* ユーザーによる認証

また、ログ記録に利用できる[拡張機能](/docs/ja-jp/customize/extensions)もあります。たとえば、ログをサードパーティのツールにエクスポートしたり、アカウント内でのカスタムコードの使用状況に関する情報を収集したりできます。

<div id="third-party-test-tools">
  ### サードパーティのテストツール
</div>

RESTful API に対するパフォーマンステストに使用できるサードパーティのテストツールは数多くあります。ここでは、検討できる選択肢をいくつかご紹介します (なお、Auth0 は特定の製品やツールを推奨していません) 。

* [Apache JMeter](https://jmeter.apache.org/)
* [Artillery](https://www.artillery.io/)
* [Micro Focus LoadRunner](https://www.radview.com/)
* [Loader](https://loader.io/)
* [RadView Webload](https://www.radview.com/)
* [SmartBear LoadUI](https://smartbear.com/)
* [Vegeta](https://github.com/tsenart/vegeta)
* [Wrk](https://github.com/wg/wrk)

これらのツールは、問題がありそうな点を特定するのに役立つアクティビティログを提供します。ログの内容の読み取りや想定される問題の特定についてサポートが必要な場合は、Support までお問い合わせください。

<div id="http-archive-files">
  ### HTTP アーカイブファイル
</div>

再現可能な問題が見つかった場合は、[HTTP アーカイブ (HAR) ファイルを作成し](https://support.auth0.com/center/s/article/generate-and-analyze-har-files-to-troubleshoot-auth0-issues)、追加のサポートを受けるためにサポートチームへ送付することをお勧めします。

<div id="learn-more">
  ## 詳細はこちら
</div>

* [Professional Services: Implement](/docs/ja-jp/get-started/professional-services/implement)
* [AD/LDAP Connector のテスト環境を設定する](/docs/ja-jp/authenticate/identity-providers/enterprise-identity-providers/active-directory-ldap/ad-ldap-connector/ad-ldap-connector-test-environment)
