You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/storage/azure-storage-blob/tests/perfstress_tests/README.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,20 @@ Note that tests for T1 and T2 SDKs cannot be run from the same environment, and
6
6
7
7
### Setup for test resources
8
8
9
-
These tests will run against a pre-configured Storage account. The following environment variable will need to be set for the tests to access the live resources:
9
+
These tests will run against a pre-configured Storage account. The following environment variable will need to be set for the tests to access the live resources using the connection string for authentication:
@@ -46,6 +55,7 @@ These options are available for all perf tests:
46
55
-`--no-cleanup` Whether to keep newly created resources after test run. Default is False (resources will be deleted).
47
56
-`-x --test-proxies` Whether to run the tests against the test proxy server. Specfiy the URL(s) for the proxy endpoint(s) (e.g. "https://localhost:5001"). WARNING: When using with Legacy tests - only HTTPS is supported.
48
57
-`--profile` Whether to run the perftest with cProfile. If enabled (default is False), the output file of the **last completed single iteration** will be written to the current working directory in the format `"cProfile-<TestClassName>-<TestID>-<sync/async>.pstats"`.
58
+
-`--use-entra-id` - Flag to pass in to use Microsoft Entra ID as the authentication. By default, set to False.
49
59
50
60
### Common Blob command line options
51
61
The options are available for all Blob perf tests:
parser.add_argument('--max-concurrency', nargs='?', type=int, help='Maximum number of concurrent threads used for data transfer. Defaults to 1', default=1)
52
74
parser.add_argument('-s', '--size', nargs='?', type=int, help='Size of data to transfer. Default is 10240.', default=10240)
53
75
parser.add_argument('--no-client-share', action='store_true', help='Create one ServiceClient per test instance. Default is to share a single ServiceClient.', default=False)
76
+
parser.add_argument(
77
+
"--use-entra-id", action="store_true", help="Use Microsoft Entra ID authentication instead of connection string."
0 commit comments