> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-fix-docs-5528-php-updates.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](http://www.mock-server.com/)や[JSON Server](https://github.com/typicode/json-server)など、テスト用のフェイクAPIを素早く作成できるAPIモッキングツールが多数あります。

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

## パフォーマンステスト

パフォーマンステストの実施中に問題が発生した場合は、次の方法でトラブルシューティングを行います。

### Auth0 Dashboard

Dashboardの[［Monitoring（モニタリング）］>［Logs（ログ）］](https://manage.auth0.com/#/logs)セクションには、以下のデータが保存されています。

* 管理者がDashboardで行ったアクション
* ユーザーが行った認証

この他に、サードパーティツールへのエクスポートログや、アカウントでのカスタムコードの使用に関する情報の収集など、ログをとる目的で使用できる[拡張機能](/docs/ja-jp/customize/extensions)もあります。

### サードパーティのテストツール

RESTful APIに対するパフォーマンステストに使用できるサードパーティ製のテストツールは多数あります。候補としてその一部をご紹介します（Auth0が特定の製品やツールを推奨するわけではありません）。

* [Apache JMeter](http://jmeter.apache.org/)
* [Artillery](https://artillery.io/)
* [Micro Focus LoadRunner](https://www.radview.com/)
* [ローダー](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)

これらのツールはアクティビティログを提供し、気になる点の特定に役立つます。ログの解読や潜在的な問題の特定でお困りの場合は、サポートにお問い合わせください。

### HTTPアーカイブファイル

再現可能な問題を発見された場合は、[HTTPアーカイブ（HAR）ファイルを作成](/docs/ja-jp/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files)して、弊社サポートチームにサポート依頼と併せてそのファイルを送信することをお勧めします。

## もっと詳しく

* [プロフェッショナルサービス：実装](/docs/ja-jp/get-started/professional-services/implement)
* [ルールのテストに関するベストプラクティス](/docs/ja-jp/rules-best-practices/rules-testing-best-practices)
* [AD/LDAPコネクターのテスト環境をセットアップする](/docs/ja-jp/authenticate/identity-providers/enterprise-identity-providers/active-directory-ldap/ad-ldap-connector/ad-ldap-connector-test-environment)
* [HARファイルを生成して分析する](/docs/ja-jp/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files)
